Skip to main content

Module tip_off

Module tip_off 

Source
Expand description

HPR Sim’s tip-off phase, flown as RocketPy flew its own: the flights behind validation/reports/tip-off-model.json (the tip-off phase, held to RocketPy’s; the tip-off decision record, ADR-357, decision 4).

validation/reports/tip-off.json holds what RocketPy’s tip-off phase does to thirteen designs built from its examples, in still air and in a crosswind, with everything each flight carried. fly flies one of those flights in HPR Sim from that record: the public design built from the same example, the record’s rail, site, wind, parachutes and declared drag coefficient, guided to the last guide as HPR Sim flies by default, or with its tip-off phase (hpr_sim::Simulation::with_tip_off).

Loft lesson L75: the inputs come from the oracle’s own record of what it flew, and the design is checked against that record (its dry mass, the area its drag acts on, its motor) before any difference is read as physics.

What is measured, as the oracle’s script measures it:

  • The apogee is the center of mass’s greatest height above where the center of dry mass started, which is where RocketPy’s tracked point starts.
  • The landing point is where the center of dry mass is, east and north of where it started, when it is back at its starting height.
  • Where the last guide leaves the rail, the angle between the rocket’s axis and the rail’s as two parts, nose below the rail’s line in the rail’s vertical plane and nose to the right of its heading, and the rate at which the nose’s direction moves, as the same two parts.

Structs§

Flown
One flight’s figures.
Release
The state where the last guide leaves the rail.

Enums§

NormalForce
Which normal force a flight flies.

Functions§

fly
Flies, in HPR Sim, the flight of case (a case of the oracle’s report, with its rail and site) in wind (one of the case’s winds, with the wind and what the flight carried) on the constant drag coefficient declared_cd0 (the report’s [Mach, C_D] rows) and the normal force normal_force, with the tip-off phase if tip_off and guided to the last guide otherwise.