AC_WPNav: Separate landing and terrain following.

This commit is contained in:
Leonard Hall 2021-08-31 13:48:40 +09:30 committed by Andrew Tridgell
parent 2441f88072
commit b16ce057c1
1 changed files with 1 additions and 1 deletions

View File

@ -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