MultiAutonomousMode

abstract class MultiAutonomousMode<R : Robot, E : Enum<*>> : AutonomousMode<R>

An AutonomousMode that can be registered as multiple separate op modes, one for each value of the enum E.

Parameters

E

the enum to register separate op modes for

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Properties

Link copied to clipboard

used to share information across opmodes

Link copied to clipboard
val gamepad1: Gamepad

used to get information from gamepad one

Link copied to clipboard
val gamepad2: Gamepad

used to get information from gamepad two

Link copied to clipboard
val hardwareMap: HardwareMap

used to get hardware instances

Link copied to clipboard
val telemetry: Telemetry

used to log information to the driver station

Link copied to clipboard
val variant: E

the selected variant of E

Functions

Link copied to clipboard
open override fun begin()

Code to run when the op mode begins.

Link copied to clipboard
open fun end()

Optional code to run when the op mode ends.

Link copied to clipboard
Link copied to clipboard