[ros-users] rosinstall script creating rosinstall local branches for git repositories

William Woodall wjwwood at gmail.com
Thu Aug 12 22:44:55 UTC 2010


I have run into this as well, and maybe I am unfamiliar with how you guys
are using git, but I think the way the rosinstall did its git checkout
before was fine.  I don't understand why it has to make a new branch when it
git clones the repository?

Additionally, at the end of rosinstall I now get this error:

...
ERROR: No ROS_ROOT defined.  The 'ros' stack is required in all rosinstall
directories. Please add a definition of the 'ros' stack either manually in
.rosinstall and then call 'rosinstall .' in the directory. Or add one on the
command line 'rosinstall .
http://www.ros.org/rosinstalls/boxturtle_ros.rosinstall'. Or reference an
existing install like in /opt/ros/boxturtle with 'rosinstall .
/opt/ros/boxturtle'.  Note: the above suggestions assume you are using
boxturtle, if you are using latest or another distro please change the urls.
...

So then I run export to check and this is what I get:

~$ export
...
declare -x
PATH="/opt/ros/cturtle/ros/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
declare -x PWD="/home/mowbot"
declare -x PYTHONPATH=":/opt/ros/cturtle/ros/core/roslib/src"
declare -x ROS_MASTER_URI="http://localhost:11311"
declare -x ROS_PACKAGE_PATH="/opt/ros/cturtle/stacks"
declare -x ROS_ROOT="/opt/ros/cturtle/ros"
...

This means that it also does not generate a setup.sh file for me to source.
 I have attached the whole transcript of the problem.

I tried what the message told me and tried doing 'rosinstall .
/opt/ros/cturtle' before trying the ros install of my repository and that
did not change anything.

Also, I was looking for how rosinstall is supposed to work now and I think
that if the ros_tutorials are included in the deb packages now then the
tutorials are not going to work.  Specifically the second tutorial instructs
users to roscreate-pkg without telling them to change directories or
anything.  Now if they started tutorial two directly from tutorial one they
should still be in turtlesim's pkg directory, which by default will not be
writable to most users and roscreate-pkg will fail with permission denied.

I appreciate any insight into how I should be setting up my working
environment differently or to why I am getting errors from rosinstall.

Thanks,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
William Woodall
Graduate Software Engineering
Auburn University
w at auburn.edu
wjwwood at gmail.com
256-345-9938
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


On Wed, Aug 11, 2010 at 8:21 PM, Tully Foote <tfoote at willowgarage.com>wrote:

> Dejan,
> rosinstall creates a named branch to avoid to avoid conflicts when checking
> in locally.  As of version 0.5.5 the git checkouts have been upgraded to
> properly call --track when branching off of a branch such that push and pull
> should work.
>
> Tully
>
>
> On Wed, Aug 4, 2010 at 3:18 PM, Dejan Pangercic <dejan.pangercic at gmail.com
> > wrote:
>
>> Hi there,
>>
>> I am using rosinstall script from pypi, version 0.5.2. After updating
>> my installation today I noticed that all git repositories specified in
>> my overlay file have been cloned to the local branches named
>> "rosinstall" as oppose to e.g. branch "master".
>> In my POV this should be considered as a bug right?
>>
>> cheers, D.
>>
>> --
>> MSc. Dejan Pangercic
>> PhD Student/Researcher
>> Intelligent Autonomous Systems Group
>> Technische Universität München
>> Telephone: +49 (89) 289-26908
>> E-Mail: dejan.pangercic at cs.tum.edu
>> WWW: http://ias.cs.tum.edu/people/pangercic
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>
>
>
> --
> Tully Foote
> Systems Engineer
> Willow Garage, Inc.
> tfoote at willowgarage.com
> (650) 475-2827
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100812/9c78ee88/attachment-0003.html>
-------------- next part --------------
mowbot at mowbot:~$ rosinstall automow http://github.com/wjwwood/au-automow/raw/master/automow.rosconfig
rosinstall operating on /home/mowbot/automow from specifications in rosinstall files  http://github.com/wjwwood/au-automow/raw/master/automow.rosconfig
Updating /home/mowbot/automow/au-automow to git://github.com/wjwwood/au-proteus.git 
Initialized empty Git repository in /home/mowbot/automow/au-automow/.git/
remote: Counting objects: 1381, done.
remote: Compressing objects: 100% (667/667), done.
remote: Total 1381 (delta 700), reused 1234 (delta 607)
Receiving objects: 100% (1381/1381), 2.23 MiB, done.
Resolving deltas: 100% (700/700), done.
cmd git checkout  -b rosinstall_auto_branch --track
Branch rosinstall_auto_branch set up to track local branch master.
Switched to a new branch 'rosinstall_auto_branch'
ERROR: No ROS_ROOT defined.  The 'ros' stack is required in all rosinstall directories. Please add a definition of the 'ros' stack either manually in .rosinstall and then call 'rosinstall .' in the directory. Or add one on the command line 'rosinstall . http://www.ros.org/rosinstalls/boxturtle_ros.rosinstall'. Or reference an existing install like in /opt/ros/boxturtle with 'rosinstall . /opt/ros/boxturtle'.  Note: the above suggestions assume you are using boxturtle, if you are using latest or another distro please change the urls.
mowbot at mowbot:~$ export
declare -x COLORTERM="gnome-terminal"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-zn5tDjZt9X,guid=460b0f19b3d719fe7faef22c4c646e86"
declare -x DEFAULTS_PATH="/usr/share/gconf/gnome.default.path"
declare -x DESKTOP_SESSION="gnome"
declare -x DISPLAY=":0.0"
declare -x GDMSESSION="gnome"
declare -x GDM_KEYBOARD_LAYOUT="us"
declare -x GDM_LANG="en_US.utf8"
declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
declare -x GNOME_KEYRING_CONTROL="/tmp/keyring-3TdjVS"
declare -x GNOME_KEYRING_PID="1753"
declare -x GTK_MODULES="canberra-gtk-module"
declare -x HOME="/home/mowbot"
declare -x LANG="en_US.utf8"
declare -x LESSCLOSE="/usr/bin/lesspipe %s %s"
declare -x LESSOPEN="| /usr/bin/lesspipe %s"
declare -x LIBGL_DRIVERS_PATH="/usr/lib/fglrx/dri"
declare -x LOGNAME="mowbot"
declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
declare -x MANDATORY_PATH="/usr/share/gconf/gnome.mandatory.path"
declare -x OLDPWD="/opt/ros/cturtle/stacks/ros_tutorials/turtlesim"
declare -x ORBIT_SOCKETDIR="/tmp/orbit-mowbot"
declare -x PATH="/opt/ros/cturtle/ros/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
declare -x PWD="/home/mowbot"
declare -x PYTHONPATH=":/opt/ros/cturtle/ros/core/roslib/src"
declare -x ROS_MASTER_URI="http://localhost:11311"
declare -x ROS_PACKAGE_PATH="/opt/ros/cturtle/stacks"
declare -x ROS_ROOT="/opt/ros/cturtle/ros"
declare -x SESSION_MANAGER="local/mowbot:@/tmp/.ICE-unix/1771,unix/mowbot:/tmp/.ICE-unix/1771"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SPEECHD_PORT="7560"
declare -x SSH_AGENT_PID="1807"
declare -x SSH_AUTH_SOCK="/tmp/keyring-3TdjVS/ssh"
declare -x TERM="xterm"
declare -x USER="mowbot"
declare -x USERNAME="mowbot"
declare -x WINDOWID="54525955"
declare -x XAUTHORITY="/var/run/gdm/auth-for-mowbot-0Y8aVH/database"
declare -x XDG_CONFIG_DIRS="/etc/xdg/xdg-gnome:/etc/xdg"
declare -x XDG_DATA_DIRS="/usr/share/gnome:/usr/local/share/:/usr/share/"
declare -x XDG_SESSION_COOKIE="047f78f1205c9472f29474f24c631f74-1281650310.706096-634672091"


More information about the ros-users mailing list