Class in Zendir.Classes | Inherits from Software

Declaration

class VoltageTorqueConversionSoftware;

Description

This module translates incoming voltage commands into torques commands. This was previously the Motor Voltage Device Interface class.


Properties

DeclaredDescription
Bias[Nm] Bias to add to the torque output
Gain[Nm/V] Gain to convert voltage to motor torque errors
In_MotorVoltageArrayMsgIncoming array of voltage commands that map to torques
Out_MotorTorqueArrayMsgOutgoing array of motor torque commands
ScaleFactor[-] Scales the output i.e. constant gain error
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.