mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
AC_WPNav: Separate landing and terrain following.
This commit is contained in:
parent
baf58607fa
commit
ee26d72682
@ -220,7 +220,7 @@ bool AC_Circle::update(float climb_rate_cms)
|
||||
float target_zf = target.z;
|
||||
_pos_control.input_pos_vel_accel_z(target_zf, zero2, 0);
|
||||
} else {
|
||||
_pos_control.set_pos_target_z_from_climb_rate_cm(climb_rate_cms, false);
|
||||
_pos_control.set_pos_target_z_from_climb_rate_cm(climb_rate_cms);
|
||||
}
|
||||
|
||||
// update position controller
|
||||
|
Loading…
Reference in New Issue
Block a user