Codes showing position when tag moved

Hello Guys
I read different topics regarding my case studies but not get actual codes to do trilateration and get position of the tag same as using DRTLS app in autopositioning mode. I use 4 anchors on the ground placed 100cm apart and tag n the drone and need to estimate position of the tag using raspberry pi from ground. Any help please