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

[wpimath] Add overloads for Transform2d and Transform3d #5757

Merged
merged 11 commits into from
Oct 13, 2023

Conversation

anitmangal
Copy link
Contributor

Adds overloads for Transform2d() constructor to accept x, y, and heading and for Transform3d() to accept x, y, z and rotation as a shorthand for the normal constructors.
Completes issue #5748.

@anitmangal anitmangal requested a review from a team as a code owner October 11, 2023 16:06
Copy link
Member

@calcmogul calcmogul left a comment

Choose a reason for hiding this comment

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

The following are missing:

  1. Transform3d constructor prototype and docs in header file
  2. Transform2d constructor prototype and docs in header file
  3. Transform2d constructor definition in source file
  4. Java version of Transform2d constructor overload
  5. Java version of Transform3d constructor overload

calcmogul
calcmogul previously approved these changes Oct 11, 2023
Copy link
Contributor Author

@anitmangal anitmangal left a comment

Choose a reason for hiding this comment

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

The changes have been done and pushed.

@calcmogul
Copy link
Member

It seems that PRs created from main branches are causing each other's CI runs to cancel when new changes are pushed. I'm waiting to retrigger this PR's CI until the conflicting CI finishes. (Note that a way to avoid this would be giving PR branches unique names.)

@anitmangal anitmangal closed this Oct 11, 2023
@anitmangal anitmangal reopened this Oct 11, 2023
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.

Add Transform2d(x, y, heading) and Transform3d(x, y, z, Rotation3d) constructor overloads
4 participants