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

Add a chooser to set drive mode #268

Closed
wants to merge 4 commits into from
Closed

Conversation

jwt388
Copy link

@jwt388 jwt388 commented Dec 10, 2024

A SendableChooser is added to the RobotContainer that allows the drive mode command to be selected from a dashboard at runtime. The setDriveMode function is called in testInit and teleopInit so the chooser is checked and the default drive command is updated when the robot is enabled in either mode. This chooser is intended as a convenient way to try out different drive modes in YAGSL for testing, training and swerve familiarization and isn't intended for comp software.

@jwt388
Copy link
Author

jwt388 commented Dec 12, 2024

I updated the non-sim modes so they all invert the joysticks consistently. Also changed closedAbsoluteDriveAdv command to use POV for direct angles since it was trying to use ABXY for two functions at the same time. All four options should now move forward with joystick forward using Blue origin. Sim commands weren't touched and aren't in the chooser.

@jwt388
Copy link
Author

jwt388 commented Jan 7, 2025

I'm going to close this PR since things are changing and it's out of date. May bring back some version in the future if there is interest.

@jwt388 jwt388 closed this Jan 7, 2025
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.

1 participant