Table of Contents

Class AttitudeReferenceCorrectionSoftware

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] This module reads in the attitude reference R and applies a fixed rotation to give a corrected reference C. This can be used to modify the reference directly, or to allow a general body-fixed frame Bc to align with the reference R. In the latter case, assume a body frame B, and a corrected body frame Bc which we want to align with frame R. To do this, frame B is aligned with a corrected reference frame C. This module produces the corrected reference frame C such that when B aligns with C, Bc aligns with R.


public class AttitudeReferenceCorrectionSoftware : Software
Inheritance
AttitudeReferenceCorrectionSoftware

Constructors

AttitudeReferenceCorrectionSoftware()

Default constructor

protected AttitudeReferenceCorrectionSoftware()

Fields

In_AttitudeReferenceMsg

Input attitude reference message

public AttitudeReferenceMessage? In_AttitudeReferenceMsg

Field Value

AttitudeReferenceMessage

Out_AttitudeReferenceMsg

Corrected attitude reference message output

public AttitudeReferenceMessage? Out_AttitudeReferenceMsg

Field Value

AttitudeReferenceMessage

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

Vector3

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)

Parameters

time double

[s] Current time of the simulation before the update

step double

[s] The time-step to update during this tick