Class BoreSightInterface
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
Defines a support class that can be added to a sensor to perform a range of boresight calculations.
public class BoreSightInterface : Sensor
- Inheritance
-
BoreSightInterface
- Inherited Members
Constructors
BoreSightInterface()
public BoreSightInterface()
Fields
BoreVec_B
[-] Boresight pointing vector in body frame (B) // TODO - inherit from parent sensor?
[EditableVariable("-", false, "", "")]
public Vector3 BoreVec_B
Field Value
In_TargetPlanetStateMsg
[-] State of the celestial body we are targeting.
public SpicePlanetStateMessage In_TargetPlanetStateMsg
Field Value
Out_BoreSightAngleMsg
[-] State of the boresight
public BoreSightAngleMessage Out_BoreSightAngleMsg
Field Value
Properties
Azimuth
[rad] Quadrant to put the miss angle in
[EditableVariable("deg", true, "", "")]
public double Azimuth { get; }
Property Value
MissAngle
[rad] Angular distance between the boresight and body
[EditableVariable("deg", true, "", "")]
public double MissAngle { 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)