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

rotation conversion: deconfuse roll 90 yaw 90 #14778

Merged
merged 1 commit into from
Apr 29, 2020
Merged

Conversation

MaEtUgR
Copy link
Member

@MaEtUgR MaEtUgR commented Apr 28, 2020

Describe problem solved by this pull request
Discussing with @baumanta, @julianoes, @RomanBapst over the coffee break some rotation implementations are just confusing with their extra steps.

Describe your solution
Do the minimal swapping which requires only one temporary variable and doesn't do unnecessary confusing assignments.

Test data / coverage
Untested, please review.

Additional context
#14512 (comment)

Copy link
Member

@bresch bresch left a comment

Choose a reason for hiding this comment

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

The simplification is correct, but this isn't a roll 90 followed by a yaw 90 rotation...

@RomanBapst
Copy link
Contributor

@bresch Extrinsic rotation.

@bresch bresch merged commit 81e576b into master Apr 29, 2020
@bresch bresch deleted the simplify-roll90-yaw90 branch April 29, 2020 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants