Table of Contents

Class CoarseSunSensor

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

Defines a sensor that is able to detect the orientation of the Sun in reference to the body that implements such a sensor.

public class CoarseSunSensor : Sensor
Inheritance
CoarseSunSensor
Inherited Members

Constructors

CoarseSunSensor()

Default constructor that sets up the sensor

public CoarseSunSensor()

Fields

B2P321Angles

[-] 321 Euler angles for body to platform

public Vector3 B2P321Angles

Field Value

Vector3

DCM_PB

[-] DCM from platform frame P to body frame B

public Matrix3 DCM_PB

Field Value

Matrix3

DirectValue

[-] direct solar irradiance measurement

[EditableVariable("-", true, "", "")]
public double DirectValue

Field Value

double

FOV

[-] rad, field of view half angle

[EditableVariable("rad", 0, 6.283185307179586, false, "", "")]
public double FOV

Field Value

double

FaultState

[-] Specification used if state is set to COMPONENT_FAULT

[EditableVariable("-", false, "", "")]
public CSSFaultState FaultState

Field Value

CSSFaultState

In_EclipseMsg

[-] Input message for sun eclipse state message [OPTIONAL]

public EclipseMessage In_EclipseMsg

Field Value

EclipseMessage

In_SunStateMsg

[-] Input message for sun data

public SpicePlanetStateMessage In_SunStateMsg

Field Value

SpicePlanetStateMessage

KellyFactor

[-] Kelly curve fit for output cosine curve

[EditableVariable("-", false, "", "")]
public double KellyFactor

Field Value

double

MaxOutput

[-] maximum output (ceiling) for saturation application

[EditableVariable("-", 0, false, "", "")]
public double MaxOutput

Field Value

double

MinOutput

[-] minimum output (floor) for saturation application

[EditableVariable("-", 0, false, "", "")]
public double MinOutput

Field Value

double

Out_CSSConfigLogMsg

[-] Output message for CSS configuration log data

public CSSConfigLogMessage Out_CSSConfigLogMsg

Field Value

CSSConfigLogMessage

Out_CSSDataMsg

[-] Output message for CSS output data

public CSSRawDataMessage Out_CSSDataMsg

Field Value

CSSRawDataMessage

Phi

[rad] CSS elevation angle, measured positive toward the body +z axis from the x-y plane

[EditableVariable("rad", 0, 6.283185307179586, false, "", "")]
public double Phi

Field Value

double

SHat_B

[-] unit vector to sun in B

[EditableVariable("-", true, "", "")]
public Vector3 SHat_B

Field Value

Vector3

ScaleFactor

[-] scale factor applied to sensor (common + individual multipliers)

[EditableVariable("-", false, "", "")]
public double ScaleFactor

Field Value

double

SensedValue

[-] total measurement including perturbations

[EditableVariable("-", true, "", "")]
public double SensedValue

Field Value

double

SensorBias

[-] Sensor bias value

[EditableVariable("-", false, "", "")]
public double SensorBias

Field Value

double

SensorNoiseStd

[-] Sensor noise value

[EditableVariable("-", false, "", "")]
public double SensorNoiseStd

Field Value

double

Theta

[rad] CSS azimuth angle, measured positive from the body +x axis around the +z axis

[EditableVariable("rad", 0, 6.283185307179586, false, "", "")]
public double Theta

Field Value

double

TrueValue

[-] total measurement without perturbations

[EditableVariable("-", true, "", "")]
public double TrueValue

Field Value

double

Properties

NHat_B

[-] CSS unit direction vector in body frame components

[EditableVariable("-", false, "", "")]
public Vector3 NHat_B { get; }

Property Value

Vector3

Methods

OnBegin(double)

Called when the 'Component' is beginning

protected override void OnBegin(double time)

Parameters

time double

current time (seconds)

OnReset(double)

Called when the 'Component' is reset from a simulation

protected override void OnReset(double time)

Parameters

time double

reset time (seconds)

OnUpdate(double, double)

Called when the 'Component' should update

protected override void OnUpdate(double time, double step)

Parameters

time double

current time (seconds)

step double

the time step (seconds)