Gazebo | Ignition | Community
Ask Your Question

Getting the gazebo plugin p3d working (hydro)

asked 2014-01-27 08:06:56 -0500

Marcus gravatar image

Ros Hydro; Gazebo 1.9.2;

Hello guys,

The last 2 days I am trying to figure out how to get this little plugin to work:

<plugin name="my_box_controller" plugin="">
  <!--interface:position name="my_box_p3d_position_iface" /-->


and this is the error that I get

Error [] Required attribute[filename] in element[plugin] is not specified in SDF.

I bet I got confused with the whole URDF, XACRO, SDF stuff. I could post the rest of my code, even though it is just a box. Also, it might be worth mentioning that everything works fin when I remove the plugin.

Of course I looked at the tutorial but it was not very helpful (or did I miss something?):

Thanks in advance guys, Marcus

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-27 12:18:01 -0500

Here is an example:

  <plugin name="ground_truth" filename="">
edit flag offensive delete link more


This works perfectly. Thank you Jim.

Marcus gravatar imageMarcus ( 2014-01-28 04:27:14 -0500 )edit

that also works for me

zhenshan gravatar imagezhenshan ( 2018-09-16 22:03:48 -0500 )edit

Whenever I try using it, unfortunately, I don't any published message from Gazebo of the /odom topic. Is there any posibility of extracting the position and orientation (Odometry) from Gazebo with this plugin?

PGHowzLife gravatar imagePGHowzLife ( 2019-12-31 04:19:09 -0500 )edit

Question Tools


Asked: 2014-01-27 08:06:56 -0500

Seen: 8,201 times

Last updated: Jan 27 '14