Collision Avoidance Parameters
General Environment Variables
Parameter | Description | File | Default |
---|---|---|---|
ENABLE_COLLISION_AVOIDANCE | Flag to enable/disable collision avoidance | /opt/onav/<onav_version>/config/autonomy.env | false |
Costmap
Determine the file location of the parameter
The parameters related to the costmap, can be found here:
/opt/onav/<onav_version>/app/autonomy/params/<platform_type>/navigation/costmap_<global/local>.yaml
If they are not listed in the above file, it is because they are using the default values and are not being overwritten.
The following parameters can be used to modify the costmap, specifically when trying to tune collision avoidance.
Parameter | Description | Namespace | SI Units |
---|---|---|---|
width | The width of the costmap | /navigation/<global/local>_costmap | m |
height | The height of the costmap | /navigation/<global/local>_costmap | m |
inflation_radius | The radius to which the map inflates obstacle cost values | /navigation/<global/local>_costmap/inflation | m |
cost_scaling_factor | A scaling factor to apply to cost values during inflation. The cost function is computed as follows for all cells in the costmap further than the inscribed radius distance and closer than the inflation radius distance away from an actual obstacle | /navigation/<global/local>_costmap/inflation | - |