Orb_slam2: ORB-SLAM2: Current Frame gives black screen with "WAITING FOR IMAGES"

Created on 22 Mar 2016  Â·  2Comments  Â·  Source: raulmur/ORB_SLAM2

I followed the instruction and was successfully able to run the monocular example with

./Examples/Monocular/mono_tum Vocabulary/ORBvoc.txt Examples/Monocular/TUMX.yaml PATH_TO_SEQUENCE_FOLDER

Now, I am trying to run monocular example on ROS, so I do the following

  • Terminal 1: roscore
  • Terminal 2: rosrun ORB_SLAM2 Mono Vocabulary/ORBvoc.txt Examples/Monocular/TUM2.yaml
  • Terminal 3: (after cd to directory where .bag file is) rosbag play rgbd_dataset_freiburg2_desk.bag

After this I still see nothing on ORB-SLAM2:Map Viwer and black screen on ORB-SLAM2:Current Frame with "WAITING FOR IMAGES" at the bottom.

I am an absolute ROS beginner, can you please explain how I can get it working?

Most helpful comment

Thank you very much !! i was able to run it successfully. For the other noobs like me, this is what I did:

  1. rosbag play rgbd_dataset_freiburg2_desk.bag
  2. Open another terminal then "rostopic list"
  3. The image is published in the topic "/camera/rgb/image_color"
  4. Stop the rosbag, then re-run it with "rosbag play rgbd_dataset_freiburg2_desk.bag /camera/rgb/image_color:=/camera/image_raw"

All 2 comments

look on which topic rgbd_dataset_freiburg2_desk.bag has the images
(rostopic list), then remap that topic (
http://wiki.ros.org/Remapping%20Arguments) to /camera/image_raw (that is
where orbslam expects its images)

On Tue, Mar 22, 2016 at 1:58 PM, Seong [email protected] wrote:

I followed the instruction and was successfully able to run the monocular
example with

./Examples/Monocular/mono_tum Vocabulary/ORBvoc.txt
Examples/Monocular/TUMX.yaml PATH_TO_SEQUENCE_FOLDER

Now, I am trying to run monocular example on ROS, so I do the following

  • Terminal 1: roscore
  • Terminal 2: rosrun ORB_SLAM2 Mono Vocabulary/ORBvoc.txt
    Examples/Monocular/TUM2.yaml
  • Terminal 3: (after cd to directory where .bag file is) rosbag play
    rgbd_dataset_freiburg2_desk.bag

After this I still see nothing on ORB-SLAM2:Map Viwer and black screen on
ORB-SLAM2:Current Frame with "WAITING FOR IMAGES" at the bottom.

I am an absolute ROS beginner, can you please explain how I can get it
working?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/raulmur/ORB_SLAM2/issues/46

Thank you very much !! i was able to run it successfully. For the other noobs like me, this is what I did:

  1. rosbag play rgbd_dataset_freiburg2_desk.bag
  2. Open another terminal then "rostopic list"
  3. The image is published in the topic "/camera/rgb/image_color"
  4. Stop the rosbag, then re-run it with "rosbag play rgbd_dataset_freiburg2_desk.bag /camera/rgb/image_color:=/camera/image_raw"
Was this page helpful?
0 / 5 - 0 ratings

Related issues

ank700 picture ank700  Â·  3Comments

Zico2017 picture Zico2017  Â·  3Comments

nik13 picture nik13  Â·  5Comments

akashshar picture akashshar  Â·  4Comments

lokeshluckybisht picture lokeshluckybisht  Â·  5Comments