Package frc.team670.robot.commands.drive
Class DistanceDrive
java.lang.Object
edu.wpi.first.wpilibj.command.Command
frc.team670.robot.commands.drive.DistanceDrive
public class DistanceDrive extends Command
-
Constructor Summary
Constructors Constructor Description DistanceDrive(double distance_cm, double lspeed, double rspeed)
-
Method Summary
Modifier and Type Method Description void
correct()
double
getDistance()
Methods inherited from class edu.wpi.first.wpilibj.command.Command
cancel, doesRequire, isCanceled, isCompleted, isInterruptible, isRunning, setRunWhenDisabled, start, timeSinceInitialized, willRunWhenDisabled
-
Constructor Details
-
DistanceDrive
public DistanceDrive(double distance_cm, double lspeed, double rspeed)
-
-
Method Details
-
correct
public void correct() -
getDistance
public double getDistance()
-