00001 00002 00003 #ifndef FORCE_SENSOR_HANDLER_H 00004 #define FORCE_SENSOR_HANDLER_H 00005 00006 #include <vrep_ros_plugin/GenericObjectHandler.h> 00007 00008 00009 class Force_sensorHandler : public GenericObjectHandler 00010 { 00011 public: 00012 Force_sensorHandler(); 00013 ~Force_sensorHandler(); 00014 00018 void synchronize(); 00019 00023 void handleSimulation(); 00024 00028 unsigned int getObjectType() const; 00029 00033 bool endOfSimulation(); 00034 00035 protected: 00036 00040 void _initialize(); 00041 00045 //int _handleOfForceSensor; 00046 00050 ros::Publisher _pub; 00054 double _acquisitionFrequency; 00055 00059 simFloat _lastPublishedForceSensor; 00060 00061 }; 00062 00063 00064 #endif // ndef FORCE_SENSOR_HANDLER_H