Expand description
Running cases: fly what the case says, measure it, and compare against the reference.
Structs§
- CaseRun
- What running one case gives.
- Descent
Device - One device as the reference declares it.
- Descent
Setup - The parts of a reference a descent case needs, read from the generator’s own JSON.
- Flight
Device - One recovery device of a whole flight, as the reference declares it.
- Flight
Motor - The motor of a whole flight, as the reference records RocketPy flying it.
- Whole
Flight Setup - The parts of a reference a whole-flight case needs, read from the generator’s own JSON.
Enums§
- Validate
Error - What can go wrong running a case.
Constants§
- DESCENT_
METRICS - The metric names a descent case can report.
- GAP_
CLOSED_ HINT - What to do when a case declares a known gap that hpr no longer has: the hint that ends that refusal’s message.
- HINTS
- The hints that end some of
ValidateError::Case’s messages, after"; ". A program can show one apart from the fact (ValidateError::help), such as on ahelp:line. - WHOLE_
FLIGHT_ METRICS - The metric names a whole-flight case can report:
flight.py’s, as RocketPy defines them, and the root mean square of hpr’s height and speed less the reference’sseries, whose reference is 0, exact agreement.
Functions§
- run_
case - Runs one case: flies it, measures it, and compares every metric it names.
- run_
lock - Runs every case the lock names, in its order, and reports the comparisons.
Type Aliases§
- Series
Row - One instant of a trajectory: time since ignition, height of the center of dry mass above where it started, and its speed, s, m and m/s.