Class CSSAggregatorSoftware
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
[Nominal] Defines the software that is able to aggregate multiple CSS sensors into a single coarse sun sensor message that can be created.
public class CSSAggregatorSoftware : Software
- Inheritance
-
CSSAggregatorSoftware
Constructors
CSSAggregatorSoftware()
Default constructor
protected CSSAggregatorSoftware()
Fields
In_CSSArrayConfigMsgArray
An array of CSS configuration messages that are to be aggregated into a single CSS configuration message.
public CSSArrayConfigMessage[] In_CSSArrayConfigMsgArray
Field Value
In_CSSArrayDataMsgArray
An array of CSS data messages that are to be aggregated into a single CSS data message.
public CSSArrayDataMessage[] In_CSSArrayDataMsgArray
Field Value
Out_CSSArrayConfigMsg
CSS array configuration message storing the current configurations of all the sensors on-board the spacecraft.
public CSSArrayConfigMessage? Out_CSSArrayConfigMsg
Field Value
Out_CSSArrayDataMsg
CSS sensor array message that contains the information about all the current sensor outputs.
public CSSArrayDataMessage? Out_CSSArrayDataMsg
Field Value
Methods
AddConfigMessage(CSSArrayConfigMessage)
Adds a configuration message to the aggregator
public void AddConfigMessage(CSSArrayConfigMessage configMsg)
Parameters
configMsg
CSSArrayConfigMessageThe config message
AddDataMessage(CSSArrayDataMessage)
Adds a data message to the aggregator
public void AddDataMessage(CSSArrayDataMessage dataMsg)
Parameters
dataMsg
CSSArrayDataMessageThe data message
OnBegin(double)
Called when the object is beginning ticking for the first time. This is when the simulation calls the very first tick and will run before the update call.
protected override void OnBegin(double time)
Parameters
time
double[s] Current time of the simulation before the tick
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)