Browse Source

Copter: guided mode vel controller integrates althold lean limit

Note it does not yet actually limit the lean angles based on throttle
master
Randy Mackay 10 years ago
parent
commit
0eaf815411
  1. 2
      ArduCopter/control_guided.cpp

2
ArduCopter/control_guided.cpp

@ -363,7 +363,7 @@ void Copter::guided_posvel_control_run() @@ -363,7 +363,7 @@ void Copter::guided_posvel_control_run()
pos_control.set_desired_velocity_xy(posvel_vel_target_cms.x, posvel_vel_target_cms.y);
// run position controller
pos_control.update_xy_controller(AC_PosControl::XY_MODE_POS_AND_VEL_FF, ekfNavVelGainScaler);
pos_control.update_xy_controller(AC_PosControl::XY_MODE_POS_AND_VEL_FF, ekfNavVelGainScaler, false);
}
pos_control.update_z_controller();

Loading…
Cancel
Save