Add pid subsystem
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / driving / Stop.java
1 package org.usfirst.frc.team3501.robot.commands.driving;
2
3 import org.usfirst.frc.team3501.robot.Robot;
4
5 import edu.wpi.first.wpilibj.command.Command;
6
7 public class Stop extends Command {
8
9 public Stop() {
10 }
11
12 @Override
13 protected void initialize() {
14 Robot.driveTrain.stop();
15 }
16
17 @Override
18 protected void execute() {
19 }
20
21 @Override
22 protected boolean isFinished() {
23 return true;
24 }
25
26 @Override
27 protected void end() {
28 }
29
30 @Override
31 protected void interrupted() {
32 end();
33 }
34 }