Expand description
Type definitions for Strand Camera’s state management and browser UI communication.
This crate provides core data structures that represent the complete state of a Strand Camera instance, including camera settings, recording status, feature detection configuration, and various processing modes. These types are primarily used for:
- Serializing camera state for the web-based user interface
- Managing recording sessions across different file formats
- Configuring real-time image processing features
- Coordinating LED control and Kalman tracking functionality
§Key Components
StoreType: The main state container for all camera configuration and status- Recording management for MP4, FMF, and UFMF formats
- Feature detection and tracking configuration
- LED control and triggering systems
- AprilTag detection and checkerboard calibration support
§Communication
The types in this crate support Server-Sent Events for real-time browser updates and remote camera control via HTTP APIs.
Structs§
- Apriltag
State - State and configuration of AprilTag detection.
- Checkerboard
CalState - State of checkerboard camera calibration process.
- ImOps
State - Configuration for image operations and UDP data streaming.
- Kalman
Tracking Config - Configuration for Kalman filter-based object tracking.
- LedProgram
Config - Configuration for LED control and position-based triggering.
- Ranged
Value - A numeric value with associated metadata for user interface controls.
- Store
Type - Complete state representation of a Strand Camera instance.
- Version
Update - Information about a newer available release of Strand Camera.
Enums§
- Callback
Type - Commands and callbacks that can be sent to control camera behavior.
- LEDTrigger
Mode - LED triggering modes for controlling external lighting.
- ToLed
BoxDevice - Commands that can be sent to LED control devices.
Constants§
- APRILTAG_
CSV_ TEMPLATE_ DEFAULT - Default filename template for AprilTag CSV recordings.
- CONN_
KEY_ EVENT_ NAME - Event name for connection key SSE messages.
- STRAND_
CAM_ EVENTS_ URL_ PATH - URL path for Strand Camera’s Server-Sent Events endpoint.
- STRAND_
CAM_ EVENT_ NAME - Event name for Strand Camera SSE messages.
- STRAND_
CAM_ QUIT_ EVENT_ NAME - Event name for the server-is-quitting SSE message.