Commit | Line | Data |
---|---|---|
510cff21 LH |
1 | package org.usfirst.frc.team3501.robot.commands; |
2 | ||
3 | public class TurnOnCompressor extends CommandBase { | |
4 | ||
5 | public TurnOnCompressor() { | |
6 | super("TurnOnCompressor"); | |
7 | requires(pneumatics); | |
8 | } | |
9 | ||
10 | protected void initialize() { | |
11 | pneumatics.start(); | |
12 | } | |
13 | ||
14 | protected boolean isFinished() { | |
15 | return true; | |
16 | } | |
17 | } |