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

Normalize interactive marker quaternions. #132

Merged
merged 1 commit into from
Jan 10, 2020
Merged

Normalize interactive marker quaternions. #132

merged 1 commit into from
Jan 10, 2020

Conversation

AndyZe
Copy link
Contributor

@AndyZe AndyZe commented Jan 10, 2020

Quaternions for rotation should have a magnitude of 1

control.orientation.x = 0;
control.orientation.y = 1;
control.orientation.y = 0.7071;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be -0.7071 .? I used this website for illustration

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems to work fine (screenshot attached). I guess somebody else would have noticed if there was an issue, since I didn't change the sign.

interactive_marker_tool

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note that the screenshot is after I dragged it around a bit

@AndyZe AndyZe merged commit f94fb5c into master Jan 10, 2020
@delete-merged-branch delete-merged-branch bot deleted the normalize_quat branch January 10, 2020 20:13
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.

None yet

2 participants