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

Master Slave in Free-run mode for synchronization #64

Closed ank95 closed 6 years ago

ank95 commented 6 years ago

Hello Mr. Xu

First of all i'd like to thank you for creating such a useful package for ROS intergration with Ueye. It has been really helpful with my project. I am currently trying to create a setup that uses 2 Ueye cameras for synchronisation. I want to use the master slave configuration with Cam1 as the master in free-run mode and Cam2 as the slave.

Due to lack of hardware exprience, I was hoping if you could give me a few pointers on the hardware setup required. The questions i have are as follows:

  1. On the hardware side i have to connect Flash output of Master directly to the trigger input of Slave, run the Master in free run mode and Slave in Ext_trigger mode?
  2. You mentioned that i need to ensure on the software side that the slave camera triggers on rising edge (LO_HI) rather than on falling edge (HI_LO). Is it enough to change IS_SET_TRIGGER_HI_LO to LO_HI here?

My current setup includes:

  1. ROS Kinetic
  2. Linux 16.04 LTS
  3. UI-3370CP (supports both Rising Edge and Falling edge as trigger inputs)

Thanks in advance.

anqixu commented 6 years ago

Hi ank95. Glad to hear you finding this package useful.

To answer your questions:

  1. that sounds correct
  2. I believe so

Unfortunately I haven't had access to these cameras for a while so I can't test it out directly. Let me know how things go.

ank95 commented 6 years ago

Thank you for the response Mr.Xu. I'll post an update when i have the hardware setup. I'm also trying to get in touch with IDS for further support.

ank95 commented 6 years ago

Hello Mr. Xu

Apologies for the late update. I just received all the necessary hardware yesterday. I followed you suggestions together with this document from IDS to make the hardware connections.

Since my camera supports both Rising & Falling edge triggers i was to use the package directly without needing to invert the IS_SET_TRIGGER parameter. Thank you for the help.