mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-15 09:51:35 +08:00
fixed comment
This commit is contained in:
@@ -702,7 +702,7 @@ FixedwingPositionControl::control_position(const hrt_abstime &now, const Vector2
|
|||||||
if ((dist_curr_z > dist_z_threshold) || !pos_sp_next.valid) {
|
if ((dist_curr_z > dist_z_threshold) || !pos_sp_next.valid) {
|
||||||
// SETPOINT_TYPE_POSITION -> SETPOINT_TYPE_LOITER
|
// SETPOINT_TYPE_POSITION -> SETPOINT_TYPE_LOITER
|
||||||
// - achieve position setpoint altitude via loiter if close to
|
// - 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
|
// - loiter if there isn't another valid setpoint
|
||||||
position_sp_type = position_setpoint_s::SETPOINT_TYPE_LOITER;
|
position_sp_type = position_setpoint_s::SETPOINT_TYPE_LOITER;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user