Adding Anchor distance in TDoA Calculation

All discussions related to the Loco Positioning system
Post Reply
Posts: 22
Joined: Thu Jun 28, 2018 12:00 am

Adding Anchor distance in TDoA Calculation

Post by snyderthorst » Sat Jun 06, 2020 6:13 pm


I was looking through the TDoA calculation and referencing the paper you cite in the code and am wondering why the time of flight between the reference anchor and the anchor that was previously received from is added into the Equation 16 from the paper?

The relevant code is line 127 in tdoaEngine.c: ... ine.c#L127

The paper is found here: ... 202015.pdf



Posts: 273
Joined: Tue Jun 30, 2015 7:47 am

Re: Adding Anchor distance in TDoA Calculation

Post by kristoffer » Wed Jun 10, 2020 9:09 am


The TDoA implementation in the firmware is not directly based on the paper by Mike Hamer. If I remember correctly, we wrote our own implementation some time after Mike did his work.
You can read more about the implementation in the documentation ... rinciples/

Post Reply