raulmur / ORB_SLAM2

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Other
9.44k stars 4.69k forks source link

Using ORB-SLAM2 with stereo camera in gazebo #968

Closed kazuma-takeuchi-jpn closed 3 years ago

kazuma-takeuchi-jpn commented 3 years ago

Hi! I'm trying to run ORB-SLAM2 with stereo camera in gazebo. I use ros melodic to do these things. Stereo camera works well, and ros topic about left and right camera is in the rostopic list. However, when I try to run ORB-SLAM2, it subscribe only left camea topic, in other words, only the image on the left side of the camera will be displayed.

Screenshot from 2020-12-23 17-13-16

This is the simulation environment.

Screenshot from 2020-12-23 17-13-01

This is the screen shot when I tried to run ORB-SLAM2

Screenshot from 2020-12-23 17-11-25

This is the terminal screen.

Does anyone know how to solve this problems? I thank you in advance, and Merry Christmas!

Spnd77 commented 10 months ago

Hi, Can you tell me how we can Connect Gazebo and ORBSLAM? Do you know any reference code for it? @kazuma-takeuchi-jpn @raulmur Thanks