Expand description
Standalone simulation runner for JEOD physics.
Provides a Simulation struct for batch propagation, scripting, and
Tier 3 cross-validation tests. Owns all state and runs the astrodyn
pipeline internally.
ECS adapters should not depend on this crate — use the per-body
functions from astrodyn directly instead.
§Example
use astrodyn_runner::SimulationBuilderExt;
use astrodyn::recipes::Mission;
let mut sim = Mission::iss_leo().into_builder().build().unwrap();
sim.step_n(10);
let output = sim.body(0);
assert!(output.trans.position.raw_si().length() > 6_000_000.0);Re-exports§
pub use branded::BodyIdx;pub use branded::BrandedSimulation;pub use branded::SourceIdx;pub use error::StepError;pub use builder::SimulationBuilderExt;pub use astrodyn;
Modules§
- branded
- Branded
Simulation<'sim>wrapper with compile-time index isolation between concurrent simulations (#152). - builder
- Runner-side terminal methods for the relocated
astrodyn::SimulationBuilder. - error
- Error type returned by stepping methods on
Simulation. - prelude
- Glob-import prelude for runner-side ergonomics.
Structs§
- Contact
Pair Config - Registration of a contact interaction between two bodies.
- Detached
Subtree State - Composite-body inertial state of a free-flying mass-tree subtree (i.e. a tree root that is not the integrated body). All fields are in the simulation’s root inertial frame.
- Frame
Attach State - Attachment of a body to a non-body reference frame (port of JEOD’s
DynBody::frame_attachmember, populated byattach_to_frame). - Ground
Contact Pair Config - Registration of a ground-contact interaction between a vehicle and a planetary surface.
- Ground
Facet - Infinite-surface “ground” facet anchored to a planet via a
Terrainmodel. - Simulation
- ECS-agnostic simulation runner.
- Spherical
Terrain - Spherical-Earth terrain — ground at a fixed planet radius.
- Vehicle
Output - Read-only view of vehicle state after stepping.
Enums§
- Rotation
Model - Rotation model for a gravity source’s planet-fixed frame.
Traits§
- Terrain
- Planetary terrain model that maps a planet-fixed query position to a ground point and outward surface normal.