ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi,

here are some examples of includes from my plugins:

#include "gazebo.hh" #include "physics/physics.h" #include "common/Events.hh" #include "common/Plugin.hh" #include "common/Time.hh" #include "common/common.h"

As for the error maybe try putting ‘GZ_REGISTER_PLUGIN’ before the last '}' (outside the class, inside the namespace), that is how I have them declared.

Here are tutorials for the new gazebo.

Cheers

Hi,

here are some examples of includes from my plugins:

#include "gazebo.hh""gazebo.hh"
#include "physics/physics.h"
#include "common/Events.hh"
#include "common/Plugin.hh"
#include "common/Time.hh"
#include "common/common.h"
 #include "physics/physics.h" #include "common/Events.hh" #include "common/Plugin.hh" #include "common/Time.hh" #include "common/common.h"

As for the error maybe try putting ‘GZ_REGISTER_PLUGIN’ before the last '}' (outside the class, inside the namespace), that is how I have them declared.

Here are tutorials for the new gazebo.

Cheers