force_torque_sensor_hw.h
Go to the documentation of this file.
1 
2 #ifndef FORCETORQUESENSORHW_INCLUDEDEF_H
3 #define FORCETORQUESENSORHW_INCLUDEDEF_H
4 
5 namespace hardware_interface
6 {
7 
9 {
10 public:
12  ForceTorqueSensorHW(int type, std::string path, int baudrate, int base_identifier) {};
13  virtual ~ForceTorqueSensorHW() {};
14 
15  virtual bool init() { return true; };
16  virtual bool initCommunication(int type, std::string path, int baudrate, int base_identifier) { return true; };
17  virtual bool readFTData(int statusCode, double& Fx, double& Fy, double& Fz, double& Tx, double& Ty, double& Tz) { return true; };
18  virtual bool readDiagnosticADCVoltages(int index, short int& value) { return true; };
19 };
20 
21 }
22 #endif
ForceTorqueSensorHW(int type, std::string path, int baudrate, int base_identifier)
virtual bool initCommunication(int type, std::string path, int baudrate, int base_identifier)
virtual bool readFTData(int statusCode, double &Fx, double &Fy, double &Fz, double &Tx, double &Ty, double &Tz)
virtual bool readDiagnosticADCVoltages(int index, short int &value)


force_torque_sensor
Author(s):
autogenerated on Fri Sep 18 2020 03:06:30