Skip to content

Fix rotvec comparison to handle 180° rotation ambiguity #538

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

Merged
merged 2 commits into from
Apr 14, 2025

Conversation

gemenerik
Copy link
Member

Replaced direct rotvec comparison with relative rotation check to avoid sign ambiguity in 180° rotations. Fixes unit test failures on Windows on Python 3.10–3.12.

@gemenerik gemenerik added the bug label Apr 14, 2025
@gemenerik gemenerik requested review from ataffanel and Copilot April 14, 2025 10:19
@gemenerik gemenerik self-assigned this Apr 14, 2025
Copilot

This comment was marked as resolved.

@gemenerik gemenerik force-pushed the rik/fix-rotation-check branch from 805c61e to 8ab8e14 Compare April 14, 2025 10:22
@gemenerik gemenerik requested a review from Copilot April 14, 2025 10:23
Replaced direct rotvec comparison with relative rotation check to avoid
sign ambiguity in 180° rotations. Fixes unit test failures on Windows on Python 3.10–3.12.
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Copy link
Member

@ataffanel ataffanel left a comment

Choose a reason for hiding this comment

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

LGTM

@ataffanel ataffanel merged commit 1708d3f into master Apr 14, 2025
1 check passed
@gemenerik gemenerik deleted the rik/fix-rotation-check branch April 14, 2025 12:32
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.

2 participants