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;
std::shared_ptr< Sensor > SensorPtr
Definition: SensorTypes.hh:64
Forward declarations for the common classes.
Definition: Animation.hh:26
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:92
A plugin for a tactile pressure sensor.
Definition: PressurePlugin.hh:42
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:134
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:334
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59