Trying to improve altitude hold mode using baro
Trying to improve altitude hold mode using baro
For an internship im currently looking to improve the altitude hold assist mode, but I am struggling to find the scripts responsible for this mode's functionality. Can anyone point me in the right direction?
Re: Trying to improve altitude hold mode using baro
Hi and welcome!
The code running the altitude estimation is in the position_estimator_altitude.c. That is if the complementary filter is running. If the Kalman filter is running it can be enabled by building the code with KALMAN_USE_BARO_UPDATE defined.
The code running the altitude estimation is in the position_estimator_altitude.c. That is if the complementary filter is running. If the Kalman filter is running it can be enabled by building the code with KALMAN_USE_BARO_UPDATE defined.