mirror of https://github.com/ArduPilot/ardupilot
AC_AttitudeControl: rename pid setters to include set_ in the names
This commit is contained in:
parent
85bb4ad88f
commit
fae3b39b15
|
@ -995,7 +995,7 @@ void AC_PosControl::update_z_controller()
|
|||
|
||||
// ensure imax is always large enough to overpower hover throttle
|
||||
if (_motors.get_throttle_hover() * 1000.0f > _pid_accel_z.imax()) {
|
||||
_pid_accel_z.imax(_motors.get_throttle_hover() * 1000.0f);
|
||||
_pid_accel_z.set_imax(_motors.get_throttle_hover() * 1000.0f);
|
||||
}
|
||||
float thr_out;
|
||||
if (_vibe_comp_enabled) {
|
||||
|
|
Loading…
Reference in New Issue