I struggled with this for a while, I am currently using Estimote Beacon on Android, and I collect their RSSI and TxPower to calculate their range . As soon as I get this data, and I know their position (latitude, longitude, height), I need to calculate my rough position for the purpose of indoor placement.
The entire solution provided is only for three separate points or does not work. There must be an existing Java solution somewhere, as this is a common problem.
Now I know that this was asked earlier, but the answer did not help me in my case. Here is a summary of some of them:
- A solution using only three points:
Android Java Trilateration Method
Java Multipoint Trilateration Algorithm
Android Java Trilateration Method
- The solution I tried but got the wrong result
Trilateration Java Algorithm
Another question. If I may ask: what unit should I use for distance when I calculate this? I, although it would be the same result regardless of the unit of distance I used, but it turned out that the result strongly depends on whether the meter or kilometer is connected ...
source share