multiplatform port of #1741: att control: remove yaw sp reset after acro

This commit is contained in:
Thomas Gubler 2015-02-22 12:50:26 +01:00
parent 7b57092a9d
commit f1c6b24f7a
1 changed files with 0 additions and 3 deletions

View File

@ -212,9 +212,6 @@ void MulticopterAttitudeControl::handle_vehicle_attitude(const px4_vehicle_atti
_manual_control_sp->data().r).emult(_params.acro_rate_max); _manual_control_sp->data().r).emult(_params.acro_rate_max);
_thrust_sp = _manual_control_sp->data().z; _thrust_sp = _manual_control_sp->data().z;
/* reset yaw setpoint after ACRO */
_reset_yaw_sp = true;
/* publish attitude rates setpoint */ /* publish attitude rates setpoint */
_v_rates_sp_mod.data().roll = _rates_sp(0); _v_rates_sp_mod.data().roll = _rates_sp(0);
_v_rates_sp_mod.data().pitch = _rates_sp(1); _v_rates_sp_mod.data().pitch = _rates_sp(1);