-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Driver does not support Trigger over Ethernet #25
Comments
@icolwell-as, after some further exploration and discussion with folks at Autoware, we have changed our mind on this. It turns out that if the cameras only need to run at a fixed framerate, it is sufficient to synchronize the triggering among them only once. Through PTP, their triggering will remain synchronized from then on forward. For one-time trigger synchronization, there is a more accurate and simpler implementation possible. We are currently implementing the following:
We were able to verify (using a oscilloscope) that this leads to trigger signals that are synchronized within 100 ns and remain synchronized pretty much indefinitely. The actual image acquisition start event varies a bit more due to the jitter caused by the fact that acquisition can only start at the beginning of a new line -- which for the Mako G-319C camera is about every 17 us. Due to slight variations in the clock frequency of different cameras, the image acquisition time tends to drift slightly within this 17 us window. Still for most applications, synchronization within 17 us is likely to be sufficient. We will submit a PR once the code has been tested. |
Thanks @cparedis for the detailed report on your findings! Very useful. |
Hi @icolwell-as , I want to follow-up a bit with this topic. Do you know if the proposed method using I can't seem to find any code related to Thank you! |
Hi @GarethZhang, there has not been any PR submitted by @cparedis for the described functionality. At the moment, there is a trigger node, but this sends ethernet-based action commands to trigger the camera, which is different than the PtpAcquisistionGateTime method. |
@icolwell-as Thank you for the update! |
We are working with Mako G-319C cameras and would like to use their trigger over ethernet capability to synchronize multiple cameras. This can supposedly be achieved by using Action Commands. Does anybody have experience using this capability?
It seems like it will require several changes:
My students and I are willing to put in the effort to implement this, but before we get started, it would be good to discuss the approach with somebody who is more familiar with the details of the current implementation.
The text was updated successfully, but these errors were encountered: