FrameFocusReading
pub struct FrameFocusReading
A lens position for a frame, and how far to trust it.
Read with Frame::focus_reading. Frame::focus answers only
the frame's own position; this answers that too, and also the
status telegram's, so check source before treating a position as
the frame's own.
FrameFocusReading — fields
focus: FrameFocus
The position, in the same scales as Frame::focus.
source: FrameFocusSource
Where it came from.
age: core::time::Duration
For FrameFocusSource::StatusTelegram: how long before the
frame was handed over the telegram arrived, plus how much later
than the quickest recent telegram it came. The time the camera
took to read its lens and send the telegram is not in it. At
most five seconds. Zero for the frame's own position.
arrived_us: u64
For FrameFocusSource::StatusTelegram: when the telegram
reached this computer, in microseconds on the same clock as the
frames' timestamp_us, which over Ethernet is also the
computer's arrival time. So timestamp_us - arrived_us is how
long before the frame arrived the telegram did, and two readings
with the same arrived_us are the same telegram. It is when the
telegram arrived, not when the camera read its lens. Zero for
the frame's own position.