Interface CameraServerShared


public interface CameraServerShared
CameraServer shared functions.
  • Method Details

    • getRobotMainThreadId

      get the main thread id func.
      Returns:
      the robotMainThreadId
    • reportDriverStationError

      Report an error to the driver station.
      Parameters:
      error - the error to set
    • reportVideoServer

      void reportVideoServer(int id)
      Report an video server usage.
      Parameters:
      id - the usage id
    • reportUsbCamera

      void reportUsbCamera(int id)
      Report a usb camera usage.
      Parameters:
      id - the usage id
    • reportAxisCamera

      void reportAxisCamera(int id)
      Report an axis camera usage.
      Parameters:
      id - the usage id
    • isRoboRIO

      default boolean isRoboRIO()
      Get if running on a roboRIO.
      Returns:
      true if on roboRIO