IterativeRobot

class wpilib.IterativeRobot() → None

Bases: wpilib.IterativeRobotBase

IterativeRobot implements the IterativeRobotBase robot program framework.

The IterativeRobot class is intended to be subclassed by a user creating a robot program.

Periodic() functions from the base class are called each time a new packet is received from the driver station.

endCompetition() → None

Ends the main loop in StartCompetition().

startCompetition() → None

Provide an alternate “main loop” via StartCompetition().

This specific StartCompetition() implements “main loop” behaviour synced with the DS packets.