public static class OpModeManagerImpl.DefaultOpMode extends OpMode
OpModeManagerImpl.DefaultOpMode is the opmode that the system runs when no user opmode is active.
Note that it's not necessarily the case that this opmode runs when a user opmode stops: there
are situations in which we can transition directly for one user opmode to another.gamepad1, gamepad2, hardwareMap, msStuckDetectInit, msStuckDetectInitLoop, msStuckDetectLoop, msStuckDetectStart, msStuckDetectStop, telemetry, time| Constructor and Description |
|---|
OpModeManagerImpl.DefaultOpMode() |
| Modifier and Type | Method and Description |
|---|---|
void |
init_loop()
User defined init_loop method
|
void |
init()
User defined init method
|
void |
loop()
User defined loop method
|
void |
stop()
User defined stop method
|
getRuntime, postInitLoop, postLoop, preInit, requestOpModeStop, resetStartTime, start, updateTelemetrypublic void init()
OpModeThis method will be called once when the INIT button is pressed.
public void init_loop()
OpModeThis method will be called repeatedly when the INIT button is pressed. This method is optional. By default this method takes no action.
public void loop()
OpModeThis method will be called repeatedly in a loop while this op mode is running