mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 01:53:33 +08:00
EKF: Reduce EKF-GSF vulnerability to large yaw gyro bias errors (#831)
* EKF: Reduce EKF-GSF vulnerability to large yaw gyro bias errors * Update EKF/ekf_helper.cpp * EKF: Fix comment typo Co-authored-by: Roman Bapst <bapstroman@gmail.com> Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com> Co-authored-by: Roman Bapst <bapstroman@gmail.com>
This commit is contained in:
co-authored by
Roman Bapst
Mathieu Bresciani
parent
d0ddda8917
commit
59183f70ba
+2
-1
@@ -1858,7 +1858,8 @@ void Ekf::runYawEKFGSF()
|
||||
TAS = _airspeed_sample_delayed.true_airspeed;
|
||||
}
|
||||
|
||||
yawEstimator.update(_imu_sample_delayed, _control_status.flags.in_air, TAS);
|
||||
const Vector3f imu_gyro_bias = getGyroBias();
|
||||
yawEstimator.update(_imu_sample_delayed, _control_status.flags.in_air, TAS, imu_gyro_bias);
|
||||
|
||||
// basic sanity check on GPS velocity data
|
||||
if (_gps_data_ready && _gps_sample_delayed.vacc > FLT_EPSILON && ISFINITE(_gps_sample_delayed.vel(0)) && ISFINITE(_gps_sample_delayed.vel(1))) {
|
||||
|
||||
Reference in New Issue
Block a user