AntenaDelay

Discussions about all things Bitcraze
kristoffer
Bitcraze
Posts: 369
Joined: Tue Jun 30, 2015 7:47 am

Re: AntenaDelay

Post 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.
john5648
Beginner
Posts: 7
Joined: Sat Nov 28, 2020 7:03 am

Re: AntenaDelay

Post 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
Post Reply