Skip to content

[wpimath] Add Translation3d.nearest() #8015

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 9 commits into from
Jun 13, 2025

Conversation

MichaelLesirge
Copy link
Contributor

This pull request adds a nearest() method to the Translation3d class, mirroring the existing functionality in Pose3d and Translation2d. In my last commit I added the nearest method to Pose3d class to have it mirror the Pose2d class, but forgot to also add it to Translation3d.

@MichaelLesirge MichaelLesirge requested a review from a team as a code owner June 10, 2025 03:54
@github-actions github-actions bot added the component: wpimath Math library label Jun 10, 2025
@calcmogul calcmogul changed the title [wpimath] Add nearest() method to Translation3d (mirroring Pose3d and Translation2d) [wpimath] Add Translation3d.nearest() Jun 10, 2025
@MichaelLesirge MichaelLesirge requested a review from calcmogul June 11, 2025 22:42
MichaelLesirge and others added 2 commits June 11, 2025 16:09
Co-authored-by: Tyler Veness <calcmogul@gmail.com>
@MichaelLesirge MichaelLesirge requested a review from calcmogul June 11, 2025 23:36
@PeterJohnson PeterJohnson merged commit c01e318 into wpilibsuite:main Jun 13, 2025
44 checks passed
@MichaelLesirge MichaelLesirge deleted the translation3d-nearest branch June 13, 2025 08:40
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