Scheduler
object Scheduler
Command-based paradigm scheduler and task plexus for BunyipsLib in TeleOp. This is a singleton used to schedule and run tasks.
Designed to mirror the WPILib command scheduler. Implementations must call update periodically.
It is recommended to use the following static imports with the Scheduler:
import static au.edu.sa.mbhs.studentrobotics.bunyipslib.Scheduler.*;
import static au.edu.sa.mbhs.studentrobotics.bunyipslib.transforms.Controls.*;
import static au.edu.sa.mbhs.studentrobotics.bunyipslib.transforms.Controls.Analog.*;
import static au.edu.sa.mbhs.studentrobotics.bunyipslib.tasks.bases.Task.*;Content copied to clipboard
Author
Lucas Bubner, 2025
Since
8.0.0
Types
Link copied to clipboard
Button or axis binding creator.
Link copied to clipboard
class ScheduledTask(val task: Task, val trigger: Scheduler.Trigger, val binding: BiConsumer<Boolean, Boolean>)
Link copied to clipboard
Properties
Functions
Link copied to clipboard
Calls finish on and clears all current activeTasks.
Link copied to clipboard
Creates a button or axis trigger binder to create a Trigger for gamepad1.
Link copied to clipboard
Creates a button or axis trigger binder to create a Trigger for gamepad2.
Link copied to clipboard
Link copied to clipboard
Use a specific subset of subsystems for the Scheduler.