MultiDualAutonomousMode

A DualAutonomousMode that can be registered as multiple separate opmodes, one for each value of the enum E.

Parameters

E

the enum to register separate opmodes 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

the selected alliance color

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
fun <T> forAlliance(red: T, blue: T): T
Link copied to clipboard
fun mirroredForAlliance(redPose: Pose): Pose
Link copied to clipboard
Link copied to clipboard