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 optimize() to SwerveModuleState #3065

Merged
merged 10 commits into from Jan 11, 2021

Conversation

mcm001
Copy link
Contributor

@mcm001 mcm001 commented Jan 9, 2021

This makes it easy for teams to ensure that their modules never rotate more than 90 degrees to reach a given reference.

@mcm001 mcm001 requested review from a team as code owners January 9, 2021 04:25
@prateekma prateekma added the component: wpimath Math library label Jan 9, 2021
mcm001 and others added 4 commits January 8, 2021 20:36
…te.h

Co-authored-by: Tyler Veness <calcmogul@gmail.com>
…oduleState.java

Co-authored-by: Tyler Veness <calcmogul@gmail.com>
…te.h

Co-authored-by: Tyler Veness <calcmogul@gmail.com>
…oduleState.java

Co-authored-by: Tyler Veness <calcmogul@gmail.com>
@calcmogul calcmogul changed the title Add optomize() to SwerveModuleState Add optimize() to SwerveModuleState Jan 9, 2021
@calcmogul
Copy link
Member

calcmogul commented Jan 9, 2021

You need to run spotless and wpiformat.

@PeterJohnson PeterJohnson changed the title Add optimize() to SwerveModuleState [wpimath] Add optimize() to SwerveModuleState Jan 9, 2021
@calcmogul
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s), but failed to run 1 pipeline(s).

prateekma
prateekma previously approved these changes Jan 10, 2021
calcmogul
calcmogul previously approved these changes Jan 10, 2021
@mcm001 mcm001 dismissed stale reviews from calcmogul and prateekma via 1cc2194 January 10, 2021 21:22
@PeterJohnson PeterJohnson merged commit e955037 into wpilibsuite:master Jan 11, 2021
@mcm001 mcm001 deleted the swerve-optomize-rotate branch January 11, 2021 08:29
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.

None yet

4 participants