public abstract class SimpleOpMode extends LightningOpMode
SimpleOpMode
is an op mode that is designed to make the op mode programming
process very easy. Many common functionalities are implemented in this class, so all
subclasses have easy access to that functionality.Modifier and Type | Field and Description |
---|---|
private Robot |
robot
The robot that this OpMode is designed for.
|
Constructor and Description |
---|
SimpleOpMode() |
Modifier and Type | Method and Description |
---|---|
protected Robot |
getRobot()
Get a reference to this op mode's robot.
|
protected void |
setRobot(Robot robot)
Sets the robot to use for this op mode.
|
initializeOpMode, main, runOpMode
init_loop, init, loop, opModeIsActive, sleep, start, stop, waitForNextHardwareCycle, waitForStart, waitOneFullHardwareCycle
private Robot robot