-
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
T265: Regression with version 2.32.1 on macOS #5709
Comments
Update: Seems, it is also not working well on Ubuntu. The deltaT goes up from 0.01 s to 1.3 secs after about 30 s. Regardless of whether it is using USB 2.1 or 3.1 Will test next days how it behaves in a real app (with floor plan display) |
OK, it MUST be an issue with the SDK. According to realsense-viewer the firmware is 0.2.0.926 But - with the latest SDK there is this increasing delay and there are gaps in the frame numbers. Good luck finding it |
Here is a different version of the test script, now derived from an official sample (t265_example.py)
On macOS you should see an increasing delay and gaps in the frame numbers with 2.23.1. Not the case with 2.23.0 (commit cb453b5 from Jan 5) |
OK, I can give the all-clear. At least a little bit. The problem is reduced to the frame-callback mechanism. When I return to the old form, replacing the frame callback with the known loop, the delay is constant in the range of 0.005 seconds.
Perfectly okay. But with the callback, there's nothing "in time" anymore. I doubt that the mutex has become lame out of the sudden. It must be the way the callback is scheduled. |
Anybody able to confirm? |
Hi guys. I know you have a lot to do with all the open issues, but this lack of responses is frustrating. I think I'm not only asking stupid questions, but helping to fix issues as much as I can. But this requires at least a bit of attention. For which I'm asking hereby, with all respect. No offence contained. |
Bug still present. But I have learned you won't fix it :) |
Issue Description
Unfortunately, a problem has crept in with 2.32.1, which I first noticed with the last development branch today: There is a significant delay in reading the poses when I compare the current system timestamp with the timestamp of the pose. The discrepancy is up to more than two seconds. I noticed it when my position shown on the floorplan was displayed with an extreme delay.
This problem can also be observed in the freshly installed current 2.32.1 release version (master branch). But not on all Linux based systems in my environment: There the time delay is limited. It's still quite high with about 0.3 seconds, but the script below is not that optimal.
The output of the script under Raspbian, USB 2.1:
The output under macOS Catalina, USB 3.1
Please note the long delay. Under Ubuntu it looks similar to Raspbian.
I immediately checked out version 2.32.0 and compiled it under macOS. Here are the values:
You see, not intoxicating either, but okay.
Here the script:
The text was updated successfully, but these errors were encountered: