Class TrcRobot

java.lang.Object
trclib.robotcore.TrcRobot

public class TrcRobot extends Object
This class is a container. It contains some robot related types and interfaces.
  • Field Details

  • Constructor Details

    • TrcRobot

      public TrcRobot()
  • Method Details

    • setRunMode

      public static void setRunMode(TrcRobot.RunMode runMode)
      This method is used by the robot scheduler to set the current run mode.
      Parameters:
      runMode - specifies the current robot RunMode.
    • getRunMode

      public static TrcRobot.RunMode getRunMode()
      This method returns the current robot RunMode.
      Returns:
      robot RunMode.