Class ReactionWheelMappingSoftwareChain
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
This mapping chain defines the simple reaction wheel software chain for a basic reaction wheel controller, that can update the reaction wheel with the result of a torque command.
public class ReactionWheelMappingSoftwareChain : MappingSoftwareChain
- Inheritance
-
ReactionWheelMappingSoftwareChain
Constructors
ReactionWheelMappingSoftwareChain()
Default constructor
protected ReactionWheelMappingSoftwareChain()
Fields
Out_GuidanceReactionWheelMappingMsg
Defines the configuration for this software chain.
public GuidanceReactionWheelMappingMessage? Out_GuidanceReactionWheelMappingMsg
Field Value
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
CommandTorqueMessageThe torque command from the controller chain