Class in Zendir.Classes | Inherits from Software

Declaration

class HRBTorqueMappingSoftware;

Description

Calculates a motor torque to drive a hinged panel to a reference angle state. A sensed and reference hinged rigid body angle drives a simple PD control law.


Properties

DeclaredDescription
In_HRBReferenceMsgReference HRB state (theta, thetaDot)
In_HRBSensedMsgSensed HRB state (theta, thetaDot)
K[rad] Theta gain parameter
Out_MotorTorqueArrayMsgOutput motor torque message
P[rad/s] Theta Dot gain parameter
InheritedDescription
IsEnabledIs true if the object is currently enabled.
NameThe display name or tag of this object.
ParentThe currently attached parent object (if any).

Methods

InheritedDescription
DestroyRemoves the current object from the simulation.
DisableDisable the software componentDerived classes should clear any output messages
EnableEnable the software component
FindParentWithIDReturns an attached parent that satisfies the specified ID.
FindParentWithTypeReturns an attached parent that satisfies the specified type.
FindRootWithIDReturns a root object that satisfies the specified ID.
FindRootWithTypeReturns a root object that satisfies the specified type.
InitialiseThis method is called whenever some key parameters are changedand any new local variables are required to be recalculated. Thiscan be called by the software chains if a configuration of somevalues are updated.