Class MRPFeedbackSoftware
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
This module provides a general MRP feedback control law. This 3-axis control can asymptotically track a general reference attitude trajectory. The module is setup to work with or without N reaction wheels with general orientation. If the reaction wheel states are fed into this module, then the resulting RW gyroscopic terms are compensated for. If the wheel information is not present, then these terms are ignored.
public class MRPFeedbackSoftware : Software
- Inheritance
-
MRPFeedbackSoftware
- Inherited Members
Constructors
MRPFeedbackSoftware()
Default constructor for the software
public MRPFeedbackSoftware()
Fields
In_AttGuidMsg
Attitude guidance input message
public AttGuidMessage In_AttGuidMsg
Field Value
In_RWArrayConfigMsg
RW parameter input message [OPTIONAL]
public RWArrayConfigMessage In_RWArrayConfigMsg
Field Value
In_RWAvailabilityMsg
RW availability input message [OPTIONAL]
public RWAvailabilityMessage In_RWAvailabilityMsg
Field Value
In_RWSpeedMsg
RW speed input message [OPTIONAL]
public RWSpeedMessage In_RWSpeedMsg
Field Value
In_VehicleConfigMsg
Vehicle configuration input message
public VehicleConfigMessage In_VehicleConfigMsg
Field Value
IntegralLimit
[N*m] Integration limit to avoid wind-up issue
public double IntegralLimit
Field Value
K
[rad/sec] Proportional gain applied to MRP errors
public double K
Field Value
Ki
[N*m] Integration feedback error on rate error
public double Ki
Field Value
Out_CmdTorqueBodyMsg
Commanded spacecraft external control torque output message
public CmdTorqueBodyMessage Out_CmdTorqueBodyMsg
Field Value
P
[Nms] Rate error feedback gain applied
public double P
Field Value
Properties
KnownTorquePntB_B
[N*m] known external torque in body frame vector components
public Vector3 KnownTorquePntB_B { get; set; }
Property Value
Methods
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)