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.voidreportDriverStationError(String error) Report an error to the driver station.voidreportUsage(String resource, String data) Report 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
-
reportUsage
Report usage.- Parameters:
resource- the resource namedata- arbitrary string data
-
isRoboRIO
Get if running on a roboRIO.- Returns:
- true if on roboRIO
-