Wrong tof in TDOA2
Posted: Mon Feb 05, 2018 12:07 pm
Hi everyone,
I was trying to calculate the distance between Anchors in TDOA2. And I printed the "tof_Ar_to_An_in_cl_An" in UART so I got the value of tof as follows:(distance = Tof * C / tsfreq)
Tof (ctn): 33077 distance:155.189477
Tof (ctn): 33077 distance:155.189477
Tof (ctn): 33073 distance:155.170710
Tof (ctn): 33074 distance:155.175402
Tof (ctn): 33068 distance:155.147251
...(The true distance is 88cm)
The distances didn't make sense.But the right TDOA value(DistanceDiff) can be calculated using tof as above.I am wondering how it works and how can I get the right distance in Anchors.
Thanks!
I was trying to calculate the distance between Anchors in TDOA2. And I printed the "tof_Ar_to_An_in_cl_An" in UART so I got the value of tof as follows:(distance = Tof * C / tsfreq)
Tof (ctn): 33077 distance:155.189477
Tof (ctn): 33077 distance:155.189477
Tof (ctn): 33073 distance:155.170710
Tof (ctn): 33074 distance:155.175402
Tof (ctn): 33068 distance:155.147251
...(The true distance is 88cm)
The distances didn't make sense.But the right TDOA value(DistanceDiff) can be calculated using tof as above.I am wondering how it works and how can I get the right distance in Anchors.
Thanks!