Table of Contents

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

CmdForceBodyMessage

In_CmdForceInertialMsg

[CmdInterialBodyMsg] External force command in the inertial frame N

public CmdForceInertialMessage In_CmdForceInertialMsg

Field Value

CmdForceInertialMessage

In_CmdTorqueBodyMsg

[CmdTorqueBodyMsg] External Torque command in the body frame b

public CmdTorqueBodyMessage In_CmdTorqueBodyMsg

Field Value

CmdTorqueBodyMessage

Methods

ComputeForceTorque(double)

Method to computeForce and torque on the body

public override void ComputeForceTorque(double time)

Parameters

time double

integrator 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 double

current time

OnUpdate(double, double)

Called when the 'Component' should update

protected override void OnUpdate(double time, double step)

Parameters

time double

current time (seconds)

step double

the time step (seconds)

ReadInputs()

Reads inputs from messages and stores them in variables

protected override void ReadInputs()