Package edu.wpi.first.cameraserver
Interface CameraServerShared
-
public interface CameraServerShared
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LonggetRobotMainThreadId()get the main thread id func.default booleanisRoboRIO()Get 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 Detail
-
getRobotMainThreadId
Long getRobotMainThreadId()
get the main thread id func.- Returns:
- the robotMainThreadId
-
reportDriverStationError
void reportDriverStationError(String error)
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
-
-