Home | Tutorials | Wiki | Issues
Ask Your Question

Is the hector_gazebo_plugins plugin built-in or do I build it myself?

asked 2014-07-03 15:26:46 -0500

I'm pretty new to Gazebo, so I apologize. I'm confused about Gazebo plugins. I have used the skid steer plugin and the differential drive plugins that were in a Gazebo tutorial and they both worked fine in my robot models. So I know how to use plugins, at least a little.

Now I'm starting to add sensors to my robot models and I can't figure out how to use the hectorgazeboplugins GazeboRosSonar plugin. http://wiki.ros.org/hectorgazeboplugins

Is this something that is already built into Gazebo or ROS or is this something that I need to download and build on my machine? If the latter, then where are the download and install instructions? The above URL appears to just be API documentation.

I'm using ROS Hydro and Gazebo 1.9.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-07-05 10:14:08 -0500

Francisco gravatar image

You may as well install the compiled one with:

$ sudo apt-get install ros-hydro-hector-gazebo-plugins

What are you using for your robot model? .urdf or .sdf? Assuming .urdf here you can find an usage example.

Hope this helps

edit flag offensive delete link more



Thanks. I'm new enough that I sometimes forget to try the ros-[version]-[package name] naming convention.

Kurt Leucht gravatar imageKurt Leucht ( 2014-07-05 13:36:11 -0500 )edit

It works! Thanks!

Kurt Leucht gravatar imageKurt Leucht ( 2014-07-07 18:21:07 -0500 )edit

answered 2014-07-04 09:28:39 -0500

Bharath gravatar image

You need to download these plugins. You can do this from this page :


You have to download/clone this into your catkin workspace and run catkin_make. then you can use the hector_gazebo plugins.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2014-07-03 15:26:46 -0500

Seen: 2,355 times

Last updated: Jul 05 '14