forked from Archive/PX4-Autopilot
multiplatform port of #1741: att control: remove yaw sp reset after acro
This commit is contained in:
parent
7b57092a9d
commit
f1c6b24f7a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue