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 ueye_cams with criss-crossed streams #111

Open stonier opened 2 years ago

stonier commented 2 years ago

Wondering if anyone here has this experience...

This isn't a ueye_cam problem either. We observe the same effect with two launches of idscameramanager.

@jmackay2 @anqixu

stonier commented 2 years ago

FYI @ChrisFajardo-TRI

ChrisFajardo-TRI commented 2 years ago

Here's a behavior we're reproducing

  1. launch camera A node camera A goes to streaming mode

  2. launch camera B node camera B does not go to streaming mode (will timeout at is_CaptureVideo)

  3. terminate and restart camera A node camera A and camera B both go to streaming mode however both camera A and camera B both stream camera A's images on both camera A and B topics

ChrisFajardo-TRI commented 2 years ago

@stonier you can close this

found from idscameramanager that both cameras had multicast was enabled with same IP, so disabling multicast fixes things

stonier commented 2 years ago

Might leave it open - would be nice to be able to detect the situation and warn from this driver and additionally have a means to configure it from here (instead of idscameramanager).

@ChrisFajardo-TRI has pointed us at is_Multicast and IS_AMC_CMD_SET_MC_ENABLED in the IDS SDK as a possible means to do so.

jmackay2 commented 2 years ago

I haven't used multicast in my multi-camera setups in the past, so I haven't run into this issue before.