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

Fix IMU timestamps precision #3773

Merged
merged 1 commit into from
Apr 16, 2019
Merged

Conversation

ev-mp
Copy link
Collaborator

@ev-mp ev-mp commented Apr 16, 2019

Converting the timestamp units using floating point scale factor results in loss of actual precision on a scale of 0.01%. This round up does become noticeable when profiling timestamp distribution and persistence.

The patch fixes the conversion discrepancy (double/float) and allows to preserve the original timestamps precision

Change-Id: I8d55bf94f2d73e7820d111200be251bbc88bb96f
Signed-off-by: Evgeni Raikhel [email protected]

…lts in loss of actual precision on a scale of 0.01%. This round up does become noticeable when profiling timestamp distribution and persistence.

The patch fixes the conversion discrepancy (double/float) and allows to preserve the original timestamps precision

Change-Id: I8d55bf94f2d73e7820d111200be251bbc88bb96f
Signed-off-by: Evgeni Raikhel <[email protected]>
@ev-mp ev-mp merged commit b1dceaf into IntelRealSense:development Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant