Skip to content

Commit

Permalink
AC_WPNav: Separate landing and terrain following.
Browse files Browse the repository at this point in the history
  • Loading branch information
lthall authored and rmackay9 committed Sep 6, 2021
1 parent 30cda04 commit 9400210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AC_WPNav/AC_Circle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9400210

Please sign in to comment.