Class ThrusterRemainderMappingSoftware
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
[Nominal] 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 ThrusterRemainderMappingSoftware : Software
- Inheritance
-
ThrusterRemainderMappingSoftware
Constructors
ThrusterRemainderMappingSoftware()
Default constructor
protected ThrusterRemainderMappingSoftware()
Fields
In_ThrustForceArrayMsg
Thruster force commands
public ThrustForceArrayMessage? In_ThrustForceArrayMsg
Field Value
In_ThrusterArrayConfigMsg
Configuration of thrusters attached to the spacecraft
public ThrusterArrayConfigMessage? In_ThrusterArrayConfigMsg
Field Value
IsInitialised
A flag whether the data has been initialized, which is on the first call to OnUpdate.
[Hidden]
public bool IsInitialised
Field Value
MinFireTime
[s] Minimum ON time for thrusters
[Unit(UnitType.SECOND)]
public double MinFireTime
Field Value
Out_ThrusterArrayOnTimeMsg
Output thruster force commands for thruster array
public ThrusterArrayOnTimeMessage? Out_ThrusterArrayOnTimeMsg
Field Value
PulseRemainder
Thrust firing remainder from previous calls
[Unit(UnitType.NONE)]
[ReadOnly]
public double[] PulseRemainder
Field Value
- double[]
PulseState
Indicates on-pulsing (0) or off-pulsing (1)
public bool PulseState
Field Value
Methods
OnBegin(double)
Called when the object is beginning ticking for the first time. This is when the simulation calls the very first tick and will run before the update call.
protected override void OnBegin(double time)
Parameters
time
double[s] Current time of the simulation before the tick
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)