ekf2: Correct airspeed used by EKF for calibration errors

This commit is contained in:
Paul Riseborough
2021-01-05 19:22:53 -05:00
committed by GitHub
parent b94e346488
commit 64ed96bd95
2 changed files with 30 additions and 17 deletions
+2
View File
@@ -207,6 +207,8 @@ private:
Vector3f _last_gyro_bias{};
Vector3f _last_mag_bias{};
float _airspeed_scale_factor{1.0f}; ///< scale factor correction applied to airspeed measurements
uORB::Subscription _airdata_sub{ORB_ID(vehicle_air_data)};
uORB::Subscription _airspeed_sub{ORB_ID(airspeed)};
uORB::Subscription _distance_sensor_sub{ORB_ID(distance_sensor)};