00001 00013 #ifndef SHADOWHAND_TACTILE_SENSOR_PUBLISHER_H_ 00014 #define SHADOWHAND_TACTILE_SENSOR_PUBLISHER_H_ 00015 00016 #include <ros/ros.h> 00017 00018 using namespace ros; 00019 00020 namespace shadowrobot 00021 { 00022 00023 class SRTactileSensorPublisher 00024 { 00025 public: 00027 SRTactileSensorPublisher(); 00028 00030 ~SRTactileSensorPublisher() 00031 { 00032 } 00033 ; 00034 00035 void publish(); 00036 00037 private: 00039 // CALLBACKS // 00041 //ros node handle 00042 NodeHandle node, n_tilde; 00043 Rate publish_rate; 00044 00045 std::vector<std::string> sensor_touch_names; 00046 std::vector<std::string> sensor_temp_names; 00047 00048 std::vector<Publisher> sr_touch_pubs; 00049 std::vector<Publisher> sr_temp_pubs; 00050 }; // end class ShadowhandTactileSensorPublisher 00051 00052 } // end namespace 00053 00054 #endif /* !SHADOWHAND_TACTILE_SENSOR_PUBLISHER_H_ */