Gazebo | Ignition | Community
Ask Your Question
0

Where is the gazebo_ros_api_plugin.cpp file located?

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

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

Comments

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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

scpeters gravatar image

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

edit flag offensive delete link more

Comments

Yes, but when you install it on a computer (from here http://gazebosim.org/tutorials?tut=rosinstalling&cat=connectros), where does it get placed?

nbanyk gravatar imagenbanyk ( 2014-09-03 20:48:03 -0600 )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 -0600 )edit

perfect! thank you!

nbanyk gravatar imagenbanyk ( 2014-09-04 00:00:29 -0600 )edit

Question Tools

Stats

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

Seen: 330 times

Last updated: Sep 03 '14