mirror of https://github.com/ArduPilot/ardupilot
Copter: update usage of update_xy_controller
This commit is contained in:
parent
3faca88423
commit
e71ad72fc0
|
@ -313,7 +313,7 @@ static void guided_posvel_control_run()
|
||||||
pos_control.set_desired_velocity_xy(posvel_vel_target_cms.x, posvel_vel_target_cms.y);
|
pos_control.set_desired_velocity_xy(posvel_vel_target_cms.x, posvel_vel_target_cms.y);
|
||||||
|
|
||||||
// run position controller
|
// run position controller
|
||||||
pos_control.update_xy_controller(true, ekfNavVelGainScaler);
|
pos_control.update_xy_controller(AC_PosControl::XY_MODE_POS_AND_VEL, ekfNavVelGainScaler);
|
||||||
pos_control.update_z_controller();
|
pos_control.update_z_controller();
|
||||||
|
|
||||||
// call attitude controller
|
// call attitude controller
|
||||||
|
|
Loading…
Reference in New Issue