Module dynamics

Source
Expand description

Provides several dynamics used for orbital mechanics and attitude dynamics, which can be elegantly combined.

Re-exports§

pub use crate::errors::NyxError;
pub use self::orbital::*;
pub use self::spacecraft::*;
pub use self::solarpressure::*;
pub use self::drag::*;
pub use self::sph_harmonics::*;

Modules§

deltavctrl
Defines some velocity change controllers.
drag
The drag module handles drag in a very basic fashion. Do not use for high fidelity dynamics.
guidance
Defines a few examples of guidance laws.
orbital
The orbital module handles all Cartesian based orbital dynamics.
solarpressure
Defines solar radiation pressure models
spacecraft
The spacecraft module allows for simulation of spacecraft dynamics in general, including propulsion/maneuvers.
sph_harmonics
Define the spherical harmonic models. This module allows loading gravity models from PDS, EGM2008 and GMAT’s own COF files.

Enums§

DynamicsError
Stores dynamical model errors

Traits§

AccelModel
The AccelModel trait handles immutable dynamics which return an acceleration. Those can be added directly to Orbital Dynamics for example.
Dynamics
The Dynamics trait handles and stores any equation of motion and the state is integrated.
ForceModel
The ForceModel trait handles immutable dynamics which return a force. Those will be divided by the mass of the spacecraft to compute the acceleration (F = ma).