Table of Contents

Class RelativePointingSoftware

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] This software takes the vector that points from the spacecraft to target object and calculates the orientation, angular velocity and angular acceleration of this vector with respect to the inertial reference frame in inertial reference frame components and passes them to the attitude tracking error module, where that attitude error can be calculated.


public class RelativePointingSoftware : Software
Inheritance
RelativePointingSoftware

Constructors

RelativePointingSoftware()

Default constructor

protected RelativePointingSoftware()

Fields

AlignmentVector_B

Vector within the B-frame that points to antenna

[Unit(UnitType.NONE)]
public Vector3 AlignmentVector_B

Field Value

Vector3

ErrorFlag

Numerical error flag

[Unit(UnitType.NONE)]
[ReadOnly]
public int ErrorFlag

Field Value

int

In_NavigationTranslationMsg

Navigation message describing the actual or estimated state of the parent body

public NavigationTranslationMessage? In_NavigationTranslationMsg

Field Value

NavigationTranslationMessage

In_TargetTranslationMsg

Input translation navigation message of the target to point towards

public NavigationTranslationMessage? In_TargetTranslationMsg

Field Value

NavigationTranslationMessage

Out_AttitudeReferenceMsg

Reference attitude output message

public AttitudeReferenceMessage? Out_AttitudeReferenceMsg

Field Value

AttitudeReferenceMessage

PreviousOmega_RN

Omega of previous timestep

[Unit(UnitType.NONE)]
[ReadOnly]
public Vector3 PreviousOmega_RN

Field Value

Vector3

PreviousSigma_RN

MRP of previous timestep

[Unit(UnitType.NONE)]
[ReadOnly]
public Vector3 PreviousSigma_RN

Field Value

Vector3

Methods

Initialise()

This method is called whenever some key parameters are changed and any new local variables are required to be recalculated. This can be called by the software chains if a configuration of some values are updated.

public override void Initialise()

OnBegin(double)

Called when the object is beginning ticking for the first time. This is when the simulation calls the very first tick and will run before the update call.

protected override void OnBegin(double time)

Parameters

time double

[s] Current time of the simulation before the tick

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()

OnLoad(double)

Called after all of the data has been loaded from a save state on this object. This enables any post-load operations to be performed and extra data to be loaded from the metadata.

protected override void OnLoad(double time)

Parameters

time double

[s] The current clock time of the simulation

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