Skip to main content

Module guide

Module guide 

Source
Expand description

A guide to the hpr crate, in the API reference: what to read first, and how the pieces fit.

This module has no code, only chapters. Each is short, and the code in it is compiled and run by CI, so it stays true. The documentation site says the same things at more length, with the numbers the example programs print; each of the first four chapters links its page.

  1. building: a rocket, part by part from the nose back.
  2. flying: where it flies, from what rail, and what a flight tells you.
  3. custom_models: a drag model, a wind or an atmosphere of your own in hpr’s place.
  4. beneath: the crates under the builder, for what it doesn’t offer.
  5. examples: the example programs, and what each shows.

How far to trust it. The builder adds no physics; its numbers are those of the models beneath it. The site’s Accuracy page says how well each has been checked, with every comparison made. Read it before trusting a number.

Modules§

beneath
The crates under the builder, for what it doesn’t offer.
building
A rocket, part by part from the nose back.
custom_models
A drag model, a wind or an atmosphere of your own, flown in hpr’s place.
examples
The example programs, and what each shows.
flying
Where a rocket flies, from what rail, and what a flight tells you.