719e166224262ba74ae42c8579507397bf519fee
1 package org
.usfirst
.frc
.team3501
.robot
.commands
;
3 import edu
.wpi
.first
.wpilibj
.command
.Command
;
6 * This command will move the robot at the specified speed for the specified
9 * post-condition: has driven for the distance and speed specified
11 * @author Meryem and Avi
14 public class DriveForDistance
extends Command
{
16 public DriveForDistance(double distance
, double speed
) {
20 protected void initialize() {
24 protected void execute() {
28 protected boolean isFinished() {
33 protected void end() {
37 protected void interrupted() {