Table of Contents

Class SunPointingSoftwareChain

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

A software chain to point a spacecraft at the sun in the direction of a solar panel if it exists. If a solar panel does not exist, then this chain will direct the spacecraft's up vector towards the sun instead.


public class SunPointingSoftwareChain : PointingSoftwareChain
Inheritance
SunPointingSoftwareChain

Constructors

SunPointingSoftwareChain()

Default constructor

protected SunPointingSoftwareChain()

Fields

Out_GuidanceSunPointingMsg

The configuration message for the sun pointing software chain

public GuidanceSunPointingMessage? Out_GuidanceSunPointingMsg

Field Value

GuidanceSunPointingMessage

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 NavigationAttitudeMessage

The 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 NavigationTranslationMessage

The navigation translation message