Class RelativePointingSoftwareChain
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
[Nominal] This pointing chain is able to direct the guidance computer to orient the spacecraft towards another object in orbit. This could be another spacecraft, a planet, or any generic object that exists.
public class RelativePointingSoftwareChain : PointingSoftwareChain
- Inheritance
-
RelativePointingSoftwareChain
Constructors
RelativePointingSoftwareChain()
Default constructor
protected RelativePointingSoftwareChain()
Fields
Out_GuidanceRelativePointingMsg
The relative pointing software chain configuration with all configurations for this particular chain.
public GuidanceRelativePointingMessage? Out_GuidanceRelativePointingMsg
Field Value
Methods
Configure()
The configure function must be implemented which will be used whenever the configuration should be reconnected and developed.
public override void Configure()
GetAttitudeErrorMessage()
Returns the output attitude error message from the software chain that will be pointed to a particular module on the chain.
public override AttitudeErrorMessage? GetAttitudeErrorMessage()
Returns
- AttitudeErrorMessage
The attitude error message on the software chain
GetAttitudeReferenceMessage()
Returns the output attitude reference message from the software chain that will be pointed to a particular module on the chain.
public override AttitudeReferenceMessage? GetAttitudeReferenceMessage()
Returns
- AttitudeReferenceMessage
The attitude reference message on the software chain
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()
OnLoad(double)
Called after all of the data has been loaded from a save state on this object. This enables any post-load operations to be performed and extra data to be loaded from the metadata.
protected override void OnLoad(double time)
Parameters
time
double[s] The current clock time of the simulation
SetNavigationAttitudeMessage(NavigationAttitudeMessage?)
Updates the Navigation Attitude message on the pointing chain that comes from the navigation chain.
public override void SetNavigationAttitudeMessage(NavigationAttitudeMessage? msg)
Parameters
msg
NavigationAttitudeMessageThe navigation attitude message
SetNavigationTranslationMessage(NavigationTranslationMessage?)
Updates the Navigation Translation message on the pointing chain that comes from the navigation chain.
public override void SetNavigationTranslationMessage(NavigationTranslationMessage? msg)
Parameters
msg
NavigationTranslationMessageThe navigation translation message