Skip to main content

read

Function read 

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

Reads the ground station’s text.

§Errors

LogError::NotThisFormat if the first line that isn’t blank isn’t a RUN START line; LogError::Syntax if that line gives no time of day, or a value is too large to hold once converted to its unit; LogError::NoData if no packet is read; LogError::Unit if fcb_altitude’s climb is more than 25% off the barometer’s (module docs).