Ask Your Question
1

Unable to connect more than one USB 3.0 Basler Cameras

asked 2018-07-13 03:39:35 -0500

GPrathap gravatar image

I am trying to connect 2 Basler Cameras by setting respective device ids using pylon_camera node. But it does not pick the device id correctly. Without setting the device id it works.

I have set the permission for USB devices as mention here ( https://www.baslerweb.com/fp-15101246... ) by executing ./setup-usb.sh . But when I specify the device id (e.g, 2676:ba02:2:2:8) in the config file it does not detect the corresponding device. This is the error it is throwing

[ INFO] [1531469242.730556970]: Trying to open the following camera: 2676:ba02:2:2:8
 [ERROR] [1531469242.994999730]: Couldn't find the camera that matches the given DeviceUserID: 2676:ba02:2:2:8! Either the ID is wrong or the cam is not yet connected

Maybe device id was set incorrectly. Anybody who can comment on this much appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-07-27 05:19:25 -0500

GPrathap gravatar image

updated 2018-07-27 05:20:08 -0500

After spending lots of time, finally found the proper way to get this resolved. Here is the step you need to follow,

Once pylon_camera is installed, there is a lib called pylon_camera_write_device_user_id_to_camera which can be found in the <path> /ros/lib/pylon_camera/ directory. Just plug one camera at a time and assign a device id to the selected camera as follow,

ros/lib/pylon_camera/pylon_camera_write_device_user_id_to_camera traffic_left<this is the id of the camera>

Then in the config file, define the device which was assigned.

edit flag offensive delete link more

Comments

I am also working with multiple Basler USB 3.0 cameras in ROS and wanted to ask a couple of question. 1. Once the user id is assigned to the camera is it persistent and does not need to be rewritten on each camera power up? 2. How does one synchronize the camera (2 or more)? 3. Stereo imaging tips?

JimTal gravatar imageJimTal ( 2018-12-11 11:16:58 -0500 )edit
  1. Once the user id is assigned to the camera is it persistent and does not need to be rewritten on each camera power up? Nope,

    1. How does one synchronize the camera (2 or more)? 3. Stereo imaging tips? I dont get you where you want to synchronize? better to ask as a separate question
GPrathap gravatar imageGPrathap ( 2018-12-12 07:21:58 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-07-13 03:39:07 -0500

Seen: 261 times

Last updated: Jul 27 '18