Table of Contents

Class CoarseSunSensorArray

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] Defines a constellation of Coarse Sun Sensors. This is able to handle some of the constellation metrics and produce an output about the total amount of constellation values.


public class CoarseSunSensorArray : PhysicalObject
Inheritance
CoarseSunSensorArray

Constructors

CoarseSunSensorArray()

Default constructor

protected CoarseSunSensorArray()

Fields

Out_CSSArrayConfigMsg

CSS Constellation configuration message

public CSSArrayConfigMessage? Out_CSSArrayConfigMsg

Field Value

CSSArrayConfigMessage

Out_CSSArrayDataMsg

Holds the constellation interface message with the sensor data

public CSSArrayDataMessage? Out_CSSArrayDataMsg

Field Value

CSSArrayDataMessage

Properties

NumCSS

Count of CSS added to the constellation

[Unit(UnitType.NONE)]
[ReadOnly]
[Metadata(ContainedIn = "Out_CSSArrayConfigMsg")]
public int NumCSS { get; }

Property Value

int

Methods

OnCreate()

Called when the 'Component' is created from the controller.

protected override void OnCreate()

OnHierarchyChanged()

An event that is executed when some object within the chain of components in the hierarchy is added or removed from the system. This can be used to recalculate physics or create a new list of objects.

protected override void OnHierarchyChanged()

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

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