forked from Archive/PX4-Autopilot
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:
parent
0a40034159
commit
998579befc
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue