mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 03:11:35 +08:00
ekf2: fix sensor_combined last_generation
This commit is contained in:
@@ -353,7 +353,7 @@ void EKF2::Run()
|
||||
}
|
||||
|
||||
} else {
|
||||
const unsigned last_generation = _vehicle_imu_sub.get_last_generation();
|
||||
const unsigned last_generation = _sensor_combined_sub.get_last_generation();
|
||||
sensor_combined_s sensor_combined;
|
||||
imu_updated = _sensor_combined_sub.update(&sensor_combined);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user