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

You will have an easier time if you work with the move_base costmap architecture. That model is that move_base loads costmap2d, which in turn loads "layer plugins". The layer-plugins subscribe to a topic and update an internal grid. This is all done by move_base, not by your code. You simply have to publish msgs to a topic in the format the layer plugin wants.

You could create a custom layer plugin, but many of the common use cases already exist.

You will have an easier time if you work with the move_base costmap architecture. That model is that move_base loads costmap2d, which in turn loads "layer plugins". The layer-plugins subscribe Each layer-plugin subscribes to a topic and update updates an internal grid. This is all done by move_base, not by your code. You simply have to publish msgs to a topic in the format the layer plugin wants.wants e.g. LaserScan.

You could create a custom layer plugin, but many of the common use cases already exist. exist.