Skip to main content

Module ork

Module ork 

Source
Expand description

Flying what an OpenRocket .ork file says about staging and recovery.

hpr_io reads each of a .ork file’s powered separations as an hpr_io::ork::Staging, naming the motor it is timed from by its mount, since hpr_io does not depend on hpr_sim. separation turns one into the flight’s hpr_sim::Separation, naming that motor by its index among the assembled motors, and separations a configuration’s list. The flight also needs a recovery device on each of the bodies the separations make (the decision record on staging, ADR-074): separated_recovery puts the file’s devices on their parts and adds the tumbles, as hpr sim flies it; the example ork_two_stage in this crate shows the pieces. The decision record for reading a .ork file’s staging is ADR-076.

Structs§

Recovered
A .ork configuration’s recovery devices as the flight flies them (recovery).

Enums§

NeverDeploys
Why a .ork’s recovery device never deploys in a configuration.
RecoveryRefused
A .ork configuration’s recovery that recovery does not fly.

Constants§

OPENROCKET_PARACHUTE_DRAG_COEFFICIENT
OpenRocket’s drag coefficient for a parachute whose <cd> is auto, on the canopy’s area π D²/4, D its diameter: the OpenRocket technical documentation v13.05, §4.2.5, citing S. F. Hoerner, Fluid-Dynamic Drag (1965), p. 13-23. OpenRocket 24.12 reads it back (validation/fixtures/ork/openrocket-events.json).

Functions§

recovery
The flight’s devices for the parachutes and streamers of rocket, as the .ork file’s recovery states them, in the configuration assembly holds assembled: each as OpenRocket flies it (the OpenRocket technical documentation v13.05, §4.2.5; ADR-153, the decision to fly them so).
separated_recovery
The flight’s devices for a .ork configuration that separates at separations, in the order they fire (separations makes them): recovery’s mapping, each device on the part that carries it, with the tumbles tumbling adds so that each part has drag from the moment it flies alone (the decision record on a powered separation in hpr sim, ADR-159).
separation
The flight’s separation for staging, with the motors of assembly, the configuration the .ork file’s staging belongs to, assembled.
separations
The flight’s separations for stagings, in the order they fire (hpr_io::ork::MotorConfiguration::stagings), each as separation maps it; give them to hpr_sim::Simulation::with_separations.
tumbling
devices with a tumble added for each part of separations that needs one: the flight flies a separated part as a point with no airframe drag of its own, so each part must have a device open from the moment it flies alone (hpr_sim::Simulation::with_separations).