Table of Contents

Class ThrusterSchmittMappingSoftware

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 ThrusterSchmittMappingSoftware : Software
Inheritance
ThrusterSchmittMappingSoftware

Constructors

ThrusterSchmittMappingSoftware()

Default constructor

protected ThrusterSchmittMappingSoftware()

Fields

BaseThrusterState

Indicates on-pulsing (0) or off-pulsing (1)

public bool BaseThrusterState

Field Value

bool

DutyOffFraction

[-] OFF duty cycle fraction

[Unit(UnitType.NONE)]
public double DutyOffFraction

Field Value

double

DutyOnFraction

[-] ON duty cycle fraction

[Unit(UnitType.NONE)]
public double DutyOnFraction

Field Value

double

In_ThrustForceArrayMsg

Thruster force commands

public ThrustForceArrayMessage? In_ThrustForceArrayMsg

Field Value

ThrustForceArrayMessage

In_ThrusterArrayConfigMsg

Configuration of thrusters attached to the spacecraft

public ThrusterArrayConfigMessage? In_ThrusterArrayConfigMsg

Field Value

ThrusterArrayConfigMessage

IsInitialised

A flag whether the data has been initialized, which is on the first call to OnUpdate.

[Hidden]
public bool IsInitialised

Field Value

bool

LastThrusterState

[-] ON/OFF state of thrusters from previous call

[Unit(UnitType.NONE)]
[ReadOnly]
public double[] LastThrusterState

Field Value

double[]

Out_ThrusterArrayOnTimeMsg

Output thruster force commands for thruster array

public ThrusterArrayOnTimeMessage? Out_ThrusterArrayOnTimeMsg

Field Value

ThrusterArrayOnTimeMessage

ThrusterMinFireTime

[s] Minimum ON time for thrusters

[Unit(UnitType.SECOND)]
public double ThrusterMinFireTime

Field Value

double

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)

Parameters

time double

[s] Current time of the simulation before the update

step double

[s] The time-step to update during this tick