ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I'm not aware of a strict way of programming this behavior but there are parameters that you can tune that may result in the behavior that you are looking for.

Try increasing occdist_scale in your dwa_local_planner_params.yaml file. This will increase the weight for how much the controller tries to avoid objects.

Also, try increasing the inflation_radius in your costmap_common_params.yaml file. This will increase the radius in meters to which the map inflates obstacle cost values.

Be careful with the inflation_radius though. If it is too high, then the robot will be unable to navigate through tight spaces.