Package edu.wpi.first.wpilibj2.command
package edu.wpi.first.wpilibj2.command
-
ClassDescriptionA state machine representing a complete action to be performed by the robot.An enum describing the command's behavior when another command with a shared requirement is scheduled.Namespace for command factory methods.The scheduler responsible for running
Command
s.A command composition that runs one of two commands, depending on the value of the given condition when this command is initialized.Defers Command construction to runtime.A command that allows the user to pass in functions for each of the basic command methods through the constructor.A Command that runs instantly; it will initialize, execute once, and end on the same iteration of the scheduler.A command that uses two PID controllers (PIDController
) and a ProfiledPIDController (ProfiledPIDController
) to follow a trajectoryTrajectory
with a mecanum drive.A consumer to represent an operation on the voltages of a mecanum drive.A command that starts a notifier to run the given runnable periodically in a separate thread.A command composition that runs a set of commands in parallel, ending when the last command ends.A command composition 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.A composition that runs a set of commands in parallel, ending when any one of the commands ends and interrupting all the others.Deprecated, for removal: This API element is subject to removal in a future version.Use a PIDController insteadDeprecated, for removal: This API element is subject to removal in a future version.Use a PIDController insteadA command that prints a string when initialized.Deprecated, for removal: This API element is subject to removal in a future version.Use a ProfiledPIDController insteadDeprecated, for removal: This API element is subject to removal in a future version.Use a ProfiledPIDController insteadSchedules a given command when this command is initialized and ends when it ends, but does not directly run it.A command that uses a RAMSETE controller (RamseteController
) to follow a trajectoryTrajectory
with a differential drive.A command that runs another command repeatedly, restarting it when it ends, until this command is interrupted.A command that runs a Runnable continuously.Schedules the given commands when this command is initialized.A command composition that runs one of a selection of commands using a selector and a key to command mapping.A command composition that runs a list of commands in sequence.A command that runs a given runnable when it is initialized, and another runnable when it ends.A robot subsystem.A base for subsystems that handles registration in the constructor, and provides a more intuitive method for setting the default command.A command that uses two PID controllers (PIDController
) and a ProfiledPIDController (ProfiledPIDController
) to follow a trajectoryTrajectory
with a swerve drive.Deprecated, for removal: This API element is subject to removal in a future version.Use a TrapezoidProfile insteadDeprecated, for removal: This API element is subject to removal in a future version.Use a TrapezoidProfile insteadA command that does nothing but takes a specified amount of time to finish.A command that does nothing but ends after a specified match time or condition.A class used internally to wrap commands while overriding a specific method; all other methods will call through to the wrapped command.