mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 20:03:54 +08:00
Navigator: in get_default_loiter_rad return absolute of NAV_LOITER_RAD
Signed-off-by: Silvan <silvan@auterion.com>
This commit is contained in:
@@ -179,7 +179,7 @@ public:
|
||||
|
||||
Geofence &get_geofence() { return _geofence; }
|
||||
|
||||
float get_default_loiter_rad() { return _param_nav_loiter_rad.get(); }
|
||||
float get_default_loiter_rad() { return fabsf(_param_nav_loiter_rad.get()); }
|
||||
|
||||
/**
|
||||
* Returns the default acceptance radius defined by the parameter
|
||||
|
||||
Reference in New Issue
Block a user