How to make Local Planner avoid virtual walls or Fake walls in ROS 2D map?

asked 2019-09-05 06:11:40 -0500

Gowresh gravatar image

I am using dwa local planner. I want my bot to move in a specific path when I give a goal. So i edited my map in GIMP to create virtual walls with black pixels. When I give a goal, the global plan path avoids the fake wall (I checked this by viewing the curve in Rviz). But my local planner tries to cut across the edge of the fake wall and gets stuck.

edit retag flag offensive close merge delete

Comments

Does your local planner have a static layer enabled for it to see the fake wall?

stevemacenski gravatar imagestevemacenski ( 2019-09-05 11:07:34 -0500 )edit

No. The local planner runs in pre-hydro plugins. If I add a static layer plugin, will it solve the problem?

Gowresh gravatar imageGowresh ( 2019-09-06 01:15:10 -0500 )edit