ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Not sure if the following fully answers your question as I cannot tell which is your exact problem. There is no real error message in the output you pasted. Does your robot hit the obstacles or are you just missing the costmap visualization (see below)?
The costmap_2d package has undergone a rework in ROS hydro and the costmap is organized in layers now. Check the hydro Migration Guide and the costmap_2d wiki page for some details. Unfortunately not all of the updates and new features are reflected in the wiki pages yet.
The fact that both costmaps, local and global, subscribe to the /map
topic looks strange as the static_map
parameter is set to false for the local_costmap. Are you sure that the new local_costmap/plugins
parameter was not set with a static map layer in the list? Just uncommenting it in the yaml file and restart without restarting the roscore, too, will not unset the parameter on the parameter server.
The resulting costmap will be advertised as nav_msgs/OccupancyGrid message in the private namespace of the costmap. rviz supports additional color schemes for costmaps now. The old GridCell publisher obviously has been dropped. If you want to visualize the costmaps you have to update your rviz config and add a Map display with the appropriate settings.
Note that dynamic updates of the static layer via the /map
topic are currently broken in hydro. Only the first map received will be used for navigation.