TeamCode / org.firstinspires.ftc.teamcode.autonomous / AutoOpMode / TurnTowardsDepotCraterSide

TurnTowardsDepotCraterSide

inner class TurnTowardsDepotCraterSide : State

State in which the robot uses its gyro to turn towards the depot when started from the crater.

Constructors

<init>

TurnTowardsDepotCraterSide()

State in which the robot uses its gyro to turn towards the depot when started from the crater.

Properties

name

val name: String

The name of the State, displayed on the driver station.

Functions

run

fun run(prev: State?, next: State?): Unit

Runs the code associated with a state.