Package edu.wpi.first.wpilibj2.command

  • Interface Summary 
    Interface Description
    Command
    A state machine representing a complete action to be performed by the robot.
    Subsystem
    A robot subsystem.
  • Class Summary 
    Class Description
    CommandBase
    A Sendable base class for Commands.
    CommandGroupBase
    A base for CommandGroups.
    CommandScheduler
    The scheduler responsible for running Commands.
    ConditionalCommand
    Runs one of two commands, depending on the value of the given condition when this command is initialized.
    FunctionalCommand
    A command that allows the user to pass in functions for each of the basic command methods through the constructor.
    InstantCommand
    A Command that runs instantly; it will initialize, execute once, and end on the same iteration of the scheduler.
    NotifierCommand
    A command that starts a notifier to run the given runnable periodically in a separate thread.
    ParallelCommandGroup
    A CommandGroup that runs a set of commands in parallel, ending when the last command ends.
    ParallelDeadlineGroup
    A CommandGroup that runs a set of commands in parallel, ending only when a specific command (the "deadline") ends, interrupting all other commands that are still running at that point.
    ParallelRaceGroup
    A CommandGroup that runs a set of commands in parallel, ending when any one of the commands ends and interrupting all the others.
    PerpetualCommand
    A command that runs another command in perpetuity, ignoring that command's end conditions.
    PIDCommand
    A command that controls an output with a PIDController.
    PIDSubsystem
    A subsystem that uses a PIDController to control an output.
    PrintCommand
    A command that prints a string when initialized.
    ProxyScheduleCommand
    Schedules the given commands when this command is initialized, and ends when all the commands are no longer scheduled.
    RunCommand
    A command that runs a Runnable continuously.
    ScheduleCommand
    Schedules the given commands when this command is initialized.
    SelectCommand
    Runs one of a selection of commands, either using a selector and a key to command mapping, or a supplier that returns the command directly at runtime.
    SequentialCommandGroup
    A CommandGroups that runs a list of commands in sequence.
    StartEndCommand
    A command that runs a given runnable when it is initalized, and another runnable when it ends.
    SubsystemBase
    A base for subsystems that handles registration in the constructor, and provides a more intuitive method for setting the default command.
    WaitCommand
    A command that does nothing but takes a specified amount of time to finish.
    WaitUntilCommand
    A command that does nothing but ends after a specified match time or condition.