17 #ifndef GAZEBO_PLUGINS_TOUCHPLUGIN_HH_
18 #define GAZEBO_PLUGINS_TOUCHPLUGIN_HH_
70 public:
void Enable(ConstIntPtr &_msg);
77 private: std::vector<sensors::ContactSensorPtr> contactSensors;
80 private: std::string modelName;
84 private: std::string target;
87 private: std::string ns;
A plugin with access to physics::Model.
Definition: Plugin.hh:340
Plugin which checks if this model has touched some specific target for a given time continuously and ...
Definition: TouchPlugin.hh:61
TouchPlugin()
Constructor.
virtual void Load(physics::ModelPtr _model, sdf::ElementPtr _sdf)
Load function.
void Enable(ConstIntPtr &_msg)
Callback for enable "service".
A Time class, can be used to hold wall- or sim-time.
Definition: Time.hh:48
Information for use in an update event.
Definition: UpdateInfo.hh:31
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:134
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:94
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
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