mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
AP_NavEKF: Use compensation for baro delay in position hold mode
This commit is contained in:
parent
4dc1ee2d66
commit
5bd4ee9715
@ -1850,7 +1850,6 @@ void NavEKF::FuseVelPosNED()
|
||||
// because there may be no stored states due to lack of real measurements.
|
||||
if (posHoldMode) {
|
||||
statesAtPosTime = state;
|
||||
statesAtHgtTime = state;
|
||||
} else if (velHoldMode) {
|
||||
statesAtVelTime = state;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user