diff --git a/EKF/estimator_interface.h b/EKF/estimator_interface.h index 6579c8eeeb..11119e39a2 100644 --- a/EKF/estimator_interface.h +++ b/EKF/estimator_interface.h @@ -211,6 +211,12 @@ public: virtual void get_accel_bias(float *bias) = 0; + // get EKF mode status + void get_control_mode(uint16_t *val) + { + *val = _control_status.value; + } + protected: parameters _params; // filter parameters