Module nyx_space::celestia[][src]

Expand description

Provides the solar system planets, and state and (later) ephemeride management.

Modules

eclipse

The eclipse module allows finding eclipses and (conversely) visibility between a state and another one (e.g. a planet or the Sun).

orientations

Known orientation IDs defined for ease of access. All Cosm objects may be accessed via Cosm directly.

Structs

BPlane

Stores a B-Plane

BPlaneTarget
Cosm
Euler3Axis

A fixed three-axis Euler rotation

Euler3AxisDt

A time varying three-axis Euler rotation

FrameTree
IoError

The error type for I/O operations of the Read, Write, Seek, and associated traits.

NoRotation
Orbit

Orbit defines an orbital state

OrbitDual

Orbit defines an orbital state

OrbitPartial

A type which stores the partial of an element

Spacecraft

A spacecraft state

Xb

Enums

AngleUnit
Bodies

Defines the default celestial bodies in the provided de438 XB.

EulerRotation

Defines an Euler rotation, angle must be in radians

Frame
GuidanceMode
IoErrorKind

A list specifying general categories of I/O error.

LTCorr

Enable or not light time correction for the computation of the celestial states

NyxError
StmKind

Defines the kind of state transition matrix stored in the orbit.

Constants

AU

Astronomical unit, in kilometers, according to the IAU.

SPEED_OF_LIGHT

Speed of light in meters per second

SPEED_OF_LIGHT_KMS

Speed of light in kilometers per second

SS_MASS

Mass of the solar system from https://en.wikipedia.org/w/index.php?title=Special:CiteThisPage&page=Solar_System&id=905437334

SUN_GM

GM of the Sun in km^3/s^2

Traits

ParentRotation

Functions

assert_orbit_eq_or_abs
assert_orbit_eq_or_rel
try_achieve_b_plane

Returns the Delta V (in km/s) needed to achieve the B Plane specified by B dot R and B dot T. If no LTOF target is set, this method will fix VX, VY and VZ successively and use the minimum of those as a seed for the LTOF variation finding. If the 3x3 search is worse than any of the 2x2s, then a 2x2 will be returned. This uses the hyperdual formulation of the Jacobian and will also vary the linearize time of flight (LTOF).