Expand description
The example programs, and what each shows.
Each runs with cargo run --example <name> -p hpr from anywhere in the repository. What
each prints is committed beside it as <name>.output.txt, and CI checks, on macOS,
Windows and Linux, that it still prints exactly that.
| Example | What it shows |
|---|---|
build_and_fly | a rocket built part by part, weighed, and flown in a wind under a parachute |
motor_choice | one rocket on each 29 mm motor in the catalog, with the best ejection delay |
fin_sizing | fins of five spans: the margin, the apogee and the drift of each |
catalog_rocket | a rocket built from a maker’s catalog parts, weighed part by part and flown |
custom_drag | drag models of your own in place of hpr’s |
custom_wind | a wind model of your own, which turns with height |
ork_two_stage | a two-stage OpenRocket file flown through the crates beneath |
fin_flutter | the fin flutter speed along a flight |
era5_weather | a flight in a day’s weather from an ERA5 file |