Table of Contents

Class MTBFeedforwardMappingSoftware

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] This module calculates the torque produced by an array of magnetic torque bars (MTB) and applies it to the current body torque command as a feedforward term.


public class MTBFeedforwardMappingSoftware : Software
Inheritance
MTBFeedforwardMappingSoftware

Constructors

MTBFeedforwardMappingSoftware()

Default constructor

protected MTBFeedforwardMappingSoftware()

Fields

In_CommandTorqueMsg

Incoming spacecraft external control torque output message

public CommandTorqueMessage? In_CommandTorqueMsg

Field Value

CommandTorqueMessage

In_DipoleArrayMsg

Input message contain the individual dipole requests for each MTB.

public DipoleArrayMessage? In_DipoleArrayMsg

Field Value

DipoleArrayMessage

In_MTBArrayConfigMsg

MTB Array Configuration Message

public MTBArrayConfigMessage? In_MTBArrayConfigMsg

Field Value

MTBArrayConfigMessage

In_TAMBodyMsg

Input message containing the magnetic field sensor data in the body frame.

public TAMBodyMessage? In_TAMBodyMsg

Field Value

TAMBodyMessage

Out_CommandTorqueMsg

Commanded spacecraft external control torque output message

public CommandTorqueMessage? Out_CommandTorqueMsg

Field Value

CommandTorqueMessage

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