Uses of Class
edu.wpi.first.wpilibj.command.Command
| Package | Description |
|---|---|
| edu.wpi.first.wpilibj.command | |
| frc.team670.robot.commands.drive |
-
Uses of Command in edu.wpi.first.wpilibj.command
Subclasses of Command in edu.wpi.first.wpilibj.command Modifier and Type Class Description classCommandGroupACommandGroupis a list of commands which are executed in sequence.Methods in edu.wpi.first.wpilibj.command that return Command Modifier and Type Method Description CommandSubsystem. getCurrentCommand()Returns the command which currently claims this subsystem.CommandSubsystem. getDefaultCommand()Returns the default command (or null if there is none).Methods in edu.wpi.first.wpilibj.command with parameters of type Command Modifier and Type Method Description voidScheduler. add(Command command)Adds the command to theScheduler.voidCommandGroup. addParallel(Command command)Adds a new childCommandto the group.voidCommandGroup. addParallel(Command command, double timeout)Adds a new childCommandto the group with the given timeout.voidCommandGroup. addSequential(Command command)Adds a newCommandto the group.voidCommandGroup. addSequential(Command command, double timeout)Adds a newCommandto the group with a given timeout.voidSubsystem. setDefaultCommand(Command command)Sets the default command. -
Uses of Command in frc.team670.robot.commands.drive
Subclasses of Command in frc.team670.robot.commands.drive Modifier and Type Class Description classCurveStraightDriveclassDistanceDriveclassPIDDistanceDriveclassTimeDriveAn example command.