Gazebo | Ignition | Community
Ask Your Question
0

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
1

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

Comments

1

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

I know this is a two year old question, but I am in the same boat. How did you make it work? I tried replacing the {name} with my link name and setting the visualization to true but there is no laser visualization in gazebo.

BlackViper gravatar imageBlackViper ( 2018-08-09 02:33:55 -0500 )edit
1

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

Bharath gravatar image

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

<hyperlink>https://github.com/tu-darmstadt-ros-pkg/hector_gazebo</hyperlink>

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

Question Tools

Stats

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

Seen: 8,309 times

Last updated: Jul 05 '14