Ask Your Question

Ros Gazebo development

asked 2011-12-06 19:09:49 -0500

jks007 gravatar image

Hi, I would like to modify the core Gazebo that comes with ROS, specifically (under the server folder), it seems that a tarred version of the of gazebo is downloaded from the repository and then extracted and built inside the folder build. However if I edit anything in there, it doesn't seem to have an effect on rosmake gazebo.

If anyone has any tips or has some experience, help would be welcome. Regards, Zak

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-12-07 01:30:30 -0500

DimitriProsser gravatar image

The Gazebo that ROS uses is the standard third-party library with a ROS wrapper around it. When you re-make Gazebo, you're pulling down the original source version from the Gazebo site.

In order to modify gazebo itself, you must create a patch for your changes (as a diff against the downloaded version), and add that to the patches/ subdirectory.

Additionally, you can find and replace the original address in all files with the new address on your local machine, then eliminate all autogenerated files with make clean or the like. You might also need to remove some conflicting lib files. After that, you should be able to make it fine.

I believe that the default makefile that CMakeLists.txt invokes is Makefile.gazebo.tarball, so that's where I would change the address first if you're going with this route. Just be aware that doing this means that any updates to Gazebo will overwrite your changes. As such, the patch method is safer.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-12-06 19:09:49 -0500

Seen: 154 times

Last updated: Dec 07 '11