AC_Avoid: reduce min and default DIST_MAX values

This commit is contained in:
Randy Mackay 2018-01-25 11:16:01 +09:00
parent 6558da2c4c
commit ebf405e53d
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

@ -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
/*