ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to create a diff file from gazebo development version

asked 2011-11-23 03:16:52 -0500

jrcapriles gravatar image

updated 2011-11-23 03:20:00 -0500

Hi everyone!

I downloaded the gazebo development version and I'm working on it. How can I create a diff file of all gazebo package (including the sourcecode) to see my changes and easily make a patch??

I downloaded the simulator gazebo from: svn co https://code.ros.org/svn/ros-pkg/stacks/simulator_gazebo/branches/simulator_gazebo-1.2 ~/simulator_gazebo/

Added the new simulator gazebo path to ROS_PACKAGE_PATH and build. It takes like 700 seconds and then all is OK, in build folder is all the source code.

If I do a "svn st" all the folders are with a "?" If I do a svn info it returns:

Path: . URL: https://code.ros.org/svn/ros-pkg/stacks/simulator_gazebo/branches/simulator_gazebo-1.2/gazebo Repository Root: https://code.ros.org/svn/ros-pkg Repository UUID: eb33c2ac-9c88-4c90-87e0-44a10359b0c3 Revision: 38270
Node Kind: directory Schedule: normal
Last Changed Author: hsu
Last Changed Rev: 37935
Last Changed Date: 2011-09-16 22:44:55 +0200 (Fri, 16 Sep 2011)

And if I do a svn diff it don't return anything (even if a made some changes in the source code). What am I doing wrong? or what is the proper way of do it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-11-24 21:24:27 -0500

jrcapriles gravatar image

I already found the answer to my own question, when you are working with development versions, the source code package is donwloaded when you do a rosmake, in my case if you go to simulator_gazebo/gazebo folder, it should be a "Makefile.gazebo.trunk" this file contain all the information required to building the code. There is the location of the source code repository. In my case is in:

SVN_URL = https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk

You can do a "svn co" of this repository, add your changes and then do a "svn diff", this will return you a patch file from gazebo source code. I did this to attach this patch to a gazebo defect ticket with IRSensor https://kforge.ros.org/gazebo/trac/ticket/30

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-11-23 03:16:52 -0500

Seen: 743 times

Last updated: Nov 24 '11