Gazebo | Ignition | Community
Ask Your Question

Where is the gazebo_ros_api_plugin.cpp file located?

asked 2014-09-03 17:37:38 -0500

nbanyk gravatar image

I've been trying to create my own subscribers/publishers with gazeboros and have had trouble finding this file: gazeborosapiplugin.cpp. I'm assuming that this would be what I would need to modify in order to get the /gazebo node subscribing to new publishers and publishing to new subscribers. I have Ubuntu 12.04, Gazebo 1.9 (although that may have gotten updated to 3.0), ROS Hydro.

Thanks in advance!

edit retag flag offensive close merge delete


I should clarify that I tried using find and grep to find it and had no luck.

nbanyk gravatar imagenbanyk ( 2014-09-03 17:39:05 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-09-03 20:01:07 -0500

scpeters gravatar image

updated 2014-09-03 20:02:36 -0500

edit flag offensive delete link more


Yes, but when you install it on a computer (from here, where does it get placed?

nbanyk gravatar imagenbanyk ( 2014-09-03 20:48:03 -0500 )edit

If you install from pre-built debians, then the source file won't be included. If you install from source according to the instructions, then it will be at ~/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/src/gazebo_ros_api_plugin.cpp

scpeters gravatar imagescpeters ( 2014-09-03 23:40:07 -0500 )edit

perfect! thank you!

nbanyk gravatar imagenbanyk ( 2014-09-04 00:00:29 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2014-09-03 17:37:38 -0500

Seen: 237 times

Last updated: Sep 03 '14