-
Notifications
You must be signed in to change notification settings - Fork 0
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
Test shooter subsystem #2
base: main
Are you sure you want to change the base?
Conversation
… on when pressed by the left trigger and have speed altered when dpad up/down is pressed
private WsSpark shooterMotor2; | ||
private double shooterMotor1Speed = 0.5; | ||
private double shooterMotor2Speed = 0.5; | ||
private AnalogInput leftTrigger; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets change this to the left bumper instead of the left trigger (DigitalInput)
else{ | ||
shooterMotor1.setSpeed(0); | ||
shooterMotor2.setSpeed(0); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a SmartDashboard printout so we can see the shooter motor speed setpoint
Pull request template
Please fill out the fields below by replacing their explaination text.
Subsystem: Affected Subsystem name
Description:
Describe your changes in a few sentences.
Tested: Yes/No was your code tested on a robot or simulator?
Checking that the code has built locally is important, but that is not testing.
If yes, please elaborate.
Collaborators: List anyone else who worked on this PR, preferably with @s
Before submitting: