Page 2 of 2

Re: AntenaDelay

Posted: Wed Dec 09, 2020 8:53 am
by kristoffer
Adjusting the antenna delay is a pretty manual process. If your error is 30 cm, add it to the antenna offset and test again.

You can find it in the source code by searching for ANTENNA_OFFSET, it is both in the crazyflie-firmware and lps-node-firmware repositories. It is currently set to 154.6 m.

Re: AntenaDelay

Posted: Sat Dec 12, 2020 4:33 am
by john5648
Hi
thanks for the reply

I changed ANTENNNA_OFFSET to 155.5 and it worked
ranging error dropped to 10cm below

For people who wants to change ANTENNA_OFFSET,
increase ANTENNA_OFFSET to decrease ranging distance, and
decrease ANTENNA_OFFSET to increase ranging distance