introlab / rtabmap_ros

RTAB-Map's ROS package.
http://wiki.ros.org/rtabmap_ros
BSD 3-Clause "New" or "Revised" License
1.01k stars 558 forks source link

Launch stereo cameras ros2 #846

Open rebeccamart opened 2 years ago

rebeccamart commented 2 years ago

Hi, There is a file "realsense_d400.launch.py" in this repository to run one camera (it works perfectly). Although, Does exists a similar file but to run two cameras at the same time with ros2?

matlabbe commented 1 year ago

You would have to convert this one: https://github.com/introlab/rtabmap_ros/blob/master/launch/demo/demo_two_kinects.launch. You can ignore these lines: https://github.com/introlab/rtabmap_ros/blob/671c80dc3f0164f1ab95da96db74104182e8ec85/launch/demo/demo_two_kinects.launch#L40-L48 and all RTAB-Map's related parameters (those with format Group/Param, with a slash in it).