Trilateration example in java

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.


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.

链接地址: http://www.djcxy.com/p/84914.html

上一篇: 用WI确定距离的最佳方法

下一篇: Java中的三角化示例