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

With ROS, you may create a node calling service /rtabmap/get_map_data (with parameters global:=true, optimized:=true and graphOnly:=false) to get the full map with image data rtabmap_ros/MapData. The graph will have all the optimized poses and nodes contain data for each node in the graph, including compressed images. The images were compressed using OpenCV cv::imencode(), so they can be decompressed using cv::imdecode() (it may also work in OpenCV Python).

For the standalone, if you are processing a directory of images, you may look at the console tool rtabmap-rgbd_dataset for example. The poses are exported in this example at the end. To extract images, we would have to modify the code to iterate over the signatures and get the compressed images.

cheers