Main Page
Namespaces
Classes
Files
File List
include
roboticsgroup_upatras_gazebo_plugins
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
:
37
DisableLinkPlugin
();
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
gazebo::DisableLinkPlugin
Definition:
disable_link_plugin.h:35
gazebo::DisableLinkPlugin::link_
physics::LinkPtr link_
Definition:
disable_link_plugin.h:47
gazebo::DisableLinkPlugin::link_name_
std::string link_name_
Definition:
disable_link_plugin.h:44
gazebo
gazebo::DisableLinkPlugin::model_
physics::ModelPtr model_
Definition:
disable_link_plugin.h:50
gazebo::DisableLinkPlugin::world_
physics::WorldPtr world_
Definition:
disable_link_plugin.h:53
gazebo::DisableLinkPlugin::DisableLinkPlugin
DisableLinkPlugin()
Definition:
disable_link_plugin.cpp:27
gazebo::DisableLinkPlugin::~DisableLinkPlugin
virtual ~DisableLinkPlugin() override
Definition:
disable_link_plugin.cpp:32
ros.h
gazebo::DisableLinkPlugin::Load
virtual void Load(physics::ModelPtr _parent, sdf::ElementPtr _sdf) override
Definition:
disable_link_plugin.cpp:36
roboticsgroup_upatras_gazebo_plugins
Author(s): Konstantinos Chatzilygeroudis
autogenerated on Tue Dec 22 2020 04:03:12