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:
tumbili 2016-06-27 15:03:07 +02:00
parent 0a40034159
commit 998579befc
1 changed files with 1 additions and 0 deletions

View File

@ -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 */