-
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
timestamp_domain #9172
Comments
Hi @mengxz0203 The link below contains Python scripting for setting the status of global time. Instead of setting rs.option.global_time_enabled to '1' (true) like the script does, use '0' instead to disable global time. |
@MartyG-RealSense I tried your code but the clock was hardware |
@MartyG-RealSense And I also want to know the difference between global_time and system_time, thanks a lot. |
It looks as though your hardware clock image is from the RealSense Viewer. A Python program will not change any settings in the RealSense Viewer. The global time setting toggles between Global Time when it is true and Hardware Clock (if supported) when it is false. Device time and system time are aligned when Global Time is enabled. The link below is a good reference about the workings of global time. System Time is a software timestamp that is used when hardware timestamps are not available (for example, if metadata support is not installed). If hardware timestamps are available, librealsense will take advantage of them. On Windows, metadata support can be added using information in the link below, or more easily by instead using a pop-up box in the RealSense Viewer that may appear when launching it to request if you want to enable metadata support. More information about how different timestamps function is here: |
@MartyG-RealSense Thanks very much! |
Hello,I want to know how to record a bag file with system_time but not global_time? I have tried several times but failed.
Issue Description
I find
timestamp_domain
in the doc, but I don't know how to set system_time in viewer or with python code.The text was updated successfully, but these errors were encountered: