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 sporadic spinning bug in rs-motion.cpp #7500

Merged
merged 2 commits into from
Oct 8, 2020

Conversation

krazycoder2k
Copy link
Contributor

@krazycoder2k krazycoder2k commented Oct 5, 2020

If the first gyro frame is received before the first accel frame the "first" flag is cleared and the timestamp value is incorrect. This separates the flags to be method specific.
Addresses #4915

On instances where the first accelerometer frame arrives before the first gyro frame the "first" flag is set to false by process_accel which causes the first call to process_gryo to calculate the wrong ts value.
@dorodnic dorodnic changed the base branch from master to development October 6, 2020 09:11
@dorodnic
Copy link
Contributor

dorodnic commented Oct 6, 2020

Thanks @krazycoder2k :)

@ev-mp ev-mp merged commit a568d3a into IntelRealSense:development Oct 8, 2020
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.

3 participants