Table of Contents

Class DipoleMappingSoftware

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

Defines the dipole mapping software. This module takes a desired torque to control the spacecraft, and maps it to a magnetic torque bar.

public class DipoleMappingSoftware : Software
Inheritance
DipoleMappingSoftware
Inherited Members

Constructors

DipoleMappingSoftware()

Default constructor for the software

public DipoleMappingSoftware()

Fields

In_DipoleCmdBodyMsg

[A-m2] Input message containing the requested body frame dipole

public DipoleCmdMessage? In_DipoleCmdBodyMsg

Field Value

DipoleCmdMessage

MTBArray

[MtbSimArray] Input container describing the magnetic torque rod configuration for all the torque bars on the vehicle

public MagneticTorqueBarArray? MTBArray

Field Value

MagneticTorqueBarArray

Out_MTBDipoleCmdMsg

[A-m2] Output message containing the individual dipole requests for each torque bar on the vehicle

public MTBDipoleCmdMessage Out_MTBDipoleCmdMsg

Field Value

MTBDipoleCmdMessage

SteeringMatrix

[-] Matrix for mapping body frame dipole request to individual torque bar dipoles

public Vector3[] SteeringMatrix

Field Value

Vector3[]

Methods

OnBegin(double)

Called when the 'Component' is beginning

protected override void OnBegin(double time)

Parameters

time double

current time (seconds)

OnUpdate(double, double)

Called when the 'Component' should update

protected override void OnUpdate(double time, double step)

Parameters

time double

current time (seconds)

step double

the time step (seconds)