Calculate distance

Frequent questions asked online, offline, in forums are answered here
Post Reply
CWSFA
Posts: 7
Joined: Wed Oct 09, 2019 6:27 pm

Calculate distance

Post by CWSFA »

Hello

I want to calculate the total cumulative distance over a period of time using the beacon's current coordinates.

I would like to know if there is a way to apply filtering for position error, and is there a cumulative distance calculation method recommended by Marvelmind?

smoker77
Posts: 322
Joined: Sat Feb 06, 2016 4:03 pm

Re: Calculate distance

Post by smoker77 »

Hello,

There are different settings for filtering errors in IA and NIA, see attached screenshots.
For cumulative distance you can use simple sum of distances between subsequent points.
For more smoothed result you can use least squares method:
https://en.wikipedia.org/wiki/Least_squares
Marvelmind dashboard and mobile beacons in IA use similar smoothing algorithm in 'Realtime player' function.
Attachments
pos_filters_ia.PNG
pos_filters_nia.PNG
pos_filters_nia.PNG (12.26 KiB) Viewed 4542 times

Post Reply