mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_AHRS: expose active EKF type for logging
This commit is contained in:
parent
7cc71dc573
commit
9dbd2d3eba
@ -604,6 +604,9 @@ public:
|
||||
return _rsem;
|
||||
}
|
||||
|
||||
// active EKF type for logging
|
||||
virtual uint8_t get_active_EKF_type(void) const { return 0; }
|
||||
|
||||
// for holding parameters
|
||||
static const struct AP_Param::GroupInfo var_info[];
|
||||
|
||||
|
@ -317,6 +317,11 @@ public:
|
||||
// set and save the ALT_M_NSE parameter value
|
||||
void set_alt_measurement_noise(float noise) override;
|
||||
|
||||
// active EKF type for logging
|
||||
uint8_t get_active_EKF_type(void) const override {
|
||||
return uint8_t(active_EKF_type());
|
||||
}
|
||||
|
||||
// these are only out here so vehicles can reference them for parameters
|
||||
#if HAL_NAVEKF2_AVAILABLE
|
||||
NavEKF2 EKF2;
|
||||
|
Loading…
Reference in New Issue
Block a user