AutonomousMode

abstract class AutonomousMode<R : Robot> : VoltOpMode<R>

AutonomousMode is an abstract class that defines the methods for running an autonomous mode.

Parameters

R

the type of robot

Inheritors

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

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