mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 03:11:35 +08:00
ekf: calculate the delta time between consecutive baro measurments
(used for calculating filtered baro offset when primary height source is not baro) Signed-off-by: Roman <bapstroman@gmail.com>
This commit is contained in:
@@ -261,6 +261,7 @@ private:
|
||||
float _imu_collection_time_adj{0.0f}; // the amount of time the IMU collection needs to be advanced to meet the target set by FILTER_UPDATE_PERIOD_MS (sec)
|
||||
|
||||
uint64_t _time_acc_bias_check{0}; // last time the accel bias check passed (usec)
|
||||
uint64_t _delta_time_baro_us{0}; // delta time between two consecutive delayed baro samples from the buffer (usec)
|
||||
|
||||
Vector3f _earth_rate_NED; // earth rotation vector (NED) in rad/s
|
||||
|
||||
|
||||
Reference in New Issue
Block a user