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

Revision history [back]

The map_topic parameter needs to be in the static_layer namespace. http://wiki.ros.org/costmap_2d/hydro/staticmap

The map_topic parameter needs to be in the static_layer namespace. http://wiki.ros.org/costmap_2d/hydro/staticmap

Edit There is no way to create a replica C++ object from simply subscribing to a few topics. The solution I described using the static layer will fill in the costmap data, but if you want everything to be the same, you need to change all of the additional parameters (like those specifying footprint) as well. Which leads to the question, why are you copying the original costmap to begin with? Why not just have it subscribe to the same data sources?