I am trying to quantify the video lag by using a script running on the companion and/or the QGC computer. I have been searching through the forums but have not find a solution. There is a way to add the timeoverlay in the gstreamer options on the companion side, but the clock has to synced.
I am interested in computing the delay because I am experimenting with controllers, which can take into account the delay in the measurements. Since the position and the velocity are measured on the Topside computer using vision, therefore this delay is important. More delay in the measurements is introduced when processing the video stream on the Topside computer, which can be optimized.
Wondering if anyone has quantify the video lag by logging data? May be there is already an option in QGC. Thanks in advance for your help.