mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-19 23:28:32 -04:00
188bea6bab
This patch also cleans up the logic associated with use of the synthetic sideslip measurement so that it can never be used for a non fly-forward vehicle type This patch adds functionality that initialises the wind-speed vector to the reciprocal of the ground speed vector, and scaled to 6 m/s. On average this gives a better initial wind velocity estimate on launch by assuming: a) launch will be into wind b) wind speed is equal to global average It also helps prevent a headwind causing initial underestimation of airspeed causing high autopilot gains and limit cycles on climb-out, until first turn when the EKF is able to estimate the wind. |
||
---|---|---|
.. | ||
AP_NavEKF.cpp | ||
AP_NavEKF.h |