File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -170,8 +170,8 @@ public void teleopInit() {
170
170
// teleop starts running. If you want the autonomous to
171
171
// continue until interrupted by another command, remove
172
172
// this line or comment it out.
173
- mRobotContainer .stopShooter ();
174
- mRobotContainer .moveHoodToHardStop ();
173
+ mRobotContainer .resetShooter ();
174
+ // mRobotContainer.moveHoodToHardStop();
175
175
if (m_autonomousCommand != null ) {
176
176
m_autonomousCommand .cancel ();
177
177
}
Original file line number Diff line number Diff line change @@ -163,6 +163,11 @@ public void setLEDs() {
163
163
/**
164
164
* Called by Robot at teleopInit()
165
165
*/
166
+ public void resetShooter () {
167
+ mShooter .stopTrigger ();
168
+ new StopShooter (mShooter ).andThen ( new ResetHood (mShooter )).schedule ();
169
+ }
170
+
166
171
public void stopShooter () {
167
172
mShooter .stopTrigger ();
168
173
new StopShooter (mShooter ).schedule ();
You can’t perform that action at this time.
0 commit comments