Package trclib.robotcore
Class TrcRobot
java.lang.Object
trclib.robotcore.TrcRobot
This class is a container. It contains some robot related types and interfaces.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
This interface is used to implement a robot command.static interface
This interface is normally implemented by the main robot code.static enum
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TrcRobot.RunMode
This method returns the current robot RunMode.static void
setRunMode
(TrcRobot.RunMode runMode) This method is used by the robot scheduler to set the current run mode.
-
Field Details
-
currRunMode
-
-
Constructor Details
-
TrcRobot
public TrcRobot()
-
-
Method Details
-
setRunMode
This method is used by the robot scheduler to set the current run mode.- Parameters:
runMode
- specifies the current robot RunMode.
-
getRunMode
This method returns the current robot RunMode.- Returns:
- robot RunMode.
-