mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 04:53:34 +08:00
multiplatform port of #1741: att control: remove yaw sp reset after acro
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user