Module spacecraft

Source
Expand description

The spacecraft module allows for simulation of spacecraft dynamics in general, including propulsion/maneuvers.

Re-exports§

pub use crate::cosmic::GuidanceMode;
pub use crate::cosmic::Spacecraft;
pub use crate::cosmic::STD_GRAVITY;
pub use crate::md::prelude::SolarPressure;

Structs§

SpacecraftDynamics
A generic spacecraft dynamics with associated force models, guidance law, and flag specifying whether to decrement the prop mass or not. Note: when developing new guidance laws, it is recommended to not enable prop decrement until the guidance law seems to work without proper physics. Note: if the spacecraft runs out of prop, the propagation segment will return an error.