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

Revision history [back]

You can visualize both the incrementally built maps and the static ones loaded from a .bt file in octomap_server in the same way (see the documentation of octomap_server/Published Topics):

Add a MarkerArray display in RViz on the topic "occupied_cells_vis" (without the trailing _array, that's an RViz problem). Be sure to set the tf frame to "/map" or whatever your mapping frame is.

For querying occupancy for localization in the octomap stored in octomap_server, see http://octomap.sourceforge.net/doxygen/ (in particular castRay()).