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

Revision history [back]

The visualization topic needs to be "occupied_cells_vis" without the "_array" at the end. This is a problem with rviz, it automatically adds _array to MarkerArray topics. If that is the problem, the topic should turn red as error in RViz.

Another problem could be the frame_id. octomap_server needs a fixed (map) frame id and a tf transform of the input PointCloud2 into this frame. It uses a tf message filter to wait for this transform. Check the parameter "frame_id" in the octomap_mapping launch file and make sure that RViz is also set to this fixed frame.

Finally, to debug further, start rxconsole and set the log levels of octomap_server to "Debug". It should tell you what it's doing there.