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] ChassisSpeeds fromRelative and discretize methods made instance methods #7115

Merged
merged 6 commits into from
Oct 22, 2024

Conversation

narmstro2020
Copy link
Contributor

Similar in approach to PR #7113

This should make using the discretize and fromRelative methods a little easier for teams to use. Note fromRelative was name changed to toRelative.

@narmstro2020 narmstro2020 marked this pull request as ready for review September 24, 2024 01:47
@narmstro2020 narmstro2020 requested review from a team as code owners September 24, 2024 01:47
Copy link
Contributor

@KangarooKoala KangarooKoala left a comment

Choose a reason for hiding this comment

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

Overall, looks pretty good! I'm a little worried about the fact that method chaining isn't possible anymore, but given that from my (very very limited) experience most operations are done in an imperative programming manner, it's probably fine? I'd like to hear some other people weigh in on this.

@PeterJohnson PeterJohnson merged commit a3b12b3 into wpilibsuite:main Oct 22, 2024
33 checks passed
spacey-sooty pushed a commit to spacey-sooty/allwpilib that referenced this pull request Oct 26, 2024
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.

4 participants