addSubsystems

fun addSubsystems(vararg dispatch: BunyipsSubsystem)

Add subsystems to the scheduler. This will ensure the update() method of the subsystems is called, and that commands can be scheduled on these subsystems. This is REQUIRED to be called if using a base implementation of Scheduler. If you are using a CommandBasedBunyipsOpMode, see the use() method or rely on the automatic features during construction that will add subsystems at construction with no need to call this method.

The base implementation of Scheduler does not access this implicit construction for finer-grain control for implementations that don't want this behaviour.

Parameters

dispatch

The subsystems to add.