Confused about synchronizing cameras

For stereo vision we need to synchronize two cameras. We connected a trigger signal to the trigger input of both cameras.
Now I want to set the trigger property of the camera. But I read on several posts in this forum that trigger is not supported by the Jetson video drivers. Is that really the case? This platform is ment for vision applications as robotics etc. So I can not imagine this would not be possible.
Can anyone point me in the direction how to accomplish this?
We use:

  • Jetson Orin Nano
  • Jetpack 5.1.1
  • OpenCV 4.5.4 (but if it only can be done with V4L2, we can use that)

hello mechamania,

camera with external trigger is not supported by default, since camera software stack expected continuous camera frames instead of intermittently signaling.
however, you may hacking the low-level driver to ignore some timeout error reporting.

there’s Argus example, syncStereo.
you may configure enableCamInfiniteTimeout and test with Argus sample app,
for example,
$ sudo pkill nvargus-daemon
$ export enableCamInfiniteTimeout=1
$ sudo nvargus-daemon &
$ ./argus_syncstereo

however, may I know what’s your actual use-case.
for example, what’s the frames interval, or, how long you’re expected for an external trigger for sending camera frames.

We do not want to use the trigger for a frame so now and then. We want to generate a contineous stream of frames just like normal operation. But synchronized to an external signal.
We want to synchronize two (or more) cameras this way to be able to track moving objects.

Our goal is a frame rate of about 60 Hz or higher.

I think the software does not even has to be aware of the triggering. But we need a way to configure the camera for trigger mode.

hello mechamania,

there’s software approach for synchronize capture. please check Topic 111355 for reference.

furthermore,
we have not tested more camera’s than 2 for now. we hope we will be able to support the same in future. you may see-also Topic 251033.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.