22#ifndef GAZEBO_PLUGINS_PRESSUREPLUGIN_HH_
23#define GAZEBO_PLUGINS_PRESSUREPLUGIN_HH_
27#include <ignition/transport/Node.hh>
30#include <gazebo/sensors/sensors.hh>
31#include <gazebo/transport/transport.hh>
54 public:
virtual void Init();
57 private:
virtual void OnUpdate();
73 private: std::string worldName;
76 private: std::string parentSensorName;
79 private: std::map<std::string, double> collisionNamesToArea;
85 private: ignition::transport::Node nodeIgn;
88 private: ignition::transport::Node::Publisher tactilePubIgn;
A plugin for a tactile pressure sensor.
Definition PressurePlugin.hh:43
virtual void Load(sensors::SensorPtr _sensor, sdf::ElementPtr _sdf)
Load function.
virtual ~PressurePlugin()
Destructor.
virtual void Init()
Override this method for custom plugin initialization behavior.
PressurePlugin()
Constructor.
A plugin with access to physics::Sensor.
Definition Plugin.hh:333
boost::shared_ptr< Connection > ConnectionPtr
Definition CommonTypes.hh:134
std::shared_ptr< ContactSensor > ContactSensorPtr
Definition SensorTypes.hh:92
std::shared_ptr< Sensor > SensorPtr
Definition SensorTypes.hh:64
boost::shared_ptr< Publisher > PublisherPtr
Definition TransportTypes.hh:49
boost::shared_ptr< Node > NodePtr
Definition TransportTypes.hh:57
Forward declarations for the common classes.
Definition Animation.hh:27