Skip to main content

stream_samples

Function stream_samples 

Source
pub(crate) fn stream_samples(tag: &Tag)
Expand description

Streams the calibration log until Ctrl-C or a failed fetch, printing one Raw: line per sample. The firmware buffers samples between requests, so requests are 100 ms apart, qtcalibrate’s streaming interval. Floats print with two decimals, as the C++ sets std::fixed with precision 2; a missing sensor prints as zeros.