Expand description
Core math, units, frames, Earth, gravity and magnetic-field models, interpolation tables and shared error types.
Guide: Frames and sign conventions, Geodesy, Gravity, The magnetic field, Interpolation tables and Adaptive quadrature: the models, their sources, how well they are validated and what they leave out.
Vectors, quaternions and matrices are glam’s f64 types, re-exported here so every crate uses
the same ones. Quantities are SI; frames and sign conventions follow
Frames and sign conventions.
Re-exports§
pub use error::CoreError;
Modules§
- attitude
- Attitude quaternion kinematics.
- earth
- The Earth as the flight engine sees it: a launch frame, a gravity model and the rotation
terms, all resolved in the launch frame
L. - error
- Error types shared by the core crate.
- frames
- The launch frame, the body frame and launch attitude angles.
- geodesic
- Geodesics on an ellipsoid: the distance and bearing between two places, and the place a given distance away along a bearing.
- geodesy
- Reference ellipsoids, geodetic and Earth-centered Earth-fixed (ECEF) coordinates.
- gravity
- Normal gravity of a level ellipsoid (WGS 84 by default), and the gravity models the flight engine chooses from.
- interp
- One-dimensional lookup tables with an explicit extrapolation policy.
- magnetic
- The Earth’s main magnetic field from the World Magnetic Model, WMM2025: declination (the angle from true north to magnetic north), inclination, intensity and their yearly change.
- quadrature
- Adaptive numerical integration of vector-valued functions over a finite interval.
- random
- Seeded pseudorandom numbers for turbulence, dispersions and Monte Carlo.
- tool
- The program every file and document hpr-sim writes names, as a drawing’s title block names
the tool that made it: its name, its version and its designation in the FusionSpace product
system (ADR-164, which adopts that system; its
data.md: “Every export carries the designation and version of the tool that made it”).