Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi Andrei,

I do not use multiple versions of Gazebo, I just have installed ROS Fuerte version. I have modified the CMakeLists.txt file as you said. Removing the dependency from the manifest.xml doesn't allow the compilation of the plugin. Actually I made the following in order to compile:

  • originally, i.e. even before your suggestions, when trying to compile the plugin (the one copied above ), I got the following error:

/opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/include/gazebo-1.0.2/gazebo/rendering/ContactVisual.hh:58:16: error: ‘transport’ does not name a type /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/include/gazebo-1.0.2/gazebo/rendering/ContactVisual.hh:59:16: error: ‘transport’ does not name a type

  • at this point, in ./gazebo/include/gazebo-1.0.2/gazebo/rendering/Visual.hh I added a line including transport.hh, i.e. /#include "transport/transport.hh"

  • after getting the plugin compiled, I got the error

Is it possible that the error is related to the include I made? After all this could be related to the famous call to the personal camera... Probably I am missing something..

Thanks

Hi Andrei,

I do not use multiple versions of Gazebo, I just have installed ROS Fuerte version. I have modified the CMakeLists.txt file as you said. Removing the dependency from the manifest.xml doesn't allow the compilation of the plugin. Actually I made the following in order to compile:

  • originally, i.e. even before your suggestions, when trying to compile the plugin (the one copied above ), I got the following error:

/opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/include/gazebo-1.0.2/gazebo/rendering/ContactVisual.hh:58:16: error: ‘transport’ does not name a type /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/gazebo/include/gazebo-1.0.2/gazebo/rendering/ContactVisual.hh:59:16: error: ‘transport’ does not name a type

  • at this point, in ./gazebo/include/gazebo-1.0.2/gazebo/rendering/Visual.hh I added a line including transport.hh, i.e. /#include "transport/transport.hh"

  • after getting the plugin compiled, I got the error

Please also note that if I put just a printf in my plugin, i.e. without the line this->userCam = gui::get_active_camera(), the plugin works.

Is it possible that the error is related to the include I made? After all this could be related to the famous call to the personal camera... Probably I am missing something..

Thanks