mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
ekf2: remove unused function (#7529)
* ekf2: remove unused function Signed-off-by: CarlOlsson <carlolsson.co@gmail.com> * ekf2: removed unused variable _mag_decl_saved Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
This commit is contained in:
committed by
Paul Riseborough
parent
c59d7baad8
commit
d92377a6e6
@@ -148,7 +148,6 @@ private:
|
||||
0; // time stamp in msec of the last averaged barometric altitude measurement used by the EKF
|
||||
|
||||
float _acc_hor_filt = 0.0f; // low-pass filtered horizontal acceleration
|
||||
bool _mag_decl_saved = false; // true when the declination for the current position has been saved
|
||||
|
||||
// Used to check, save and use learned magnetometer biases
|
||||
hrt_abstime _last_magcal_us = 0; // last time the EKF was operating a mode that estimates magnetomer biases (usec)
|
||||
@@ -315,8 +314,6 @@ private:
|
||||
_mag_bias_saved_variance; // Assumed error variance of previously saved magnetometer bias estimates (mGauss**2)
|
||||
control::BlockParamFloat _mag_bias_alpha; // maximum fraction of the learned bias that is applied each disarm
|
||||
|
||||
int update_subscriptions();
|
||||
|
||||
};
|
||||
|
||||
Ekf2::Ekf2():
|
||||
|
||||
Reference in New Issue
Block a user