2 #ifndef FORCETORQUESENSORSIM_INCLUDEDEF_H 3 #define FORCETORQUESENSORSIM_INCLUDEDEF_H 6 #include <geometry_msgs/Twist.h> 7 #include <geometry_msgs/WrenchStamped.h> 22 bool initCommunication(
int type, std::string path,
int baudrate,
int base_identifier);
23 bool readFTData(
int statusCode,
double& Fx,
double& Fy,
double& Fz,
double& Tx,
double& Ty,
double& Tz);
26 void subscribeData(
const geometry_msgs::Twist::ConstPtr& msg);
bool readDiagnosticADCVoltages(int index, short int &value)
bool readFTData(int statusCode, double &Fx, double &Fy, double &Fz, double &Tx, double &Ty, double &Tz)
bool initCommunication(int type, std::string path, int baudrate, int base_identifier)
void subscribeData(const geometry_msgs::Twist::ConstPtr &msg)
geometry_msgs::WrenchStamped joystick_data
ros::Subscriber force_input_subscriber