video library

Classes

BurtRsConfig
BurtRsStatus
CameraIsolate
A child isolate that manages a single camera and streams frames from it.
Collection
Class to contain all video devices
DepthFramePayload
A depth frame to be sent to the Autonomy program.
DetailsPayload
A payload representing the status of the given camera.
FramePayload
A container for a pointer to a native buffer that can be sent across isolates.
IsolatePayload
A payload containing some data to report back to the parent isolate.
LibRealSenseBindings
Bindings for the RealSense SDK.
LogPayload
A class to send log messages across isolates. The parent isolate is responsible for logging.
NativeFrames
NativeRealSense
A fake ("opaque") C-friendly struct that we'll use a pointer to. This pointer will actually represent the RealSense class in C++
OpenCVCameraIsolate
An isolate that is spawned to manage one camera.
PeriodicTimer
An alternative to Timer.periodic that ensures its callback is only being run once.
RealSenseInterface
An interface for reading the RealSense camera.
RealSenseIsolate
An isolate to read RGB, depth, and colorized frames from the RealSense.
VideoController
A parent isolate that spawns CameraIsolates to manage the cameras.
VideoServer
Class for the video program to interact with the dashboard

Extensions

NativeFramesUtils on Pointer<NativeFrames>
Utils on a Pointer to NativeFrames.

Constants

maxPacketLength → const int
The maximum size of a UDP packet, in bytes (minus a few to be safe).

Properties

autonomySocket → SocketInfo
The socket to send autonomy data to.
final
cameraIndexes Map<CameraName, int>
Map for WINDOWS devices
getter/setter pair
cameraNames Map<CameraName, String>
These list maps OpenCV IDs (index) to CameraNames.
getter/setter pair
collection Collection
Holds all the devices connected
final
logger → BurtLogger
Displays logs in the terminal and sends them to the Dashboard
final
realsenseLib LibRealSenseBindings
The C bindings generated by package:ffigen.
final

Functions

detectAndAnnotateFrames(Pointer<Mat> image) → void
Detect ArUco tags in the cv::aruco::DICT_4X4_50 dictionary and annotate them
getCamera(CameraName name) → Camera
Returns the camera depending on device program is running
getDefaultDetails(CameraName name) → CameraDetails
Default details for a camera
getRealsenseDetails(CameraName name) → CameraDetails
Default details for the RealSense camera.

Typedefs

Resolution = ({int height, int width})
The resolution of an image.