Software: Ephemeris Converter
Description
This module simply converts a SPICE ephemeris message into standard ephemeris message i.e.
// [-] Spice Planet State Message
SpicePlanetStateMessage In_SpicePlanetStateMsg;
// [-] The output Ephemeris message for that planet
public EphemerisMessage Out_EphemerisMsg = new();
Out_EphemerisMsg.R_BodyZero_N = new Vector3(In_SpicePlanetStateMsg.Position);
Out_EphemerisMsg.V_BodyZero_N = new Vector3(In_SpicePlanetStateMsg.Velocity);
This is used when there is a need to directly connect Universe information (e.g. sun position) into FSW information e.g. a sun pointing mode, where a sunline estimation model has yet to be implemented.
Example Use Cases
- Convert SPICE Ephemeris data to FSW data