Class MTBDipoleMappingSoftware
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
[Nominal] Defines the dipole mapping software. This module takes a desired torque to control the spacecraft, and maps it to a magnetic torque bar array.
public class MTBDipoleMappingSoftware : Software
- Inheritance
-
MTBDipoleMappingSoftware
Constructors
MTBDipoleMappingSoftware()
Default constructor
protected MTBDipoleMappingSoftware()
Fields
DipoleMapping
[-] Matrix for mapping body frame dipole request to individual torque bar dipoles.
[Unit(UnitType.NONE)]
public Vector3[] DipoleMapping
Field Value
- Vector3[]
In_CommandDipoleMsg
Input message containing the requested body frame dipole.
public CommandDipoleMessage? In_CommandDipoleMsg
Field Value
In_MTBArrayConfigMsg
Defines the input message from the magnetic torque bar array for the configuration of the current array.
public MTBArrayConfigMessage? In_MTBArrayConfigMsg
Field Value
Out_DipoleArrayMsg
Output message containing the individual dipole requests for each torque bar on the vehicle.
public DipoleArrayMessage? Out_DipoleArrayMsg
Field Value
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)