| 1 | package org.usfirst.frc.team3501.robot.commands; |
| 2 | |
| 3 | import edu.wpi.first.wpilibj.command.Command; |
| 4 | |
| 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 | */ |
| 14 | public class DriveForDistance extends Command { |
| 15 | |
| 16 | public DriveForDistance(double distance, double speed) { |
| 17 | } |
| 18 | |
| 19 | @Override |
| 20 | protected void initialize() { |
| 21 | } |
| 22 | |
| 23 | @Override |
| 24 | protected void execute() { |
| 25 | } |
| 26 | |
| 27 | @Override |
| 28 | protected boolean isFinished() { |
| 29 | return false; |
| 30 | } |
| 31 | |
| 32 | @Override |
| 33 | protected void end() { |
| 34 | } |
| 35 | |
| 36 | @Override |
| 37 | protected void interrupted() { |
| 38 | } |
| 39 | } |