mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-28 09:26:36 +08:00
drivers: Correct IMU coning correction implementation
Previous did not match the matlab simulation in: https://github.com/priseborough/InertialNav/blob/master/models/imu_error_modelling.m
This commit is contained in:
committed by
Lorenz Meier
parent
9d489b9b0f
commit
2b370417e8
@@ -102,10 +102,12 @@ private:
|
||||
and the integrator reset, 0 if no auto-reset */
|
||||
uint64_t _last_integration_time; /**< timestamp of the last integration step */
|
||||
uint64_t _last_reset_time; /**< last auto-announcement of integral value */
|
||||
math::Vector<3> _integral; /**< the integrated value */
|
||||
math::Vector<3> _last_val; /**< previously integrated last value */
|
||||
math::Vector<3> _last_delta; /**< last local delta */
|
||||
bool _coning_comp_on; /**< coning compensation */
|
||||
math::Vector<3> _alpha; /**< integrated value before coning corrections are applied */
|
||||
math::Vector<3> _last_alpha; /**< previous value of _alpha */
|
||||
math::Vector<3> _beta; /**< accumulated coning corrections */
|
||||
math::Vector<3> _last_val; /**< previous input */
|
||||
math::Vector<3> _last_delta_alpha; /**< integral from previous previous sampling interval */
|
||||
bool _coning_comp_on; /**< true to turn on coning corrections */
|
||||
|
||||
/* we don't want this class to be copied */
|
||||
Integrator(const Integrator &);
|
||||
|
||||
Reference in New Issue
Block a user