A packet resend request can be send several times, after the packet timeout is reached. The number of request and the the actual resends can be different.
How the frame are triggered ? Physically, using an electric signal ?
The machine has to write in a register periodically before the heartbeat timeout to keep the control of the camera.
However, like I wrote down earlier, we are running with two camera’s and the output of the two camera’s must be stitched. With this settings, after some time the frame numbers start to divide. Sometimes after 1 hour of running, which is very odd. When we stop triggering, wait some time and start triggering again, the frame numbers are still out of sync. We do not understand why this happens and it’s hard to find out how to fix this.
We actually think about moving back to the proprietary driver (MVS), because we did no thave those problems with MVS. However, we would like to use open source software. What can we do to find out why it does not work or how can we use the same settings as MVS does so we do not have lost frames and unsynced frames etc?
In the returned buffers, there is timestamp property set using the timestamp send by the device. Using this value you should be able to better understand what is the issue, and see if there is missed frames for example.
A missed frame can happen if the exposure time is too long, or because of a bad quality trigger signal. Sometimes there is feature to configure the trigger debouncing.