pub struct Log {
pub file: &'static str,
pub header_lines: usize,
pub time_column: usize,
pub height_column: usize,
pub meters_per_unit: f64,
pub until_s: Option<f64>,
pub altimeter: Altimeter,
pub pressure: Option<(usize, f64)>,
pub gnss: Option<Gnss>,
}Expand description
Where a flight’s altitude log is and how to read it.
Fields§
§file: &'static strThe CSV file, under refs/rocketpy/data/rockets/.
header_lines: usizeHeader lines before the first row.
time_column: usizeThe column of time, s (zero-based).
height_column: usizeThe column of height above the pad (zero-based), used as recorded.
meters_per_unit: f64Meters per unit of the height column.
until_s: Option<f64>Rows after this time are not read, s: where the log stops recording the rocket’s height,
at an ejection charge’s pressure transient past apogee or a corrupted end. The flight’s
RealFlight::note says which.
altimeter: AltimeterWhat measured the height, and so what of hpr’s flight it is compared with.
pressure: Option<(usize, f64)>The column of the pressure the height was read from, and pascals per unit, where the log keeps it: the report gives how far the height column is from the standard atmosphere’s reading of it.
gnss: Option<Gnss>The flight’s satellite (GNSS) altitude, where it logged one: a geometric height to hold the barometric reading against.