WaitUntilCommand

class commands2.WaitUntilCommand[source]

Bases: Command

A command that does nothing but ends after a specified match time or condition. Useful for CommandGroups.

isFinished() bool[source]

Whether the command has finished. Once a command finishes, the scheduler will call its commands2.Command.end() method and un-schedule it.

Returns:

whether the command has finished.

runsWhenDisabled() bool[source]

Whether the given command should run when the robot is disabled. Override to return true if the command should run when disabled.

Returns:

whether the command should run when the robot is disabled