mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 17:03:35 +08:00
fw_path_navigation: Remove explicit L1 mentioning.
This commit is contained in:
@@ -255,7 +255,7 @@ MissionBlock::is_mission_item_reached_or_completed()
|
||||
* coordinates with a radius equal to the loiter_radius field. It is not flying
|
||||
* through the waypoint center.
|
||||
* Therefore the item is marked as reached once the system reaches the loiter
|
||||
* radius + L1 distance. Time inside and turn count is handled elsewhere.
|
||||
* radius + navigation switch distance. Time inside and turn count is handled elsewhere.
|
||||
*/
|
||||
|
||||
// check if within loiter radius around wp, if yes then set altitude sp to mission item
|
||||
|
||||
@@ -1177,7 +1177,7 @@ float Navigator::get_acceptance_radius()
|
||||
float acceptance_radius = get_default_acceptance_radius(); // the value specified in the parameter NAV_ACC_RAD
|
||||
const position_controller_status_s &pos_ctrl_status = _position_controller_status_sub.get();
|
||||
|
||||
// for fixed-wing and rover, return the max of NAV_ACC_RAD and the controller acceptance radius (e.g. L1 distance)
|
||||
// for fixed-wing and rover, return the max of NAV_ACC_RAD and the controller acceptance radius (e.g. navigation switch distance)
|
||||
if (_vstatus.vehicle_type != vehicle_status_s::VEHICLE_TYPE_ROTARY_WING
|
||||
&& PX4_ISFINITE(pos_ctrl_status.acceptance_radius) && pos_ctrl_status.timestamp != 0) {
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ PARAM_DEFINE_FLOAT(NAV_LOITER_RAD, 80.0f);
|
||||
* Acceptance Radius
|
||||
*
|
||||
* Default acceptance radius, overridden by acceptance radius of waypoint if set.
|
||||
* For fixed wing the L1 turning distance is used for horizontal acceptance.
|
||||
* For fixed wing the npfg switch distance is used for horizontal acceptance.
|
||||
*
|
||||
* @unit m
|
||||
* @min 0.05
|
||||
|
||||
Reference in New Issue
Block a user