Package frc.robot.commands.autocommands
Class LookForBall
- java.lang.Object
-
- edu.wpi.first.wpilibj2.command.CommandBase
-
- frc.robot.commands.autocommands.LookForBall
-
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable,edu.wpi.first.wpilibj2.command.Command
public class LookForBall extends edu.wpi.first.wpilibj2.command.CommandBase
-
-
Constructor Summary
Constructors Constructor Description LookForBall(DriveTrainSubsystem driveTrain)Creates a new AutoDrive.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidend(boolean interrupted)voidexecute()voidinitialize()booleanisFinished()voidSetShouldTrack(boolean shouldTrack)-
Methods inherited from class edu.wpi.first.wpilibj2.command.CommandBase
addRequirements, getName, getRequirements, getSubsystem, initSendable, setName, setSubsystem, withName
-
-
-
-
Constructor Detail
-
LookForBall
public LookForBall(DriveTrainSubsystem driveTrain)
Creates a new AutoDrive.- Parameters:
driveTrain- The drive train subsystem.
-
-