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