fw_path_navigation: Remove explicit L1 mentioning.

This commit is contained in:
Konrad
2023-02-09 17:51:55 +01:00
committed by Silvan Fuhrer
parent 3e200bca0d
commit 6bdeb43e0d
16 changed files with 31 additions and 36 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -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