neXenio / BLE-Indoor-Positioning

Multilateration using bluetooth beacons
Apache License 2.0
430 stars 129 forks source link

Is multilateration using time of arrival? #177

Open jasirjasir opened 3 years ago

jasirjasir commented 3 years ago

As per my understanding, you are using multilateration for localization. I am able to localize my mobile phone with multilateration up to an extend. Are you using any Time of arrival (TOA) technique inside multilateration? LeastSquaresOptimizer.Optimum optimum = Multilateration.findOptimum(pos-arr, dis-arr); double[] result_pos = optimum.getPoint().toArray(); I am sending x,y coordinate in pos-arr and corresponding distance in dis-arr . is this method correct for performing multilateration?

Steppschuh commented 3 years ago

Are you using any Time of arrival (TOA) technique inside multilateration?

I think I don't get the question. The input for our multilateration are positions and distances, as you pointed out. I don't see how TOA is related to that. I guess you could use TOA to calculate these distances (e.g. from cell towers or satellites), but that's not applicable to Bluetooth signals.

Is this method correct for performing multilateration?

Keep in mind that the positions are expected to be in a special format (ECEF - Earth-Centered-Earth-Fixed). You can use SphericalMercatorProjection.locationToEcef(location) to get these values.