ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
rtabmap_ros uses topics as input. Topics you need are a RGB image, a registered depth image and camera info of RGB image. See http://wiki.ros.org/rtabmap_ros/Tutorials/HandHeldMapping 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"
cheers,
Mathieu
2 | No.2 Revision |
rtabmap_ros rtabmap_ros uses topics as input. Topics you need are a RGB image, a registered depth image and camera info of RGB image. See http://wiki.ros.org/rtabmap_ros/Tutorials/HandHeldMapping 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"
cheers,
Mathieu
3 | No.3 Revision |
rtabmap_ros uses topics as input. Topics you need are a RGB image, a registered depth image and camera info of RGB image. See http://wiki.ros.org/rtabmap_ros/Tutorials/HandHeldMapping 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"
cheers,
Mathieu