mirror of https://github.com/ArduPilot/ardupilot
AP_AHRS: move AOA state to private in frontend
AP_AHRS: make update_AOA_SSA non-virtual
This commit is contained in:
parent
7e8f812909
commit
383807e334
|
@ -331,9 +331,6 @@ public:
|
|||
// write AOA and SSA information to dataflash logs:
|
||||
void Write_AOA_SSA(void) const;
|
||||
|
||||
// update AOA and SSA values
|
||||
virtual void update_AOA_SSA(void);
|
||||
|
||||
// return AOA
|
||||
float getAOA(void) const { return _AOA; }
|
||||
|
||||
|
@ -408,6 +405,13 @@ private:
|
|||
|
||||
TriState terrainHgtStableState = TriState::UNKNOWN;
|
||||
|
||||
/*
|
||||
* private AOA and SSA-related state and methods
|
||||
*/
|
||||
float _AOA, _SSA;
|
||||
uint32_t _last_AOA_update_ms;
|
||||
void update_AOA_SSA(void);
|
||||
|
||||
EKFType last_active_ekf_type;
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
|
|
|
@ -645,10 +645,6 @@ protected:
|
|||
// which accelerometer instance is active
|
||||
uint8_t _active_accel_instance;
|
||||
|
||||
// AOA and SSA
|
||||
float _AOA, _SSA;
|
||||
uint32_t _last_AOA_update_ms;
|
||||
|
||||
private:
|
||||
|
||||
uint32_t takeoff_expected_start_ms;
|
||||
|
|
Loading…
Reference in New Issue