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

Weird time reported by realsense #5911

Closed
kevindehecker opened this issue Feb 25, 2020 · 6 comments
Closed

Weird time reported by realsense #5911

kevindehecker opened this issue Feb 25, 2020 · 6 comments
Labels

Comments

@kevindehecker
Copy link
Contributor

kevindehecker commented Feb 25, 2020


Required Info
Camera Model D400
Firmware Version 05.12.02.100
Operating System & Version Ubuntu 18
Kernel Version (Linux Only) 5.3.0-40-generic
Platform PC
SDK Version 2.32.1
Language n.a.
Segment Robot

Issue Description

The time is not going up like it should, also it does not start at 0. Video:
https://photos.app.goo.gl/juH3iArukHUxjJTR8

Background info:
Last few months I've been running firmware 5.11.06.250 on kernel 4.15.0-55 successfully, including metadata and hardware clock time that makes sense. After the fix of DKMS on kernel 5.x mentioned in #4586, I updated everything to see if I can get everything to work again. DKMS is installing fine now, but unfortunately the time reported in the realsense is said to be the "global time" (so not the hardware clock...?). Sometimes I also get error messages about the metadata, so it may be related to this, but at the moment those errors disappeared and I can't get them back just now.
I hope this may help to find the problem.

I just reverted the kernel back to 4.15, and then the time is increasing like normal again. How can I fix this for kernel 5?

@kevindehecker
Copy link
Contributor Author

FYI: the settings in realsense viewer
Screenshot from 2020-02-25 13-55-26

@ev-mp
Copy link
Collaborator

ev-mp commented Feb 25, 2020

@kevindehecker , since v2.22 a new inter-sensor/camera timestamp synchronization mechanism has been introduced - Global Time Stamp that automatically applies to all D400 Depth cameras.

The feature is configurable separately per each sensor so you can control over how the active timestamps would be calculated by modifying RS2_OPTION_GLOBAL_TIME_ENABLED option.
Note that when the Global TS is turned on you can still get the original HW timestamp of the frame by using the metadata attribute query.

@ev-mp ev-mp added the question label Feb 25, 2020
@kevindehecker
Copy link
Contributor Author

OK, sure, but did you look at the video? The time is standing still, sort of... That doesn't seem right at all.

@ev-mp
Copy link
Collaborator

ev-mp commented Feb 25, 2020

Please see the reply for #5912 - and the fix PR mentioned - #5751.
Thus the timestamp report is a possible duplicate of #5319.

@RealSenseCustomerSupport
Copy link
Collaborator


Hi @kevindehecker,

Please install the latest build of RealSense SDK and let us know if you still experience the same issue/need any further assistance with it.

Thank you!

@kevindehecker
Copy link
Contributor Author

Just tried it, and the problem has indeed been solved. Awesome, tnx!

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

No branches or pull requests

3 participants