Skip to content
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

timestamp for multiple cameras #98

Open
lintong-zhang opened this issue Jun 11, 2024 · 2 comments
Open

timestamp for multiple cameras #98

lintong-zhang opened this issue Jun 11, 2024 · 2 comments

Comments

@lintong-zhang
Copy link

lintong-zhang commented Jun 11, 2024

Hello. I am trying to run 3 cameras that are hardware synchronized by trigger at the same time. I created 3 nodes to run gscam for each camera. (I set use_gst_timestamps to True) However, I found that the timestamp are 10-20ms apart for these images.

In the below image, you can see the base time and time_offset_ calculated in the code are very similar, and the only difference is the buffer time (buf->pts). In this example, i am running them at 10Hz.

image

Can someone explain why this is the case? I thought all three camera images would have reached the buffer around a similar time, maybe 1-2ms apart but not 20ms apart.

@awesomebytes
Copy link
Member

awesomebytes commented Jun 11, 2024 via email

@lintong-zhang
Copy link
Author

lintong-zhang commented Jun 11, 2024

They are Framos cameras IMX296 connected to Nvidia Jetson NX board with Framos connector . The cameras are configured as master and slaves through the driver, so they are triggered at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants