Skip to main content

Crate braid_triggerbox

Crate braid_triggerbox 

Source
Expand description

Host-side driver for the Braid camera synchronization triggerbox.

Structs§

ClockModel
A linear model relating triggerbox pulse number to host time.
TriggerClockInfoRow
A raw clock measurement.
TriggerboxDevice
A Braid Triggerbox device.
TriggerboxOptions
Options for run_triggerbox.

Enums§

Cmd
A command for the triggerbox.

Constants§

DEVICE_NAME_LEN
Length of the device name (in bytes).

Functions§

make_trig_fps_cmd
Given an ideal frame rate (in frames per second), compute the triggerbox command which best approximates this frame rate.
name_display
Format a device name for display.
run_triggerbox
Connect to a triggerbox and run until outq is closed.
to_name_type
Convert a string to a device name.

Type Aliases§

ClockModelCallback
Callback called with each new clock model, or None when the model is reset.
InnerNameType
A device name.
NameType
An optional device name.