Skip to main content

read

Function read 

Source
pub fn read(text: &str) -> Result<FlightLog, LogError>
Expand description

Reads AltOS’s telemetry decoded to a table, from its text.

§Errors

LogError::NotThisFormat if the header doesn’t open serial,tick,ptype,; LogError::Syntax for a header naming a column twice, more than MAX_COLUMNS or no height or crc, and for a row that the module’s docs say refuses the file; LogError::NoData if no row passed its check.