mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 08:27:34 +08:00
mc_pos_control: manual input temporary yaw fix
This commit is contained in:
committed by
Matthias Grob
parent
cb87f1ea85
commit
419c474d53
@@ -1015,7 +1015,7 @@ MulticopterPositionControl::control_manual(float dt)
|
||||
}
|
||||
|
||||
/* prepare yaw to rotate into NED frame */
|
||||
float yaw_input_fame = _control_mode.flag_control_fixed_hdg_enabled ? _yaw_takeoff : _local_pos.yaw;
|
||||
float yaw_input_fame = _control_mode.flag_control_fixed_hdg_enabled ? _yaw_takeoff : _att_sp.yaw_body;
|
||||
|
||||
/* prepare cruise speed (m/s) vector to scale the velocity setpoint */
|
||||
matrix::Vector3f vel_cruise_scale(_params.vel_cruise_xy,
|
||||
|
||||
Reference in New Issue
Block a user