abstract inner class State
Abstract class representing a single state/step in the AutoOpMode.
State()
Abstract class representing a single state/step in the AutoOpMode. |
abstract val name: String
The name of the State, displayed on the driver station. |
abstract fun run(prev: State?, next: State?): Unit
Runs the code associated with a state. |
inner class ClaimDepot : State
State in which the robot uses its intake to claim the depot. (2) |
|
inner class EnterDepot : State
State in which the robot enters the depot from the depot side. |
|
inner class ExitDepot : State
State in which the robot exits the depot. |
|
inner class GatherVisionData : State
State in which the robot gathers vision data. (1) |
|
inner class KnockMineralCraterSide : State
State in which the robot knocks the mineral and travels to the crater from the depot side. |
|
inner class KnockMineralDepotSide : State
State in which the robot knocks the mineral from the depot side. |
|
inner class Land : State
Work-in-progress state in which the robot lands. |
|
inner class MoveFromLander : State
State in which the robot moves away from the lander. (A) |
|
inner class MoveToSideCraterSide : State
State in which the robot moves to the side to prepare to travel to the depot. |
|
inner class ParkAtCraterCraterSide : State
State in which the robot travels to and parks at the crater when started from the crater side. |
|
inner class ParkAtCraterDepotSide : State
State in which the robot travels to and parks at the crater when started from the crater side. |
|
inner class TravelToDepot : State
State in which the robot travels to the depot. |
|
inner class TurnTowardsDepotCraterSide : State
State in which the robot uses its gyro to turn towards the depot when started from the crater. |
|
inner class TurnTowardsDepotDepotSide : State
State in which the robot uses its gyro to turn towards the depot when started from the depot. |