-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[wpimath] Add vector projection and geometry vector conversions #6343
[wpimath] Add vector projection and geometry vector conversions #6343
Conversation
wpimath/src/main/java/edu/wpi/first/math/geometry/Rotation2d.java
Outdated
Show resolved
Hide resolved
wpimath/src/main/java/edu/wpi/first/math/geometry/Rotation2d.java
Outdated
Show resolved
Hide resolved
wpimath/src/main/java/edu/wpi/first/math/geometry/Translation3d.java
Outdated
Show resolved
Hide resolved
wpimath/src/test/java/edu/wpi/first/math/geometry/Rotation2dTest.java
Outdated
Show resolved
Hide resolved
I am using |
Curly braces inhibits narrowing conversions while parentheses doesn't. Use the former when possible. |
/format |
/format |
wpimath/src/test/java/edu/wpi/first/math/geometry/Translation3dTest.java
Outdated
Show resolved
Hide resolved
wpimath/src/test/java/edu/wpi/first/math/geometry/Translation2dTest.java
Outdated
Show resolved
Hide resolved
…dTest.java Co-authored-by: Tyler Veness <calcmogul@gmail.com>
…dTest.java Co-authored-by: Tyler Veness <calcmogul@gmail.com>
Co-authored-by: Tyler Veness <calcmogul@gmail.com>
that commit was supposed to be named "add c++ translation3d test" |
/format |
I think CMake Windows failed cuz it's using Eigen 3.4.0 (from 2 years ago) instead of our more up-to-date internal version. |
This PR improves vector math functionality and adds vector getter methods and constructors to
Translation2d
andTranslation3d
.