Question

I am currently working on a program that utilizes RSSI to determine location based on signal strength. Does anybody know where a working java example is of trilateration? I couldn't find any online.

The program will basically need to take in 3 distances, which are the distances derived from the RSSI's and then the latitude and longitude of the three points and then determine the user's location using 2 dimensional trilateration (I'm ignoring the height of each beacon for now).

I saw a Python one on here, but I don't know Python well enough to understand it.

Was it helpful?

Solution

For future reference for anybody with the same problem.

I just used the link Girish provided. http://code.google.com/p/talking-points-3/source/browse/trunk/WifiPosition/src/TalkingPoint/thejoo/Trilateration.java?r=109

but be aware you have to account for when coordinates are coplanar as this isn't accounted for in the code.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top