sr_real_tactile_sensor.hpp
Go to the documentation of this file.
1 
29 #ifndef _SR_REAL_TACTILE_SENSOR_HPP_
30 #define _SR_REAL_TACTILE_SENSOR_HPP_
31 
32 #include <ros/ros.h>
33 
34 #include <string>
35 
36 // our robot code
37 #include <robot/robot.h>
38 #include <robot/hand.h>
39 #include <robot/hand_protocol.h>
40 
42 
43 namespace shadowrobot
44 {
47 {
48 public:
49  SrRealTactileSensor(std::string name, std::string touch_name);
50 
51  virtual ~SrRealTactileSensor();
52 
58  virtual double get_touch_data();
59 
60 private:
61  struct sensor sensor_touch;
62  int res_touch;
63 };
64 
67 {
68 public:
70 
72 };
73 } // namespace shadowrobot
74 
75 /* For the emacs weenies in the crowd.
76 Local Variables:
77  c-basic-offset: 2
78 End:
79 */
80 
81 #endif
This is a generic parent class for the tactile sensors used in the Shadow Robot Dextrous Hand...
SrRealTactileSensor(std::string name, std::string touch_name)


sr_tactile_sensors
Author(s): Ugo Cupcic
autogenerated on Tue Oct 13 2020 03:55:46