Class ExternalForceTorque
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
Allows the user to apply an external torque and/or force to a body
public class ExternalForceTorque : DynamicEffector
- Inheritance
-
ExternalForceTorque
- Inherited Members
Constructors
ExternalForceTorque()
public ExternalForceTorque()
Fields
In_CmdForceBodyMsg
[CmdForceBodyMsg] External force command in the body frame B
public CmdForceBodyMessage In_CmdForceBodyMsg
Field Value
In_CmdForceInertialMsg
[CmdInterialBodyMsg] External force command in the inertial frame N
public CmdForceInertialMessage In_CmdForceInertialMsg
Field Value
In_CmdTorqueBodyMsg
[CmdTorqueBodyMsg] External Torque command in the body frame b
public CmdTorqueBodyMessage In_CmdTorqueBodyMsg
Field Value
Methods
ComputeForceTorque(double)
Method to computeForce and torque on the body
public override void ComputeForceTorque(double time)
Parameters
time
doubleintegrator time
LinkInStates(StateProperties)
Method to access other states or properties
public override void LinkInStates(StateProperties properties)
Parameters
properties
StateProperties
OnBegin(double)
The component's first function called (after constructor)
protected override void OnBegin(double time)
Parameters
time
doublecurrent time
OnUpdate(double, double)
Called when the 'Component' should update
protected override void OnUpdate(double time, double step)
Parameters
ReadInputs()
Reads inputs from messages and stores them in variables
protected override void ReadInputs()