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

multiple cams #3

Closed hannesharms closed 10 years ago

hannesharms commented 10 years ago

I have problems to get the driver working properly with more than one camera. Has it ever been tested or I am just doing something wrong?

anqixu commented 10 years ago

It should work fine. For example, you can duplicate the 'ueye_cam_nodelet' node in rgb8.launch, rename the name of the nodelet, and change to different camera IDs. Alternatively, open master_slave_rgb8.launch, find '', and change True to False.

Let me know if you have more troubles.

hannesharms commented 10 years ago

Yes that seems to work, but following error occures: [ERROR] [1394039248.287967045]: Tried to advertise a service that is already advertised in this node [/camera/set_camera_info]

If i rename the camera_name to something like camera2 , the error disappears, but then the 2nd camera is not working properly

anqixu commented 10 years ago

Make sure that each camera node in the launch file have UNIQUE values for following fields:

Furthermore, you should set the "ext_trigger_mode" ROS parameter to "False" for all of your nodes.

Please see http://www.ros.org/wiki/ueye_cam for more details.

philfromger commented 10 years ago

Hi, I have problems with running the ros node too. The programm only starts each second time. i.e is set to free run mode each second time. Could there be a problem with a publisher/subscriber inside the code or might it be a configuration issue? Best regards philfromger

anqixu commented 10 years ago

Hi philfromger:

Please open a new issue rather than appending onto this solved issue. Also, please provide the following details (and further descriptions) so that I can better help debug the situation:

AX