30 #ifndef _SR_GENERIC_TACTILE_SENSOR_HPP_ 31 #define _SR_GENERIC_TACTILE_SENSOR_HPP_ 35 #include <boost/smart_ptr.hpp> 39 #include <std_msgs/Float64.h> 41 #include <sr_robot_msgs/is_hand_occupied.h> 42 #include <sr_robot_msgs/which_fingers_are_touching.h> 106 bool is_hand_occupied_cb(sr_robot_msgs::is_hand_occupied::Request &req,
107 sr_robot_msgs::is_hand_occupied::Response &res);
121 bool which_fingers_are_touching_cb(sr_robot_msgs::which_fingers_are_touching::Request &req,
122 sr_robot_msgs::which_fingers_are_touching::Response &res);
135 std::vector<std::vector<std::string> > get_all_names();
std_msgs::Float64 msg_touch
std::vector< boost::shared_ptr< SrGenericTactileSensor > > tactile_sensors
void publish_current_values()
SrGenericTactileSensor(std::string name, std::string touch_name)
std::string touch_sensor_name
std::vector< double > is_hand_occupied_thresholds
ros::ServiceServer which_fingers_are_touching_server
virtual double get_touch_data()=0
virtual ~SrGenericTactileSensor()
ros::ServiceServer is_hand_occupied_server