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