Robotics StackExchange | Archived questions

'select timeout' when running 'usb_cam_node'

I planned to rerun the ORB_SLAM2 open codes using TUM database on my PC. I have finished all installation of dependdencies and downloaded all codes we need to used in this process,

then

cd ~/orbslam_ws
source devel/setup.bash
roslaunch usb_cam usb_cam-test.launch 

error message:

[ERROR] [1526278532.672410250]: select timeout
[camera-1] process has died [pid 103266, exit code 1, cmd /home/htf/orbslam_ws/devel/lib/usb_cam/usb_cam_node /usb_cam/image_raw:=/camera/image_raw __name:=camera __log:=/home/htf/.ros/log/78bb35ae-573d-11e8-a5a9-000c291bb522/camera-1.log].
log file: /home/htf/.ros/log/78bb35ae-573d-11e8-a5a9-000c291bb522/camera-1*.log

these disgusting errors were displayed on the terminal. I am just a naive beginner of SLAM and ROS, Does anyone could help me to solve this problem ? thank you very much.

Asked by tengfei han on 2018-05-14 03:59:37 UTC

Comments

these disgusting errors

do you mean "unexpected"?

Asked by gvdhoorn on 2018-05-14 05:38:30 UTC

It looks like your launching a node which is trying to connect to an actual hardware camera, is this your intention?

Asked by PeteBlackerThe3rd on 2018-05-14 12:45:17 UTC

yes,you are right . I planned to test my monocular camera

Asked by tengfei han on 2018-05-14 18:50:40 UTC

Answers

Hi There, you question states you are trying to test ORB_SLAM2 with the TUM data set and then your say you're trying to test your monocular camera. These are mutually exclusive you cannot be doing both.

Your error message is caused because the usb_cam node is failing to start so I'd investigate this on its own first. You seem to have built it from source as well which is probably not necessary.

So I'd recommend trying to get the usb_cam_node working properly first, calibrate your camera as described here, then try and integrate this with the ORB_SLAM2 system.

Asked by PeteBlackerThe3rd on 2018-05-15 07:13:02 UTC

Comments

thank you for your reply. I have fixed this problem. but there is another question after calibrated the camera. https://answers.ros.org/question/291146/couldnt-find-executable-named-mono/ Do you know why?

Asked by tengfei han on 2018-05-15 19:12:06 UTC