ekf2: delete unused Ekf::resetImuBias()

This commit is contained in:
Daniel Agar
2024-05-02 17:40:58 -04:00
parent 6b3b66619b
commit 1ca4056b6a
2 changed files with 0 additions and 9 deletions
-3
View File
@@ -268,9 +268,6 @@ public:
// get the vehicle control limits required by the estimator to keep within sensor limitations
void get_ekf_ctrl_limits(float *vxy_max, float *vz_max, float *hagl_min, float *hagl_max) const;
// Reset all IMU bias states and covariances to initial alignment values.
void resetImuBias();
void resetGyroBias();
void resetGyroBiasCov();
-6
View File
@@ -294,12 +294,6 @@ void Ekf::get_ekf_ctrl_limits(float *vxy_max, float *vz_max, float *hagl_min, fl
#endif // CONFIG_EKF2_RANGE_FINDER
}
void Ekf::resetImuBias()
{
resetGyroBias();
resetAccelBias();
}
void Ekf::resetGyroBias()
{
// Zero the gyro bias states