Skip to main content

compare

Function compare 

Source
pub fn compare(
    log: &FlightLog,
    read: &Readings,
    simulated: &Simulated,
    height_read_as: Option<HeightKind>,
) -> Result<Comparison, ResidualsError>
Expand description

log, read as read, against simulated.

height_read_as overrides what the log’s height is taken to stand for, for a log whose sensor is known from elsewhere; None goes by the source of the log’s liftoff.

§Errors

ResidualsError if the log or the simulated flight has no liftoff to line the clocks up by.