11 namespace RobotIOControls
19 MotorizedJoint *m_lpJoint;
23 bool m_bResetToStartPos;
34 float m_fltPosFPToFloatIntercept;
36 float m_fltPosFloatToFPSlope;
37 float m_fltPosFloatToFPIntercept;
47 virtual int MaxPulse();
48 virtual void MaxPulse(
int iPulse);
50 virtual int MinPulse();
51 virtual void MinPulse(
int iPulse);
53 virtual bool ResetToStartPos();
54 virtual void ResetToStartPos(
bool bVal);
56 virtual void SetupIO();
57 virtual void StepIO(
int iPartIdx);
59 virtual float ConvertPosFPToRad(
int iPos);
60 virtual int ConvertPosRadToFP(
float fltPos);
62 virtual void SetGoalPosition_FP(
int iPos);
63 virtual void SetGoalPosition(
float fltPos);
65 #pragma region DataAccesMethods
67 virtual float *GetDataPointer(
const std::string &strDataType);
68 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
69 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
73 virtual void Initialize();
74 virtual void StepSimulation();
75 virtual void Load(CStdXml &oXml);
float m_fltPosFPToFloatSlope
The conversion factor to convert radians to FP angle position.
Classes for implementing the cm-labs vortex physics engine for AnimatLab.
virtual bool IsMotorControl()
Returns true if this part interface is for controlling a motor.