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
DCM_PB
[-] DCM from platform frame P to body frame B
public Matrix3 DCM_PB
Field Value
DirectValue
[-] direct solar irradiance measurement
[EditableVariable("-", true, "", "")]
public double DirectValue
Field Value
FOV
[-] rad, field of view half angle
[EditableVariable("rad", 0, 6.283185307179586, false, "", "")]
public double FOV
Field Value
FaultState
[-] Specification used if state is set to COMPONENT_FAULT
[EditableVariable("-", false, "", "")]
public CSSFaultState FaultState
Field Value
In_EclipseMsg
[-] Input message for sun eclipse state message [OPTIONAL]
public EclipseMessage In_EclipseMsg
Field Value
In_SunStateMsg
[-] Input message for sun data
public SpicePlanetStateMessage In_SunStateMsg
Field Value
KellyFactor
[-] Kelly curve fit for output cosine curve
[EditableVariable("-", false, "", "")]
public double KellyFactor
Field Value
MaxOutput
[-] maximum output (ceiling) for saturation application
[EditableVariable("-", 0, false, "", "")]
public double MaxOutput
Field Value
MinOutput
[-] minimum output (floor) for saturation application
[EditableVariable("-", 0, false, "", "")]
public double MinOutput
Field Value
Out_CSSConfigLogMsg
[-] Output message for CSS configuration log data
public CSSConfigLogMessage Out_CSSConfigLogMsg
Field Value
Out_CSSDataMsg
[-] Output message for CSS output data
public CSSRawDataMessage Out_CSSDataMsg
Field Value
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
SHat_B
[-] unit vector to sun in B
[EditableVariable("-", true, "", "")]
public Vector3 SHat_B
Field Value
ScaleFactor
[-] scale factor applied to sensor (common + individual multipliers)
[EditableVariable("-", false, "", "")]
public double ScaleFactor
Field Value
SensedValue
[-] total measurement including perturbations
[EditableVariable("-", true, "", "")]
public double SensedValue
Field Value
SensorBias
[-] Sensor bias value
[EditableVariable("-", false, "", "")]
public double SensorBias
Field Value
SensorNoiseStd
[-] Sensor noise value
[EditableVariable("-", false, "", "")]
public double SensorNoiseStd
Field Value
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
TrueValue
[-] total measurement without perturbations
[EditableVariable("-", true, "", "")]
public double TrueValue
Field Value
Properties
NHat_B
[-] CSS unit direction vector in body frame components
[EditableVariable("-", false, "", "")]
public Vector3 NHat_B { get; }
Property Value
Methods
OnBegin(double)
Called when the 'Component' is beginning
protected override void OnBegin(double time)
Parameters
time
doublecurrent time (seconds)
OnUpdate(double, double)
Called when the 'Component' should update
protected override void OnUpdate(double time, double step)