Table of Contents

Class RWNullSpaceMappingSoftware

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] This module uses the Reaction Wheel (RW) null space to slow down the wheels. The resulting motor torques are superimposed on top of the attitude feedback control RW motor torques.


public class RWNullSpaceMappingSoftware : Software
Inheritance
RWNullSpaceMappingSoftware

Constructors

RWNullSpaceMappingSoftware()

Default constructor

protected RWNullSpaceMappingSoftware()

Fields

In_MotorTorqueArrayMsg

The input array motor torque commands that are to be updated by this module

public MotorTorqueArrayMessage? In_MotorTorqueArrayMsg

Field Value

MotorTorqueArrayMessage

In_RWArrayConfigMsg

The reaction wheel configuration

public RWArrayConfigMessage? In_RWArrayConfigMsg

Field Value

RWArrayConfigMessage

In_RWArraySpeedMsg

The reaction wheel speeds

public RWArraySpeedMessage? In_RWArraySpeedMsg

Field Value

RWArraySpeedMessage

OmegaGain

The gain factor applied to the RW speeds

[Unit(UnitType.NONE)]
public double OmegaGain

Field Value

double

Out_MotorTorqueArrayMsg

The updated output array motor torque commands

public MotorTorqueArrayMessage? Out_MotorTorqueArrayMsg

Field Value

MotorTorqueArrayMessage

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