Commit | Line | Data |
---|---|---|
1 | package org.usfirst.frc.team3501.robot.commands; | |
2 | ||
3 | import org.usfirst.frc.team3501.bases.Command; | |
4 | ||
5 | public class TurnOffCompressor extends Command { | |
6 | ||
7 | public TurnOffCompressor() { | |
8 | super("TurnOffCompressor"); | |
9 | requires(pneumatics); | |
10 | } | |
11 | ||
12 | protected void initialize() { | |
13 | pneumatics.stop(); | |
14 | } | |
15 | ||
16 | protected boolean isFinished() { | |
17 | return true; | |
18 | } | |
19 | } |