diff --git a/EKF/estimator_interface.h b/EKF/estimator_interface.h index 82df669166..e7e26c103c 100644 --- a/EKF/estimator_interface.h +++ b/EKF/estimator_interface.h @@ -286,6 +286,8 @@ public: } } + const matrix::Quatf &get_quaternion() const { return _output_new.quat_nominal; } + // return the quaternion defining the rotation from the EKF to the External Vision reference frame virtual void get_ekf2ev_quaternion(float *quat) = 0;