Table of Contents

Class RWMomentumControlSoftware

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] This module calculates a body frame torque required to dump momentum stored in a reaction wheel array.


public class RWMomentumControlSoftware : Software
Inheritance
RWMomentumControlSoftware

Constructors

RWMomentumControlSoftware()

Default constructor

protected RWMomentumControlSoftware()

Fields

In_RWArrayConfigMsg

RW Array Configuration Message

public RWArrayConfigMessage? In_RWArrayConfigMsg

Field Value

RWArrayConfigMessage

In_RWArraySpeedMsg

Input message containing the RW speeds.

public RWArraySpeedMessage? In_RWArraySpeedMsg

Field Value

RWArraySpeedMessage

Kp

[s^-1] Momentum feedback gain

[Unit("s⁻¹")]
public double Kp

Field Value

double

Out_CommandTorqueMsg

Commanded spacecraft external control torque output message

public CommandTorqueMessage? Out_CommandTorqueMsg

Field Value

CommandTorqueMessage

Methods

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