Package edu.wpi.first.cameraserver
Interface CameraServerShared
public interface CameraServerShared
CameraServer shared functions.
-
Method Summary
Modifier and TypeMethodDescriptionget the main thread id func.default booleanGet if running on a roboRIO.voidreportAxisCamera(int id) Report an axis camera usage.voidreportDriverStationError(String error) Report an error to the driver station.voidreportUsbCamera(int id) Report a usb camera usage.voidreportVideoServer(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
-