Package frc.robot.commands.autocommands
Class DriveForwardDistance
- java.lang.Object
-
- edu.wpi.first.wpilibj2.command.CommandBase
-
- frc.robot.commands.autocommands.DriveForwardDistance
-
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable
,edu.wpi.first.wpilibj2.command.Command
public class DriveForwardDistance extends edu.wpi.first.wpilibj2.command.CommandBase
-
-
Constructor Summary
Constructors Constructor Description DriveForwardDistance(DriveTrainSubsystem subsystem, double distance, double speed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
end(boolean interrupted)
void
execute()
void
initialize()
boolean
isFinished()
-
Methods inherited from class edu.wpi.first.wpilibj2.command.CommandBase
addRequirements, getName, getRequirements, getSubsystem, initSendable, setName, setSubsystem, withName
-
-
-
-
Constructor Detail
-
DriveForwardDistance
public DriveForwardDistance(DriveTrainSubsystem subsystem, double distance, double speed)
-
-