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 angular jerk unit #5582

Merged
merged 11 commits into from
Aug 29, 2023
Merged

Conversation

ozrien
Copy link
Contributor

@ozrien ozrien commented Aug 28, 2023

We [CTRE] would benefit from a Angular Jerk unit.
I haven't tested it yet.

I'm not sure I like using _cb for "cubed", maybe someone else can think of a better suffix.

@calcmogul
Copy link
Member

The volume header uses cu for cubed.

@ozrien
Copy link
Contributor Author

ozrien commented Aug 28, 2023

/format

@calcmogul
Copy link
Member

You can add unit tests for the new type to wpimath/src/test/native/cpp/UnitsTest.cpp.

@calcmogul
Copy link
Member

Including the angular_jerk.h header at the top of UnitsTest.cpp should fix some errors.

@ozrien ozrien marked this pull request as ready for review August 29, 2023 14:12
@ozrien ozrien requested a review from a team as a code owner August 29, 2023 14:12
@ozrien ozrien changed the title Add angular_jerk [wpimath] Add angular_jerk Aug 29, 2023
@calcmogul calcmogul changed the title [wpimath] Add angular_jerk [wpimath] Add angular jerk unit Aug 29, 2023
@calcmogul
Copy link
Member

Otherwise, looks good to me.

@PeterJohnson PeterJohnson merged commit 67043a8 into wpilibsuite:main Aug 29, 2023
20 checks passed
@Starlight220 Starlight220 linked an issue Aug 30, 2023 that may be closed by this pull request
@ozrien ozrien deleted the add_angular_jerk branch August 31, 2023 17:26
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.

Add angular jerk to units library
4 participants