mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
EKF: Don't assume large position uncertainty when starting optical flow nav
This commit is contained in:
parent
e26711af7d
commit
bdf5b3e003
@ -168,7 +168,9 @@ bool Ekf::resetPosition()
|
||||
|
||||
}
|
||||
|
||||
setDiag(P, 7, 8, sq(_params.pos_noaid_noise));
|
||||
// estimate is relative to initial positon in this mode, so we start with zero error.
|
||||
zeroCols(P,7,8);
|
||||
zeroRows(P,7,8);
|
||||
|
||||
} else {
|
||||
// Used when falling back to non-aiding mode of operation
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user