Class Utility


  • @Deprecated
    public final class Utility
    extends Object
    Deprecated.
    Use RobotController class instead
    Contains global utility functions.
    • Method Detail

      • getFPGATime

        @Deprecated
        public static long getFPGATime()
        Deprecated.
        Use RobotController.getFPGATime()
        Read the microsecond timer from the FPGA.
        Returns:
        The current time in microseconds according to the FPGA.
      • getUserButton

        @Deprecated
        public static boolean getUserButton()
        Deprecated.
        Use RobotController.getUserButton()
        Get the state of the "USER" button on the roboRIO.
        Returns:
        true if the button is currently pressed down