Home | Tutorials | Wiki | Issues
Ask Your Question

Ros enabled plugin examples use c++11 ?

asked 2016-07-08 09:45:25 -0600

JuliusS gravatar image

I am following: http://gazebosim.org/tutorials?cat=gu...

I keep getting " ‘thread’ in namespace ‘std’ does not name a type " make errors that refer to the code in the guide: private: std::thread rosQueueThread;


I am using gazebo 1.9.6 and ROS hydro

It seems like these examples are using c++11? Are there some ROS enabled plugin examples that do not use c++11? I am clearly missing something here :) Thanks for all the help

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-07-13 16:24:01 -0600

updated 2016-07-14 12:44:59 -0600

Gazebo only supports C++11 from version 5.

This tutorial might be relevant to you, it's listed as working for Gazebo versions 1.9+.

Regarding tutorials organization

The tutorials live in this repository. Anyone can add or edit tutorials from there. Bigger changes to the website organization can't be done directly, but feel free to open an issue with your proposals.

In any case, I actually found this one by googling for "gazebo ros plugin", it was the first link from http://gazebosim.org that came up.

Another hint for finding tutorials is to use the browse view and do a Ctrl+F on the page.

edit flag offensive delete link more


Oh I see. This is exactly what I needed. Is there a way to propose enhancements for gazebosim.org tutorials organisation? I would have never found that myself haha Seems like older versions of gazebo are lost in the sands of time

JuliusS gravatar imageJuliusS ( 2016-07-14 06:01:25 -0600 )edit

I updated the answer with some comments about searching for tutorials ;)

chapulina gravatar imagechapulina ( 2016-07-14 12:45:56 -0600 )edit

Thanks, this is great. I think its just easy start of on a wrong path sometimes :p I did the whole velodyne plugin tutorial until it started not compiling haha

JuliusS gravatar imageJuliusS ( 2016-07-14 12:48:50 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-07-08 09:45:25 -0600

Seen: 420 times

Last updated: Jul 14 '16