21 #ifndef _GAZEBO_PRESSURE_PLUGIN_HH_
22 #define _GAZEBO_PRESSURE_PLUGIN_HH_
25 #include <boost/unordered_map.hpp>
28 #include <gazebo/sensors/sensors.hh>
29 #include <gazebo/transport/transport.hh>
52 public:
virtual void Init();
55 private:
virtual void OnUpdate();
71 private: std::string worldName;
74 private: std::string parentSensorName;
77 private: boost::unordered_map<std::string, double> collisionNamesToArea;
std::shared_ptr< Sensor > SensorPtr
Definition: SensorTypes.hh:63
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
std::shared_ptr< ContactSensor > ContactSensorPtr
Definition: SensorTypes.hh:87
A plugin for a tactile pressure sensor.
Definition: PressurePlugin.hh:40
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:153
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
A plugin with access to physics::Sensor.
Definition: Plugin.hh:274
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59