Table of Contents

Class TorqueDipoleConversionSoftware

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] Defines the software that maps between torque commands to dipoles for an object with magnetic torque rods. The dipoles are a magnetic moment that can be used by an object for pointing methods.


public class TorqueDipoleConversionSoftware : Software
Inheritance
TorqueDipoleConversionSoftware

Constructors

TorqueDipoleConversionSoftware()

Default constructor

protected TorqueDipoleConversionSoftware()

Fields

In_CommandTorqueMsg

Input message containing control torque in the Body frame

public CommandTorqueMessage? In_CommandTorqueMsg

Field Value

CommandTorqueMessage

In_TAMBodyMsg

Input message for magnetic field sensor data in the Body frame

public TAMBodyMessage? In_TAMBodyMsg

Field Value

TAMBodyMessage

Out_CommandDipoleMsg

Output message containing the requested body frame dipole

public CommandDipoleMessage? Out_CommandDipoleMsg

Field Value

CommandDipoleMessage

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