mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-05 09:51:37 +08:00
ekf2: directly use IMU sample to find corresponding aid source sample
- I think this helps make it clear we're using a sensor sample corresponding with a particular IMU sample
This commit is contained in:
@@ -841,7 +841,7 @@ private:
|
||||
|
||||
#if defined(CONFIG_EKF2_RANGE_FINDER)
|
||||
// range height
|
||||
void controlRangeHaglFusion();
|
||||
void controlRangeHaglFusion(const imuSample &imu_delayed);
|
||||
bool isConditionalRangeAidSuitable();
|
||||
void stopRngHgtFusion();
|
||||
void stopRngTerrFusion();
|
||||
@@ -1019,7 +1019,7 @@ private:
|
||||
|
||||
#if defined(CONFIG_EKF2_MAGNETOMETER)
|
||||
// control fusion of magnetometer observations
|
||||
void controlMagFusion();
|
||||
void controlMagFusion(const imuSample &imu_sample);
|
||||
|
||||
bool checkHaglYawResetReq() const;
|
||||
|
||||
@@ -1052,7 +1052,7 @@ private:
|
||||
|
||||
#if defined(CONFIG_EKF2_AUXVEL)
|
||||
// control fusion of auxiliary velocity observations
|
||||
void controlAuxVelFusion();
|
||||
void controlAuxVelFusion(const imuSample &imu_sample);
|
||||
void stopAuxVelFusion();
|
||||
#endif // CONFIG_EKF2_AUXVEL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user