anqixu / ueye_cam

A ROS nodelet and node that wraps the driver API for UEye cameras by IDS Imaging Development Systems GMBH.
Other
60 stars 102 forks source link

camera Id #70

Closed JadBatmobile closed 5 years ago

JadBatmobile commented 5 years ago

I am using two camera nodelets in a single manager (i modified rgb8.launch).

How can i ensure that the same cameras will have the same IDs each time i launch the driver.

Sometimes camera_1/image.. refers to the camera on the right side of the robot, and sometimes left. Same for camera_2/image...

JadBatmobile commented 5 years ago

is there a way i can specify the hardware id of the camera to the ros driver?

anqixu commented 5 years ago

Yup, you can use ueyesetid or ueyecameramanager to set the camera's hardware ID to a fixed number. Then you can specify it as a rosparam:

https://github.com/anqixu/ueye_cam/blob/master/launch/rgb8.launch#L12

JadBatmobile commented 5 years ago

Can you please elaborate on how to use eyesetid or ueyecameramanager. Are these interfaces provided by your package?

anqixu commented 5 years ago

These are software binaries provided by IDS Imaging when you installed their uEye SDK.

JadBatmobile commented 5 years ago

yes thank you, i found and used.