How to make Local Planner avoid virtual walls or Fake walls in ROS 2D map?
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.
Does your local planner have a static layer enabled for it to see the fake wall?
No. The local planner runs in pre-hydro plugins. If I add a static layer plugin, will it solve the problem?
even the local planner task is to create path that is free of obstacle from local cost map you can try adding one more virtual wall in local cost map