mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_NavEKF2: Adjust output observer tuning
Use more accurate method by default. Reduce overshoot on quaternion tracking
This commit is contained in:
parent
5c59922574
commit
e117bedf6a
@ -458,7 +458,7 @@ const AP_Param::GroupInfo NavEKF2::var_info[] = {
|
||||
// @Range: -1 100
|
||||
// @Increment: 10
|
||||
// @User: Advanced
|
||||
AP_GROUPINFO("TAU_OUTPUT", 39, NavEKF2, _tauVelPosOutput, -1),
|
||||
AP_GROUPINFO("TAU_OUTPUT", 39, NavEKF2, _tauVelPosOutput, 50),
|
||||
|
||||
// @Param: MAGE_P_NSE
|
||||
// @DisplayName: Earth magnetic field process noise (gauss/s)
|
||||
|
@ -628,7 +628,7 @@ void NavEKF2_core::calcOutputStates()
|
||||
// adjust for changes in time delay to maintain consistent damping ratio of ~0.7
|
||||
float timeDelay = 1e-3f * (float)(imuDataNew.time_ms - imuDataDelayed.time_ms);
|
||||
timeDelay = fmaxf(timeDelay, dtIMUavg);
|
||||
float errorGain = 0.5f / timeDelay;
|
||||
float errorGain = 0.45f / timeDelay;
|
||||
|
||||
// calculate a corrrection to the delta angle
|
||||
// that will cause the INS to track the EKF quaternions
|
||||
|
Loading…
Reference in New Issue
Block a user