Skip to main content

Module held

Module held 

Source
Expand description

The readings held to their bounds on the synthetic flights: each reading a log gives, against its flight’s truth, beside the bound the reading states (M7.2b, the readings on every logger).

A tuning flight is checked on its own logger’s log and, if that logger has a barometer, on the same barometer written again at every rate of GRID_RATES_HZ in every way of GRID_WRITTEN: from 500 samples a second to one every two seconds, and from no step to 10 m in height or 100 Pa in pressure, the range the readers’ families span; and, as a logger that records from launch writes them, the two recordings of CROPPED cut to each start of Crop. A reading holds where its error is no larger than its bound; cargo xtask synthetic fails unless every reading given on the tuning set holds, and reports the worst share of its bound each reading’s error reached, on each log, and the readings withheld, by reason.

The truths, on the log’s clock (the truth’s time plus the seconds logged before launch): liftoff and landing are the truth’s events, the center of mass starting along the rail and reaching the ground; apogee is the center of mass’s highest point, its height above where it stood at launch; the top speed is the truth’s highest vertical speed; the flight time is landing less liftoff; and the mean rate of descent is the center of mass’s height at apogee above the ground over the time from apogee to landing.

Structs§

Errors
The errors one reading gave over a set, every log of it together: a floor’s apart from the same reading’s measured.
Spread
The spread of a reading’s finite errors.
Tally
How one reading fared on one kind of log over a set.
Worst
The worst a reading came to on one kind of log.

Enums§

Crop
Where a logger that records from launch starts its log.
Outcome
What one reading of one log came to.
Quantity
A reading the check holds.

Constants§

ACCELEROMETER_RATES_HZ
The rates, samples a second, the check writes each accelerometer at again: Blue Raven’s 500, a Raven’s axial 400 and AltOS’s 100 lie within them, and 20 is the slowest a logger’s accelerometer is written at among the families read.
CROPPED
The recordings the check also cuts to each Crop: 20 samples a second, as most loggers that record from launch write, in whole feet as a PerfectFlite, an RRC3 or an Eggtimer, and as a pressure alone in 10 Pa steps as a Raven or an AltOS keeps its raw pressure.
GRID_RATES_HZ
The rates, samples a second, the grid writes a barometer at: Blue Raven’s 500, AltOS’s 100, the 20 most barometric loggers keep, then slower than any but a radio’s telemetry.
GRID_WRITTEN
How the grid writes a barometer’s reading: as an altitude with no step, in whole feet and in 10 m steps, and as a pressure alone in 1, 10 and 100 Pa steps, past the coarsest the readers’ families write (MARSA’s 8.8 m, an ARTS2’s 92 Pa).

Functions§

errors
The errors of every reading given in flights, every log together, in Quantity::ALL’s order, each reading’s measured before its floors. An error of infinite size, such as a main named on a flight that opened one canopy, is counted in given and left out of the spread; the bound’s check fails on it.
grid
Every rate of GRID_RATES_HZ with every way of GRID_WRITTEN, the same rate climbing and descending.
logs
The logs flight index is checked on: its own logger’s, named by its profile; its barometer’s at each of grid’s recordings, named by name; its own logger’s log with the accelerometer at each of ACCELEROMETER_RATES_HZ, and with it set to the lower range its part offers, named by lower_range_name, so that some tops clip at the range and the rest don’t; and its barometer’s at each of CROPPED’s recordings, cut each Crop way. A logger with no barometer gives no grid’s or crop’s, one with no accelerometer no accelerometer’s, and one whose part has no lower setting no lower range’s.
lower_range_name
The name in the report of the log accelerometer_log_set_lower writes.
name
A recording’s name in the report, such as 20 Hz, altitude in 0.3048 m steps.
outcomes
Each reading log gives of flight, against the truth.
tally
The tallies of every flight’s outcomes: outcomes[k] holds flight flights[k]’s logs, each named, with their outcomes. In the order logs are first met, then Quantity::ALL’s.
top_over_lower_range
As top_over_range, against the lower range its logger’s accelerometer is set to on the log accelerometer_log_set_lower writes; None for a part with no such setting.
top_over_range
How near flight’s top acceleration came to the range its logger’s accelerometer clips at: the truth’s top over the range, which a part reaches at 1; None for a logger with no accelerometer.

Type Aliases§

FlightOutcomes
A flight’s outcomes: its index in its set, and each of its logs, named, with each quantity’s outcome.