Ask Your Question
0

rosinstall upstream

asked 2016-03-17 03:26:37 -0500

Juan gravatar image

updated 2016-03-20 10:16:03 -0500

gvdhoorn gravatar image

I would like to know if .rosinstall can be used to pull from upstream. In doing so, we can get the latest changes from upstream as opposed to local changes that we create from within our own repository...

Is it possible? If so, what is the syntax?


Edit: @al-dev I feel familiar with wtool and its documentation.

The situation is that currently in my git folder I have an address for an upstream remote and an origin remote. wstool seems to compare the uri in the file to that of the origin master remote branch.

When I use wstool I get an error stating that the address in the file and that of my git repository are different...

Prepare updating https://github.com/RethinkRobotics/ba... (version master) to /home/vmrguser/ros/indigo/baxter_ws/src/baxter_examples Url https://github.com/birlrobotics/baxte... does not match https://github.com/RethinkRobotics/ba... requested.

Feedback is appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-03-18 05:04:08 -0500

al-dev gravatar image

updated 2016-03-20 13:39:54 -0500

@Juan, you can use wstool for that purpose. See http://wiki.ros.org/wstool for the syntax. Typically, once you have properly configured your list of repositories in your .rosinstall file with their remote URI, you can pull with wstool update in the folder where your file is located ( http://docs.ros.org/independent/api/r... )

Edit: Now I understand your problem seems related to the fact that wstool uses the origin remote by default. You may want to have a look at this ticket and the discussion therein. In short the suggestions so far are :

  1. try using vcstool instead of wstool
  2. try out this WIP branch if you are willing to keep only one remote, or
  3. make a patch yourself and a pull request...
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

2 followers

Stats

Asked: 2016-03-17 03:26:37 -0500

Seen: 117 times

Last updated: Mar 20 '16