Class Scheduler

java.lang.Object
edu.wpi.first.wpilibj.command.Scheduler
All Implemented Interfaces:
NTSendable, Sendable, AutoCloseable

public final class Scheduler
extends Object
implements NTSendable, AutoCloseable
The Scheduler is a singleton which holds the top-level running commands. It is in charge of both calling the command's run() method and to make sure that there are no two commands with conflicting requirements running.

It is fine if teams wish to take control of the Scheduler themselves, all that needs to be done is to call Scheduler.getInstance().run() often to have Commands function correctly. However, this is already done for you if you use the CommandBased Robot template.

See Also:
Command