15 std::string m_strPartID;
18 std::string m_strPropertyName;
42 float m_fltStepIODuration;
44 virtual void AddGain(std::string strXml);
55 virtual int IOComponentID();
56 virtual void IOComponentID(
int iID);
58 virtual float IOValue();
59 virtual void IOValue(
float fltVal);
61 virtual int IOValueInt();
62 virtual void IOValueInt(
int iVal);
64 virtual float IOScaledValue();
65 virtual void IOScaledValue(
float fltVal);
67 virtual bool Changed();
68 virtual void Changed(
bool bVal);
70 virtual void LinkedPartID(std::string strID);
71 virtual std::string LinkedPartID();
73 virtual void PropertyName(std::string strName);
74 virtual std::string PropertyName();
76 virtual bool IsMotorControl();
77 virtual bool IncludeInPartsCycle() {
return false;}
79 virtual float QuantizeServoPosition(
float fltPos);
80 virtual float QuantizeServoVelocity(
float fltVel);
82 virtual Gain *GetGain();
83 virtual void SetGain(Gain *lpGain);
85 virtual float StepIODuration();
87 #pragma region DataAccesMethods
89 virtual float *GetDataPointer(
const std::string &strDataType);
90 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
91 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
95 virtual void SetupIO();
96 virtual void StepIO(
int iPartIdx);
97 virtual void ShutdownIO();
99 virtual void Initialize();
100 virtual void ResetSimulation();
101 virtual void Load(CStdXml &oXml);
Root namespace for the base simulation library for AnimatLab.
bool m_bChanged
True when the value changes.
A Robot IO controller base class.
Gain * m_lpGain
Pointer to the Gain that will be used to convert the source value into the target value...
int m_iIOValue
This stores the temporary IO value to be used later in IO calculations.
The Robotics interface configures a simulation to run on a microcontroller board. ...