Table of Contents

Class PlanetEphemerisTranslationSoftware

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] This software simply converts a planet state message into an Ephemeris message that can be used for navigation systems.


public class PlanetEphemerisTranslationSoftware : Software
Inheritance
PlanetEphemerisTranslationSoftware

Constructors

PlanetEphemerisTranslationSoftware()

Default constructor

protected PlanetEphemerisTranslationSoftware()

Fields

In_PlanetStateMsg

Planet State Message

public PlanetStateMessage? In_PlanetStateMsg

Field Value

PlanetStateMessage

Out_EphemerisMsg

The output Ephemeris message for that planet

public EphemerisMessage? Out_EphemerisMsg

Field Value

EphemerisMessage

Methods

OnCreate()

Called when the object is created from the controller and has been attached to the parent object. By this point, it has been registered to the simulation and will run after the constructor.

protected override void OnCreate()

OnUpdate(double, double)

Called when the object should update from the simulation tick. This will take in a time and a step, where the time is the time of the clock before updating the object.

protected override void OnUpdate(double time, double step)

Parameters

time double

[s] Current time of the simulation before the update

step double

[s] The time-step to update during this tick