CheckmateRobot

class CheckmateRobot(hardwareMap: HardwareMap) : AbstractRobot

Checkmate robot class to access subsystems.

Parameters

Constructors

Link copied to clipboard
fun CheckmateRobot(hardwareMap: HardwareMap)

Enables Lynx caching. Registers default subsystems.

Functions

Link copied to clipboard
fun cleanup()

Runs cleanup() on all subsystems.

Link copied to clipboard
fun preLoop()

Runs once before the loop.

Link copied to clipboard
fun update()

Updates all subsystems.

Properties

Link copied to clipboard
val barcode: Barcode

Access the Barcode subsystem from the registry.

Link copied to clipboard
val bucket: Bucket

Access the Bucket subsystem from the registry.

Link copied to clipboard
val carousel: Carousel

Access the Carousel subsystem from the registry.

Link copied to clipboard
val drivetrain: Drivetrain

Access the Drivetrain subsystem from the registry.

Link copied to clipboard
val intake: Intake

Access the Intake subsystem from the registry.

Link copied to clipboard
val lift: Lift

Access the Lift subsystem from the registry.

Link copied to clipboard
val subsystems: SubsystemMap

Storage for added subsystems.