Module nyx_space::dynamics::spacecraft
source · Expand description
The gravity module handles spherical harmonics only. It must be combined with a OrbitalDynamics dynamics
This module allows loading gravity models from PDS, EGM2008 and GMAT’s own COF files. The drag module handles drag in a very basic fashion. Do not use for high fidelity dynamics. The spacecraft module allows for simulation of spacecraft dynamics in general, including propulsion/maneuvers.
Re-exports
pub use crate::cosmic::STD_GRAVITY;
pub use super::solarpressure::SolarPressure;
Structs
- A spacecraft state
- A generic spacecraft dynamics with associated force models, guidance law, and flag specifying whether to decrement the fuel mass or not. Note: when developing new guidance laws, it is recommended to not enable fuel decrement until the guidance law seems to work without proper physics. Note: if the spacecraft runs out of fuel, the propagation segment will return an error.
Enums
Traits
- Defines a spacecraft extension. This is useful for highly specialized guidance laws that need to store additional data in the spacecraft state. Most guidance laws can be implemented directly with the
Spacecraft
structure.
Type Definitions
- A spacecraft state
- A spaceraft dynamics that works in nearly all guidance law cases