commands1 Package

Command(*args, **kwargs)

The Command class is at the very core of the entire command framework.

CommandGroup(*args, **kwargs)

A CommandGroup is a list of commands which are executed in sequence.

CommandGroupEntry(*args, **kwargs)

Overloaded function.

ConditionalCommand(*args, **kwargs)

A ConditionalCommand is a Command that starts one of two commands.

InstantCommand(*args, **kwargs)

This command will execute once, then finish immediately afterward.

PIDAnalogAccelerometer(*args, **kwargs)

Wrapper so that PIDSource is implemented for AnalogAccelerometer for old PIDController

PIDAnalogGyro(*args, **kwargs)

Wrapper so that PIDSource is implemented for AnalogGyro for old PIDController

PIDAnalogInput(arg0)

Wrapper so that PIDSource is implemented for AnalogInput for old PIDController

PIDAnalogPotentiometer(*args, **kwargs)

Wrapper so that PIDSource is implemented for AnalogPotentiometer for old PIDController

PIDBase(*args, **kwargs)

Class implements a PID Control Loop.

PIDCommand(*args, **kwargs)

This class defines aCommand which interacts heavily with a PID loop.

PIDController(*args, **kwargs)

Class implements a PID Control Loop.

PIDEncoder(*args, **kwargs)

Wrapper so that PIDSource is implemented for Encoder for old PIDController

PIDInterface()

Interface for PID Control Loop.

PIDMotorController(motorController)

Wrapper so that PIDOutput is implemented for MotorController for old PIDController

PIDOutput()

PIDOutput interface is a generic output for the PID class.

PIDSource()

PIDSource interface is a generic sensor source for the PID class.

PIDSubsystem(*args, **kwargs)

This class is designed to handle the case where there is a Subsystem which uses a single PIDController almost constantly (for instance, an elevator which attempts to stay at a constant height).

PIDUltrasonic(*args, **kwargs)

Wrapper so that PIDSource is implemented for Ultrasonic for old PIDController

PrintCommand(message)

A PrintCommand is a command which prints out a string when it is initialized, and then immediately finishes.

Scheduler

The Scheduler is a singleton which holds the top-level running commands.

StartCommand(commandToStart)

A PrintCommand is a command which prints out a string when it is initialized, and then immediately finishes.

Subsystem(name)

This class defines a major component of the robot.

TimedCommand(*args, **kwargs)

A TimedCommand will wait for a timeout before finishing.

WaitCommand(*args, **kwargs)

A WaitCommand will wait for a certain amount of time before finishing.

WaitForChildren(*args, **kwargs)

This command will only finish if whatever CommandGroup it is in has no active children.

WaitUntilCommand(*args, **kwargs)

A WaitCommand will wait until a certain match time before finishing.