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 class
CommandGroup
ACommandGroup
is a list of commands which are executed in sequence.Methods in edu.wpi.first.wpilibj.command that return Command Modifier and Type Method Description Command
Subsystem. getCurrentCommand()
Returns the command which currently claims this subsystem.Command
Subsystem. 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 void
Scheduler. add(Command command)
Adds the command to theScheduler
.void
CommandGroup. addParallel(Command command)
Adds a new childCommand
to the group.void
CommandGroup. addParallel(Command command, double timeout)
Adds a new childCommand
to the group with the given timeout.void
CommandGroup. addSequential(Command command)
Adds a newCommand
to the group.void
CommandGroup. addSequential(Command command, double timeout)
Adds a newCommand
to the group with a given timeout.void
Subsystem. 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 class
CurveStraightDrive
class
DistanceDrive
class
PIDDistanceDrive
class
TimeDrive
An example command.