Package edu.wpi.first.cameraserver
Interface CameraServerShared
public interface CameraServerShared
CameraServer shared functions.
-
Method Summary
Modifier and TypeMethodDescriptionget the main thread id func.default boolean
Get if running on a roboRIO.void
reportDriverStationError
(String error) Report an error to the driver station.void
reportUsage
(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
-