Table of Contents

Class MagneticTorqueBarMappingSoftwareChain

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

This mapping chain defines the magnetic torque bar mapping which uses the magnetometer and magnetic torque bar (MTB) array to determine the torque of the bars based on an input command.


public class MagneticTorqueBarMappingSoftwareChain : MappingSoftwareChain
Inheritance
MagneticTorqueBarMappingSoftwareChain

Constructors

MagneticTorqueBarMappingSoftwareChain()

Default constructor

protected MagneticTorqueBarMappingSoftwareChain()

Fields

Out_GuidanceMagneticTorqueBarMappingMsg

Defines the configuration for this software chain.

public GuidanceMagneticTorqueBarMappingMessage? Out_GuidanceMagneticTorqueBarMappingMsg

Field Value

GuidanceMagneticTorqueBarMappingMessage

Methods

Configure()

The configure function must be implemented which will be used whenever the configuration should be reconnected and developed.

public override void Configure()

Disable()

Disable the software component Derived classes should clear any output messages

public override void Disable()

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

SetCommandTorqueMessage(CommandTorqueMessage?)

Sets the command torque message input for the mapping chain to the value of a specific torque message from the controller chain.

public override void SetCommandTorqueMessage(CommandTorqueMessage? msg)

Parameters

msg CommandTorqueMessage

The torque command from the controller chain