From 49f998f02aa7dfc69828d776cbd600bea6a2b054 Mon Sep 17 00:00:00 2001 From: RomanBapst Date: Wed, 10 Mar 2021 11:42:52 +0300 Subject: [PATCH] fixed comment --- src/modules/fw_pos_control_l1/FixedwingPositionControl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/fw_pos_control_l1/FixedwingPositionControl.cpp b/src/modules/fw_pos_control_l1/FixedwingPositionControl.cpp index 31b680aaf0..3a6be18573 100644 --- a/src/modules/fw_pos_control_l1/FixedwingPositionControl.cpp +++ b/src/modules/fw_pos_control_l1/FixedwingPositionControl.cpp @@ -702,7 +702,7 @@ FixedwingPositionControl::control_position(const hrt_abstime &now, const Vector2 if ((dist_curr_z > dist_z_threshold) || !pos_sp_next.valid) { // SETPOINT_TYPE_POSITION -> SETPOINT_TYPE_LOITER // - achieve position setpoint altitude via loiter if close to - // waypoint, but altitude error greater than twice climbout difference + // waypoint, but altitude error greater than twice altitude acceptance radius // - loiter if there isn't another valid setpoint position_sp_type = position_setpoint_s::SETPOINT_TYPE_LOITER; }