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 interfaceThis interface is used to implement a robot command.static interfaceThis interface is normally implemented by the main robot code.static enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TrcRobot.RunModeThis method returns the current robot RunMode.static voidsetRunMode(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.
-