TeamCode / org.firstinspires.ftc.teamcode.autonomous / AutoOpMode / State / run

run

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

Runs the code associated with a state.

Parameters

prev - previous state; null if none

next - next state; null if none known