Class AttitudeReferenceErrorSoftware
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
[Nominal] This module is intended to be the last module in the guidance module chain. It’s input is the reference orientation message generated by a prior module, and the body orientation. It’s output is a guidance attitude to align the body frame with the reference. This module allows for a corrected reference frame, or a equivalent corrected reference frame to account for a corrected body frame. In the output AttGuidMessage, the B frame is the (uncorrected) body frame, the R frame is the corrected reference frame (if applicable). See the Attitude Reference Correction Software for details. This module was previously named Attitude Tracking Error Software.
public class AttitudeReferenceErrorSoftware : Software
- Inheritance
-
AttitudeReferenceErrorSoftware
Constructors
AttitudeReferenceErrorSoftware()
Default constructor
protected AttitudeReferenceErrorSoftware()
Fields
In_AttitudeReferenceMsg
Attitude reference message describing the target reference frame
public AttitudeReferenceMessage? In_AttitudeReferenceMsg
Field Value
In_NavigationAttitudeMsg
Navigation message describing the actual or estimated state of the body
public NavigationAttitudeMessage? In_NavigationAttitudeMsg
Field Value
Out_AttitudeErrorMsg
Output attitude error message from the calculations.
public AttitudeErrorMessage? Out_AttitudeErrorMsg
Field Value
Sigma_CR
[MRP] Fixed frame rotation to the corrected reference frame (C) from the reference frame (R).
[Unit(UnitType.NONE)]
public Vector3 Sigma_CR
Field Value
Methods
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)