mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 03:23:35 +08:00
mc_pos_control: change yaw setpoint to yaw (#6854)
This commit is contained in:
@@ -1003,7 +1003,7 @@ MulticopterPositionControl::control_manual(float dt)
|
||||
R_input_fame.from_euler(0.0f, 0.0f, _yaw_takeoff);
|
||||
|
||||
} else {
|
||||
R_input_fame.from_euler(0.0f, 0.0f, _att_sp.yaw_body);
|
||||
R_input_fame.from_euler(0.0f, 0.0f, _local_pos.yaw);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user