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

Check for odometry quaternion normalization before display #1139

Merged
merged 1 commit into from
Aug 17, 2017

Conversation

sharst
Copy link
Contributor

@sharst sharst commented Aug 10, 2017

Fixes issue #1137

Copy link
Contributor

@dhood dhood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the fix, @sharst! I can confirm that this prevents the crash in #1137. The tolerance matches what was settled on in TF2.

@dhood
Copy link
Contributor

dhood commented Aug 10, 2017

Ideally we would factor out this logic so that it can be reused in other places (as with validate_floats.h). @sharst are you interested in doing that? otherwise this is still an incremental improvement.

@wjwwood
Copy link
Member

wjwwood commented Aug 17, 2017

@dhood should we merge this as an incremental improvement and ticket the refactor? I'm just curious because I am looking at doing a release soon.

@dhood
Copy link
Contributor

dhood commented Aug 17, 2017

Yep. Follow-up improvements ticketed in #1142

Thanks again for the fix @sharst

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

Successfully merging this pull request may close these issues.

3 participants