diff --git a/libraries/AC_AttitudeControl/AC_AttitudeControl.h b/libraries/AC_AttitudeControl/AC_AttitudeControl.h index eb33116dfc..9e357ff54c 100644 --- a/libraries/AC_AttitudeControl/AC_AttitudeControl.h +++ b/libraries/AC_AttitudeControl/AC_AttitudeControl.h @@ -210,6 +210,9 @@ public: // Return the body-to-NED target attitude used by the quadplane-specific attitude control input methods Quaternion get_attitude_target_quat() const { return _attitude_target; } + // Return the angular velocity of the target (setpoint) [rad/s] in the target attitude frame + const Vector3f& get_attitude_target_ang_vel() const { return _ang_vel_target;} + // Return the angle between the target thrust vector and the current thrust vector. float get_att_error_angle_deg() const { return degrees(_thrust_error_angle); }