Class ThrusterArrayInterface
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
Defines the thruster mapping software. This module takes a desired torque to control the spacecraft, and maps it to an array of thrusters.
public class ThrusterArrayInterface : Software
- Inheritance
-
ThrusterArrayInterface
- Inherited Members
Constructors
ThrusterArrayInterface()
Default constructor for the software
public ThrusterArrayInterface()
Fields
In_ThrusterArrayOnTimeMsg
[-] Input message defining the array on input commands for thrusters
public ThrusterArrayOnTimeMessage In_ThrusterArrayOnTimeMsg
Field Value
NumThrusters
[-] Number of thrusters in array
public int NumThrusters
Field Value
Out_ThrusterArrayConfigMsg
[-] Array defining the configuration of thrusters attached to this array
public ThrusterArrayConfigMessage Out_ThrusterArrayConfigMsg
Field Value
ThrusterList
[-] Array of thrusters
public Thruster[] ThrusterList
Field Value
- Thruster[]
Methods
AddThruster(Thruster)
Add a thruster to the array of thrusters
public void AddThruster(Thruster thruster)
Parameters
thruster
Thruster
AddThruster(ThrusterConfigMessage)
Add a thruster using a configuration message. Assumes no fuel source attached.
public void AddThruster(ThrusterConfigMessage ThrusterConfigMsg)
Parameters
ThrusterConfigMsg
ThrusterConfigMessage
OnBegin(double)
Called when the 'Component' is beginning
protected override void OnBegin(double time)
Parameters
time
doublecurrent time (seconds)
OnUpdate(double, double)
Called when the 'Component' should update
protected override void OnUpdate(double time, double step)