Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit d6bfa17

Browse files
committed
add end and interrupted to defaultIntake
1 parent 17a01d8 commit d6bfa17

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/DefaultIntake.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ protected boolean isFinished() {
3333

3434
// Called once after isFinished returns true
3535
protected void end() {
36+
Robot.intakeEject.runIntake(0);
3637
}
3738

3839
// Called when another command which requires one or more of the same
3940
// subsystems is scheduled to run
4041
protected void interrupted() {
42+
end();
4143
}
4244
}

0 commit comments

Comments
 (0)