Plane: Replace update_vel_controller_xy() with update_xy_controller()

This commit is contained in:
Rishabh 2020-03-30 19:04:06 +05:30 committed by Andrew Tridgell
parent 6a98ab569e
commit 0c5d68dfeb
1 changed files with 1 additions and 1 deletions

View File

@ -2250,7 +2250,7 @@ void QuadPlane::vtol_position_controller(void)
pos_control->set_desired_accel_xy(0.0f,0.0f);
// run horizontal velocity controller
pos_control->update_vel_controller_xy();
pos_control->update_xy_controller();
// nav roll and pitch are controller by position controller
plane.nav_roll_cd = pos_control->get_roll();