mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-03 22:48:28 -04:00
AC_Avoid: reduce min and default DIST_MAX values
This commit is contained in:
parent
6558da2c4c
commit
ebf405e53d
@ -28,7 +28,7 @@ const AP_Param::GroupInfo AC_Avoid::var_info[] = {
|
||||
// @DisplayName: Avoidance distance maximum in non-GPS flight modes
|
||||
// @Description: Distance from object at which obstacle avoidance will begin in non-GPS modes
|
||||
// @Units: m
|
||||
// @Range: 3 30
|
||||
// @Range: 1 30
|
||||
// @User: Standard
|
||||
AP_GROUPINFO("DIST_MAX", 3, AC_Avoid, _dist_max, AC_AVOID_NONGPS_DIST_MAX_DEFAULT),
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
#define AC_AVOID_DEFAULT (AC_AVOID_STOP_AT_FENCE | AC_AVOID_USE_PROXIMITY_SENSOR)
|
||||
|
||||
// definitions for non-GPS avoidance
|
||||
#define AC_AVOID_NONGPS_DIST_MAX_DEFAULT 10.0f // objects over 10m away are ignored (default value for DIST_MAX parameter)
|
||||
#define AC_AVOID_NONGPS_DIST_MAX_DEFAULT 5.0f // objects over 5m away are ignored (default value for DIST_MAX parameter)
|
||||
#define AC_AVOID_ANGLE_MAX_PERCENT 0.75f // object avoidance max lean angle as a percentage (expressed in 0 ~ 1 range) of total vehicle max lean angle
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user