18 #ifndef CANDRIVEITF_INCLUDEDEF_H 19 #define CANDRIVEITF_INCLUDEDEF_H 53 virtual bool init() = 0;
66 virtual bool start() = 0;
72 virtual bool stop() = 0;
78 virtual bool reset() = 0;
162 virtual void getGearPosVelRadS(
double* pdAngleGearRad,
double* pdVelGearRadS) = 0;
188 virtual unsigned int getError() = 0;
203 virtual void getStatus(
int* piStatus,
int* piTempCel) = 0;
218 virtual void IntprtSetInt(
int iDataLen,
char cCmdChar1,
char cCmdChar2,
int iIndex,
int iData) = 0;
223 virtual int setRecorder(
int iFlag,
int iParam = 0, std::string sParam =
"/home/MyLog") = 0;
virtual bool shutdown()=0
virtual bool resetEMStop()=0
virtual void requestPosVel()=0
virtual bool execHoming()=0
virtual double getTimeToLastMsg()=0
virtual bool initHoming()=0
virtual bool startWatchdog(bool bStarted)=0
virtual void setCanItf(CanItf *pCanItf)=0
virtual void getMotorTorque(double *dTorqueNm)=0
virtual void getGearDeltaPosVelRadS(double *pdDeltaAngleGearRad, double *pdVelGearRadS)=0
virtual unsigned int getError()=0
virtual bool setEMStop()=0
virtual void requestStatus()=0
virtual void requestMotorTorque()=0
virtual void getGearPosRad(double *pdPosGearRad)=0
virtual void getStatus(int *piStatus, int *piTempCel)=0
virtual void setGearVelRadS(double dVelRadS)=0
virtual bool disableBrake(bool bDisabled)=0
virtual void setMotorTorque(double dTorqueNm)=0
virtual bool isInitialized()=0
virtual bool setTypeMotion(int iType)=0
virtual void setGearPosVelRadS(double dPosRad, double dVelRadS)=0
virtual bool evalReceivedMsg()=0
virtual bool getStatusLimitSwitch()=0
virtual void setDriveParam(DriveParam driveParam)=0
virtual void getGearPosVelRadS(double *pdAngleGearRad, double *pdVelGearRadS)=0
virtual void IntprtSetInt(int iDataLen, char cCmdChar1, char cCmdChar2, int iIndex, int iData)=0
virtual int setRecorder(int iFlag, int iParam=0, std::string sParam="/home/MyLog")=0