Description

This module converts a standard Spacecraft ephemeris message into a standard ephemeris message. The SPICE message contains the planetary ephemeris data of the celestial bodies at particular locations in time. It uses the SPICE library to do this with the loaded SPICE kernels. As such, this does not perform any calculations and simply converts between the message types as an interface layer.


Example Use Cases

  • Message Translation: Converts a standard spacecraft message with planet position and velocity into a state vector that can be used by software modules.

Module Implementation

This is a simple software module for message conversions. The position of the body and the velocity of the body are directly equal to the spice state of the planet as calculated from the input SpicePlanetStateMessage message. There are no calculations done in this node apart from copying the values across.