mirror of https://github.com/ArduPilot/ardupilot
Sub: stop position control when in velocity mode
This commit is contained in:
parent
9c52930d87
commit
830c1a4a3e
|
@ -358,6 +358,7 @@ void Sub::guided_vel_control_run()
|
|||
pos_control.set_vel_desired_cms(Vector3f(0,0,0));
|
||||
}
|
||||
|
||||
pos_control.stop_pos_xy_stabilisation();
|
||||
// call velocity controller which includes z axis controller
|
||||
pos_control.update_xy_controller();
|
||||
pos_control.update_z_controller();
|
||||
|
|
Loading…
Reference in New Issue