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.
AntenaDelay
Re: AntenaDelay
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
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