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

Refactor swerve code to use new SwerveModule class #22

Merged
merged 6 commits into from
Nov 30, 2023

Conversation

dejabot
Copy link

@dejabot dejabot commented Nov 12, 2023

Description

refactors swerve code in Drive by separating out each drive+steer+encoder in a physical swerve module to be encapsulated in a new SwerveModule class. this both tidies up Drive and more significantly helps us prepare for AdvantageKit integration, so we can use AdvantageScope to plot and analyze our swerve behavior.

How Has This Been Tested?

this will need to be tested on Gatorade, once programming has access to Gatorade again.

prepare for AdvantageKit integration by refactoring swerve code
into separate SwerveModules, one for each corner.
@dejabot dejabot merged commit 4fedfe6 into main Nov 30, 2023
3 checks passed
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.

2 participants