Class AutonOpMode
java.lang.Object
com.stuypulse.robot.opmodes.AutonOpMode
- All Implemented Interfaces:
AutoCloseable, org.wpilib.opmode.OpMode
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidaddDefaultAuton(String name, Auton auton) final voidclose()voidClose callback method for being overridden by extending autonsfinal voidend()voidEnd callback method for being overridden by extending autonsprivate voidprivate voidfinal voidstart()protected voidStart callback method for being overridden by extending autonsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wpilib.opmode.OpMode
disabledPeriodic, getCallbacks, periodic
-
Field Details
-
chooser
-
robot
-
auto
-
-
Constructor Details
-
AutonOpMode
-
-
Method Details
-
addDefaultAuton
-
addAuton
-
setAuto
-
ifNotNull
-
start
- Specified by:
startin interfaceorg.wpilib.opmode.OpMode
-
startCallback
Start callback method for being overridden by extending autonsWill run after the command is scheduled and auto paths cleared from the display
-
end
- Specified by:
endin interfaceorg.wpilib.opmode.OpMode
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.wpilib.opmode.OpMode
-
endCallback
End callback method for being overridden by extending autonsWill run after the command is canceled and auto paths cleared from the display
-
closeCallback
Close callback method for being overridden by extending autonsWill run after the command is canceled, auto paths cleared from the display, and the chooser listener is removed
-