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

Implement Pose2d and Pose3d rotateAround() #7657

Open
calcmogul opened this issue Jan 8, 2025 · 1 comment · May be fixed by #7659
Open

Implement Pose2d and Pose3d rotateAround() #7657

calcmogul opened this issue Jan 8, 2025 · 1 comment · May be fixed by #7659
Labels
component: wpimath Math library type: feature Brand new functionality, features, pages, workflows, endpoints, etc.

Comments

@calcmogul
Copy link
Member

calcmogul commented Jan 8, 2025

This is helpful for rotating field objects based on some kind of rotational symmetry.

It already exists for translations, so poses should basically just be calling Translation.rotateAround() and Rotation.rotateBy() for the two respective components.

@calcmogul calcmogul added component: wpimath Math library type: feature Brand new functionality, features, pages, workflows, endpoints, etc. labels Jan 8, 2025
@TheComputer314
Copy link
Contributor

Pose3d.rotateAround() is blocked by not having Translation3d.rotateAround(). (#7658)

@TheComputer314 TheComputer314 linked a pull request Jan 8, 2025 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: wpimath Math library type: feature Brand new functionality, features, pages, workflows, endpoints, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants