diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2015-02-22 12:50:26 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2015-02-24 20:33:32 +0100 |
commit | f1c6b24f7a80f88baf272bc0b947f7e9649bee27 (patch) | |
tree | ad9238f036dd190d83ad5c98aa54583bc1701f7a | |
parent | 7b57092a9dce92aca4187f2564a8534f6a95d590 (diff) | |
download | px4-firmware-f1c6b24f7a80f88baf272bc0b947f7e9649bee27.tar.gz px4-firmware-f1c6b24f7a80f88baf272bc0b947f7e9649bee27.tar.bz2 px4-firmware-f1c6b24f7a80f88baf272bc0b947f7e9649bee27.zip |
multiplatform port of #1741: att control: remove yaw sp reset after acro
-rw-r--r-- | src/modules/mc_att_control_multiplatform/mc_att_control.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/mc_att_control_multiplatform/mc_att_control.cpp b/src/modules/mc_att_control_multiplatform/mc_att_control.cpp index 9af4b3263..9ec6f1864 100644 --- a/src/modules/mc_att_control_multiplatform/mc_att_control.cpp +++ b/src/modules/mc_att_control_multiplatform/mc_att_control.cpp @@ -212,9 +212,6 @@ void MulticopterAttitudeControl::handle_vehicle_attitude(const px4_vehicle_atti _manual_control_sp->data().r).emult(_params.acro_rate_max); _thrust_sp = _manual_control_sp->data().z; - /* reset yaw setpoint after ACRO */ - _reset_yaw_sp = true; - /* publish attitude rates setpoint */ _v_rates_sp_mod.data().roll = _rates_sp(0); _v_rates_sp_mod.data().pitch = _rates_sp(1); |