Package edu.wpi.first.cameraserver
Interface CameraServerShared
public interface CameraServerShared
-
Method Summary
Modifier and Type Method Description Long
getRobotMainThreadId()
get the main thread id func.default boolean
isRoboRIO()
Get if running on a roboRIO.void
reportAxisCamera(int id)
Report an axis camera usage.void
reportDriverStationError(String error)
Report an error to the driver station.void
reportUsbCamera(int id)
Report a usb camera usage.void
reportVideoServer(int id)
Report an video server usage.
-
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
Report an video server usage.- Parameters:
id
- the usage id
-
reportUsbCamera
Report a usb camera usage.- Parameters:
id
- the usage id
-
reportAxisCamera
Report an axis camera usage.- Parameters:
id
- the usage id
-
isRoboRIO
Get if running on a roboRIO.- Returns:
- true if on roboRIO
-