mimic_plugin.h
Go to the documentation of this file.
1 #include <gazebo/common/Plugin.hh>
2 #include <gazebo/common/common.hh>
3 #include <gazebo/physics/Joint.hh>
4 #include <gazebo/physics/Model.hh>
5 #include <ros/ros.h>
6 using namespace gazebo;
7 
8 class MimicPlugin : public ModelPlugin
9 {
10  public:
11  MimicPlugin();
12  ~MimicPlugin();
13  void Load(physics::ModelPtr _parent, sdf::ElementPtr _sdf );
14  void UpdateChild();
15 
16  std::string mimic_joint_name_;
17  std::string joint_name_;
18  double multiplier_;
19  physics::ModelPtr model_;
20  physics::WorldPtr world_;
21  bool kill_sim;
22  event::ConnectionPtr updateConnection;
23 
24  physics::JointPtr joint_;
25  physics::JointPtr mimic_joint_;
26 
27 };
event::ConnectionPtr updateConnection
Definition: mimic_plugin.h:22
physics::JointPtr mimic_joint_
Definition: mimic_plugin.h:25
physics::JointPtr joint_
Definition: mimic_plugin.h:24
double multiplier_
Definition: mimic_plugin.h:18
physics::WorldPtr world_
Definition: mimic_plugin.h:20
physics::ModelPtr model_
Definition: mimic_plugin.h:19
std::string mimic_joint_name_
Definition: mimic_plugin.h:16
std::string joint_name_
Definition: mimic_plugin.h:17


barrett_hand_gazebo
Author(s):
autogenerated on Mon Jun 10 2019 12:51:58