ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Custom Data Input to RTAB instead of Kinect data

asked 2019-07-15 10:22:19 -0500

Karan Shah gravatar image

I have a python script which after processing, gives me Depth Map and RGB Input image in realtime. I can not connect kinect directly, but I want RTAB Map to create a map based on the live stream of Depth map and RGB Images processed by Python. How can I do that? I have reasonable experience in Python, but I'm a rookie in ROS. Does the RTABMap access data via topic/subscribing to some topic? I have little clue, please help me on this.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-07-15 14:38:04 -0500

matlabbe gravatar image

updated 2019-07-15 14:39:01 -0500

rtabmap_rosuses topics as input. Topics you need are a RGB image, a registered depth image and camera info of RGB image. See for many examples using different cameras. You should be able to do the same with your python script, just make sure you republish the images in different topic names and adjust rgb_topic, depth_topic and camera_info_topic arguments of rtabmap.launch:

$ roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="--delete_db_on_start" rgb_topic:="my/python/rgb/image/topic" depth_topic:="my/python/depth/image/topic" camera_info_topic:="my/python/rgb/camera_info/topic"


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2019-07-15 10:22:19 -0500

Seen: 94 times

Last updated: Jul 15 '19