mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
fixed comment
This commit is contained in:
parent
cb668bb2bd
commit
49f998f02a
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user