mirror of https://github.com/ArduPilot/ardupilot
AP_NavEKF3: allow high values of EK3_ALT_M_NSE for boards without baros
This commit is contained in:
parent
7f18fe6cf6
commit
60b5093979
|
@ -1263,7 +1263,7 @@ void NavEKF3_core::selectHeightForFusion()
|
|||
// enable fusion
|
||||
fuseHgtData = true;
|
||||
// set the observation noise
|
||||
posDownObsNoise = sq(constrain_ftype(frontend->_baroAltNoise, 0.1f, 10.0f));
|
||||
posDownObsNoise = sq(constrain_ftype(frontend->_baroAltNoise, 0.1f, 100.0f));
|
||||
// reduce weighting (increase observation noise) on baro if we are likely to be experiencing rotor wash ground interaction
|
||||
if (dal.get_takeoff_expected() || dal.get_touchdown_expected()) {
|
||||
posDownObsNoise *= frontend->gndEffectBaroScaler;
|
||||
|
|
Loading…
Reference in New Issue