@Autonomous("Autonomous Op Mode - Crater Side", "* Main") class AutoOpModeCrater : AutoOpMode
Autonomous op mode to use in case the robot cannot determine its position on the crater side.
AutoOpModeCrater()
Autonomous op mode to use in case the robot cannot determine its position on the crater side. |
val claimDepotAngle: Double
Angle to which the robot should turn in order to claim the depot when started from the crater side, in degrees. (3) |
|
val claimDepotPauseTime: Int
How long the robot should pause after extending the intake, in milliseconds. (2) |
|
val drive: MecanumDrive |
|
val exitDepotTime: Int
How long the robot exits the depot for when started from the depot side. |
|
val extake: ElevatorExtake |
|
val gyro: Gyro |
|
val intake: ElevatorIntake |
|
val knockMineralCraterSideTime: Int
How long the robot should move to knock a mineral on the crater side, in milliseconds. (C) |
|
val knockMineralDepotSideTime: Int
How long the robot should move to knock a mineral on the depot side, in milliseconds. (B) |
|
val knockMineralReturnCraterSideTime: Int
How long the robot should move after knocking a mineral on the crater side, in milliseconds. (C) |
|
val moveFromLanderTime: Int
How long the robot should move away from the lander, in power-adjusted milliseconds. (A) |
|
val moveToDepotCraterSidePower: Double
Power at which the robot moves along the side of the field towards the depot. (V) |
|
val moveToMineralCraterSideTime: Int
How long the robot should move horizontally towards a mineral when started from the depot side, in milliseconds. (M) |
|
val moveToMineralDepotSideTime: Int
How long the robot should move horizontally towards a mineral when started from the depot side, in milliseconds. (M) |
|
val moveToSideCraterSideTime: Int
How long the robot should move from the center mineral towards the side of the field before traveling to the depot, in milliseconds. (D) |
|
val parkAtCraterDepotSideTime: Int
How long the robot should move towards the crater, in milliseconds. (H) |
|
val postKnockMineralDepotSideTime: Int
How long the robot should move after knocking a mineral on the depot side, in milliseconds. (C) |
|
val rotateIntakePos: Int
Point to which the robot should rotate the intake. (2) |
|
val rotateIntakePower: Double
Power at which the robot should rotate the intake, in milliseconds. (2) |
|
val standardPower: Double
Standard power used when moving the robot. All millisecond values are multiplied by this value. |
|
val states: LinkedList<State> |
|
val turnPower: Double
Power at which the robot should turn. |
|
val vision: Vision |
|
val visionTime: Int
How long the robot should obtain vision data for, in milliseconds. (1) |
fun runOpMode(): Unit |
open fun addCraterStates(): Unit
Adds states to be used when the robot starts on the crater side. |
|
open fun addDepotStates(): Unit
Adds states to be used when the robot starts on the depot side. |
|
open fun addFallbackStates(): Unit
Adds states to be used in case a location cannot be determined. |
|
fun run(): Unit |
|
fun setup(): Unit |