Browse Source

AC_AttControl: accessor for rate_bf_targets

mission-4.1.18
Leonard Hall 10 years ago committed by Randy Mackay
parent
commit
691fb8947e
  1. 3
      libraries/AC_AttitudeControl/AC_AttitudeControl.h

3
libraries/AC_AttitudeControl/AC_AttitudeControl.h

@ -137,6 +137,9 @@ public: @@ -137,6 +137,9 @@ public:
void rate_bf_pitch_target(float rate_cds) { _rate_bf_target.y = rate_cds; }
void rate_bf_yaw_target(float rate_cds) { _rate_bf_target.z = rate_cds; }
// rate_ef_targets - returns rate controller body-frame targets (for reporting)
const Vector3f& rate_bf_targets() const { return _rate_bf_target; }
// enable_bf_feedforward - enable or disable body-frame feed forward
void bf_feedforward(bool enable_or_disable) { _rate_bf_ff_enabled = enable_or_disable; }

Loading…
Cancel
Save