Skip to main content

Crate spacelab_astro

Crate spacelab_astro 

Source
Expand description

Two-body and conic mission design — the transfer layer for cislunar and interplanetary flight.

This is the first slice of the deep-space pillar: the conic primitives that need no ephemeris and are verifiable against textbook cases. The high-fidelity propagation they seed lives in spacelab_propagation; the planetary ephemerides that turn a transfer into a dated launch window are Stage A (anise/DE440).

  • kepler — universal-variable two-body propagation (Stumpff formulation), the workhorse that advances a state by Δt for any conic (ellipse, parabola, hyperbola) through one branchless path.
  • lambert — the transfer arc between two positions in a given time, the core of injection and porkchop design.
  • cr3bp — the circular restricted three-body problem: pseudo-potential, Jacobi constant, the five libration points, and the synodic equations of motion (Earth–Moon and Sun–Earth).

Units are the caller’s, consistent: state in (length, length/time), mu in length³/time². The two-body functions are unit-agnostic; the CR3BP is nondimensional (separation and mean motion 1).

Re-exports§

pub use cr3bp::Cr3bp;
pub use cw::curvilinear_from_lvlh;
pub use cw::cw_propagate;
pub use cw::cw_propagate_curvilinear;
pub use cw::lvlh_basis;
pub use cw::lvlh_from_curvilinear;
pub use cw::relative_lvlh_state;
pub use edl::Atmosphere;
pub use edl::EntryOutcome;
pub use edl::EntryVehicle;
pub use edl::GuidedEntry;
pub use edl::fnpeg_bank_command;
pub use edl::guided_entry;
pub use edl::predicted_range;
pub use edl::propagate_entry;
pub use iod::IodError;
pub use iod::Sighting;
pub use iod::gauss;
pub use iod::gibbs;
pub use iod::gooding;
pub use iod::herrick_gibbs;
pub use iod::laplace;
pub use iod::orbit_from_angles;
pub use kepler::propagate;
pub use lambert::lambert;
pub use lambert::lambert_multirev;
pub use lowthrust::Steering;
pub use lowthrust::propagate_lowthrust;
pub use optimal::MinEnergyTransfer;
pub use optimal::min_energy_transfer;
pub use optimal::optimal_control_at;
pub use patched::BPlane;
pub use patched::HyperbolicArc;
pub use patched::b_plane;
pub use patched::hyperbolic_arc;
pub use patched::sphere_of_influence;
pub use periodic::ManifoldSeed;
pub use periodic::PeriodicOrbit;
pub use periodic::halo_family;
pub use periodic::halo_orbit;
pub use periodic::lyapunov_orbit;
pub use periodic::monodromy;
pub use periodic::richardson_halo;
pub use periodic::stable_manifold_seed;
pub use periodic::unstable_manifold_seed;
pub use powered::Landing;
pub use powered::powered_descent;
pub use powered::zem_zev;
pub use richardson::richardson_halo_guess;
pub use synodic::inertial_to_synodic;
pub use synodic::synodic_to_inertial;
pub use targeting::Control;
pub use targeting::DifferentialCorrector;
pub use targeting::Goal;
pub use targeting::TargeterError;
pub use targeting::TargeterReport;
pub use targeting::target;
pub use transfer::Transfer;
pub use transfer::transfer;

Modules§

cr3bp
The circular restricted three-body problem (CR3BP) — the arena of libration orbits and low-energy transfers.
cw
Clohessy–Wiltshire (Hills) relative motion — the linearised dynamics of a deputy satellite about a chief on a circular reference orbit, in the chief’s rotating LVLH frame.
edl
Entry, descent and landing — planar atmospheric-entry dynamics.
iod
Initial orbit determination from angles: the bootstrap that produces the state a filter starts from.
kepler
Universal-variable two-body propagation.
lambert
Lambert’s problem: the transfer arc between two positions in a given time.
lowthrust
Continuous low-thrust propagation — the primitive electric-propulsion transfers are built on.
optimal
Minimum-energy low-thrust optimal control by Pontryagin’s Maximum Principle (indirect method).
patched
Patched-conic building blocks: sphere of influence, planetocentric hyperbolic arcs, and B-plane targeting.
periodic
Periodic orbits in the CR3BP by differential correction.
powered
Powered-descent guidance for a soft landing.
richardson
Richardson’s third-order analytic halo-orbit approximation — a robust initial guess for the differential corrector (crate::periodic::halo_orbit).
synodic
The CR3BP synodic (rotating) frame and its transformation to an inertial frame.
targeting
The differential corrector a mission sequence is built on: vary these quantities until those goals are achieved.
transfer
Interplanetary transfer metrics from a Lambert arc.