Commit | Line | Data |
---|---|---|
6bb7f8ac | 1 | package org.usfirst.frc.team3501.robot.commands.driving; |
be737780 ME |
2 | |
3 | import edu.wpi.first.wpilibj.command.Command; | |
4 | ||
80970a36 ME |
5 | /*** |
6 | * This command will move the robot at the specified speed for the specified | |
7 | * distance. | |
8 | * | |
9 | * post-condition: has driven for the distance and speed specified | |
10 | * | |
11 | * @author Meryem and Avi | |
12 | * | |
13 | */ | |
be737780 ME |
14 | public class DriveForDistance extends Command { |
15 | ||
80970a36 ME |
16 | public DriveForDistance(double distance, double speed) { |
17 | } | |
be737780 | 18 | |
80970a36 ME |
19 | @Override |
20 | protected void initialize() { | |
21 | } | |
be737780 | 22 | |
80970a36 ME |
23 | @Override |
24 | protected void execute() { | |
25 | } | |
be737780 | 26 | |
80970a36 ME |
27 | @Override |
28 | protected boolean isFinished() { | |
29 | return false; | |
30 | } | |
be737780 | 31 | |
80970a36 ME |
32 | @Override |
33 | protected void end() { | |
34 | } | |
be737780 | 35 | |
80970a36 ME |
36 | @Override |
37 | protected void interrupted() { | |
38 | } | |
be737780 | 39 | } |