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

The problem ,as I understood, is that the global planner didn't know anything about Obstacles in obstacle layer. So when I use default layering and comment the plugin explicit specification the robot starts avoid it and build the path correctly.

However I found a very strange problem and I can't figure out why is that happening. When I explicitly specify the plugins for each costmap they work very bad. The local costmap reduce the inflation to almost 0, while the inflation in the global costmap is ok (both of them use the same inflation layer). But when I let the navigation stack to use plugins auto costmaps work ok.

I think there are still luck of documentation in 2021 how to use plugins with costmaps(

The problem ,as I understood, is that the global planner didn't know anything about Obstacles in obstacle layer. So when I use default layering and comment the plugin explicit specification the robot starts avoid it and build the path correctly.

However I found a very strange problem and I can't figure out why is that happening. When I explicitly specify the plugins for each costmap they work very bad. The local costmap reduce the inflation to almost 0, while the inflation in the global costmap is ok (both of them use the same inflation layer). But when I let the navigation stack to use plugins auto costmaps work ok.

I think there are still luck of documentation in 2021 how to use plugins with costmaps(

On the EDIT 2 I displayed the problem. This happened only when I specify plugins explicitly like:

plugins:
  - {name: static_layer,           type: "costmap_2d::StaticLayer"}
  - {name: inflation_layer,        type: "costmap_2d::InflationLayer"}
  - {name: obstacle_layer,         type: "costmap_2d::VoxelLayer"}