mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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
|
// ensure imax is always large enough to overpower hover throttle
|
||||||
if (_motors.get_throttle_hover() * 1000.0f > _pid_accel_z.imax()) {
|
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;
|
float thr_out;
|
||||||
if (_vibe_comp_enabled) {
|
if (_vibe_comp_enabled) {
|
||||||
|
Loading…
Reference in New Issue
Block a user