-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
get_timestamp returning a timestamp that is less than the previous frame timestamp #9813
Comments
Hi @GrubbyHalo Advice provided in #7837 (comment) by a RealSense team member about 'old' frames being returned may be helpful. |
The issue referenced in #7873 seems to be slightly different. The problem there seems to be that the timestamp of the actual call to get_timestamp is being compared to the frame timestamp. Also that users snippet of code is calling In my code above, I am comparing the frame time stamp of subsequent frames and finding a discrepancy between successive frames. I was under the impression that if a frame is not processed by an application that it is dropped or does the backend buffer frames and only send the very latest frame and then start sending older frames ? |
This particular subject of timestamps with frame callback is admittedly outside of my personal knowledge. I did though find a case of incorrect timestamps when using callbacks at #5143 in which the same RealSense team member provides advice. |
It seems this issue does not happen on a Raspberry Pi 3 B plus or a x86-64 platform. |
Are there any differences in how your Pi 4 is set up compared to the Pi 3B+. For example, are both using Raspbian 10? |
There are differences... The pi3 b+ has an OS and kernel from about 3 years ago.. The pi4 has the OS and kernel released in about July this year. I am currently compiling a newer kernel and modules to see if it makes any difference |
I have recompiled the kernel to v5.10.6 without any luck. I also downloaded the latest version of Raspbian (Release date: May 7th 2021) and also no luck. I am absolutely flummoxed. |
When the program is running on Pi 4 do you see any visible negative effects from this issue with frame timestamps, or is it an issue that only appears in the timestamp debug-string and otherwise does not seem to impact performance of the application? |
The application that utilises the real sense camera depends on having frames arrive in chronological order. |
Great to hear that you achieved a solution, @GrubbyHalo - thanks very much for the update :) |
Camera Model D430
Firmware Version 05.12.11.00
OS Raspbian 10
Kernel 5.10.25-v7l
Platform Rasberry Pi 4
SDK Version 2.45.0
I have the following piece of code that runs during a frame callback
And after about 30 seconds I start getting the message that the current frame timestamp is smaller than the last frame timestamp
Is it possible for frames to come out of order ?
The text was updated successfully, but these errors were encountered: