Struct strand_cam_storetype::StoreType
source · pub struct StoreType {Show 46 fields
pub is_braid: bool,
pub is_nvenc_functioning: bool,
pub is_recording_mp4: Option<RecordingPath>,
pub is_recording_fmf: Option<RecordingPath>,
pub is_recording_ufmf: Option<RecordingPath>,
pub format_str_mp4: String,
pub format_str: String,
pub format_str_ufmf: String,
pub camera_name: String,
pub camera_gamma: Option<f32>,
pub recording_filename: Option<String>,
pub mp4_max_framerate: RecordingFrameRate,
pub mp4_bitrate: BitrateSelection,
pub mp4_codec: CodecSelection,
pub mp4_cuda_device: String,
pub gain_auto: Option<AutoMode>,
pub gain: RangedValue,
pub exposure_auto: Option<AutoMode>,
pub exposure_time: RangedValue,
pub frame_rate_limit_enabled: bool,
pub frame_rate_limit: Option<RangedValue>,
pub trigger_mode: TriggerMode,
pub trigger_selector: TriggerSelector,
pub image_width: u32,
pub image_height: u32,
pub has_image_tracker_compiled: bool,
pub is_doing_object_detection: bool,
pub measured_fps: f32,
pub is_saving_im_pt_detect_csv: Option<RecordingPath>,
pub im_pt_detect_cfg: ImPtDetectCfg,
pub has_flydratrax_compiled: bool,
pub kalman_tracking_config: KalmanTrackingConfig,
pub led_program_config: LedProgramConfig,
pub led_box_device_lost: bool,
pub led_box_device_state: Option<DeviceState>,
pub led_box_device_path: Option<String>,
pub has_checkercal_compiled: bool,
pub checkerboard_data: CheckerboardCalState,
pub checkerboard_save_debug: Option<String>,
pub post_trigger_buffer_size: usize,
pub cuda_devices: Vec<String>,
pub apriltag_state: Option<ApriltagState>,
pub im_ops_state: ImOpsState,
pub format_str_apriltag_csv: String,
pub had_frame_processing_error: bool,
pub camera_calibration: Option<Camera<f64>>,
}
Fields§
§is_braid: bool
Whether we are running inside Braid.
is_nvenc_functioning: bool
Whether we have Nvidia NvEnc encoder available.
is_recording_mp4: Option<RecordingPath>
is saving MP4 file
is_recording_fmf: Option<RecordingPath>
is saving FMF file
is_recording_ufmf: Option<RecordingPath>
is saving UFMF file
format_str_mp4: String
§format_str: String
§format_str_ufmf: String
§camera_name: String
§camera_gamma: Option<f32>
§recording_filename: Option<String>
§mp4_max_framerate: RecordingFrameRate
§mp4_bitrate: BitrateSelection
§mp4_codec: CodecSelection
§mp4_cuda_device: String
CUDA device number (only used if using nvidia encoder)
gain_auto: Option<AutoMode>
§gain: RangedValue
§exposure_auto: Option<AutoMode>
§exposure_time: RangedValue
§frame_rate_limit_enabled: bool
§frame_rate_limit: Option<RangedValue>
None when frame_rate_limit is not supported
trigger_mode: TriggerMode
§trigger_selector: TriggerSelector
§image_width: u32
§image_height: u32
§has_image_tracker_compiled: bool
Whether object detection with image-tracker crate is compiled.
is_doing_object_detection: bool
Whether object detection is currently used.
measured_fps: f32
§is_saving_im_pt_detect_csv: Option<RecordingPath>
is saving object detection CSV file
im_pt_detect_cfg: ImPtDetectCfg
§has_flydratrax_compiled: bool
Whether flydratrax (2D kalman tracking and LED triggering) is compiled.
kalman_tracking_config: KalmanTrackingConfig
§led_program_config: LedProgramConfig
§led_box_device_lost: bool
§led_box_device_state: Option<DeviceState>
§led_box_device_path: Option<String>
§has_checkercal_compiled: bool
Whether checkerboard calibration is compiled.
checkerboard_data: CheckerboardCalState
§checkerboard_save_debug: Option<String>
Path where debug data is being saved.
post_trigger_buffer_size: usize
§cuda_devices: Vec<String>
§apriltag_state: Option<ApriltagState>
This is None if no apriltag support is compiled in. Otherwise Some(_).
im_ops_state: ImOpsState
§format_str_apriltag_csv: String
§had_frame_processing_error: bool
§camera_calibration: Option<Camera<f64>>
The camera calibration (does not contain potential information about water)
Trait Implementations§
source§impl<'de> Deserialize<'de> for StoreType
impl<'de> Deserialize<'de> for StoreType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for StoreType
impl PartialEq for StoreType
impl StructuralPartialEq for StoreType
Auto Trait Implementations§
impl Freeze for StoreType
impl RefUnwindSafe for StoreType
impl Send for StoreType
impl Sync for StoreType
impl Unpin for StoreType
impl UnwindSafe for StoreType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.