mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 09:13:32 +08:00
mc pos control: zero yaw setpoint move rate in attitude setpoint topic
- fixed bug where a non-zero yaw setpoint move rate could make the drone yaw around in non-manual modes Signed-off-by: tumbili <roman@px4.io>
This commit is contained in:
@@ -2056,6 +2056,7 @@ MulticopterPositionControl::task_main()
|
||||
|
||||
} else {
|
||||
reset_yaw_sp = true;
|
||||
_att_sp.yaw_sp_move_rate = 0.0f;
|
||||
}
|
||||
|
||||
/* update previous velocity for velocity controller D part */
|
||||
|
||||
Reference in New Issue
Block a user