disable_link_plugin.h
Go to the documentation of this file.
1 
23 #ifndef ROBOTICSGROUP_UPATRAS_GAZEBO_PLUGINS_DISABLE_LINK_PLUGIN
24 #define ROBOTICSGROUP_UPATRAS_GAZEBO_PLUGINS_DISABLE_LINK_PLUGIN
25 
26 // ROS includes
27 #include <ros/ros.h>
28 
29 // Gazebo includes
30 #include <gazebo/common/Plugin.hh>
31 #include <gazebo/physics/physics.hh>
32 
33 namespace gazebo {
34 
35  class DisableLinkPlugin : public ModelPlugin {
36  public:
38  virtual ~DisableLinkPlugin() override;
39 
40  virtual void Load(physics::ModelPtr _parent, sdf::ElementPtr _sdf) override;
41 
42  private:
43  // Parameters
44  std::string link_name_;
45 
46  // Pointers to the joints
47  physics::LinkPtr link_;
48 
49  // Pointer to the model
50  physics::ModelPtr model_;
51 
52  // Pointer to the world
53  physics::WorldPtr world_;
54  };
55 
56 }
57 
58 #endif // ROBOTICSGROUP_UPATRAS_GAZEBO_PLUGINS_DISABLE_LINK_PLUGIN
virtual ~DisableLinkPlugin() override
virtual void Load(physics::ModelPtr _parent, sdf::ElementPtr _sdf) override


roboticsgroup_upatras_gazebo_plugins
Author(s): Konstantinos Chatzilygeroudis
autogenerated on Tue Dec 22 2020 04:03:12