Hi Kevin, Tully thank you for your prompt replies. > Are you using a PR2? im not using ros on C1 or C2. i'm installing ros at ~/ros using rosinstall on my laptop. > We did just fix setup.sh to only use sh legal commands today as per ticket > https://code.ros.org/trac/ros/ticket/2860. For the bash tools like roscd > you will need to use setup.bash. I've updated the wiki page to site > setup.bash. OK, i see. in addition to that, i think the documentation which is outputted at the end of execution of the script is a little bit confusing: "done. Now, type 'source %s/setup.sh' to set up your environment. Add that to the bottom of your ~/.bashrc to set it up every time." rosinstall, i think, should say "source %s/setup.bash if you are using bash." -- ryohei On 12 January 2011 16:30, Tully Foote wrote: > Hi Ryohei, > > We did just fix setup.sh to only use sh legal commands today as per ticket > https://code.ros.org/trac/ros/ticket/2860.  For the bash tools like roscd > you will need to use setup.bash.  I've updated the wiki page to site > setup.bash. > > There does seem to be a bug in the pathing I've reopened the ticket to deal > with that. > > Tully > > On Tue, Jan 11, 2011 at 10:55 PM, Kevin Watts > wrote: >> >> Are you using a PR2? The files in /etc/ros are a little different. The >> "/etc/ros/setup.sh" file is used for scripts, where sourcing rosbash isn't >> useful (you don't really need tab completion). "/etc/ros/setup.bash" is what >> users can add to their ".bashrc" files on the PR2. >> >> Kevin >> >> On Tue, Jan 11, 2011 at 9:11 PM, Ryohei Ueda >> wrote: >>> >>> now im using rosinstall to setup my ros environment, and >>> i found my setup.sh, generated by rosinstall, does not have >>> "source rosbash". >>> >>> but i found setup.bash and setup.zsh at ${ROS_ROOT}/../ >>> >>> is it right to add "source setup.bash" instead of setup.sh in my bashrc? >>> >>> the wiki page >>> (http://www.ros.org/wiki/cturtle/Installation/Ubuntu/SVN#cturtle.2BAC8-Installation.2BAC8-rosinstall.Environment_Setup) >>> says to add source setup.sh in my .bashrc. >>> >>> the version of rosinstall im using is 0.5.10: >>> $ rosinstall --version >>> rosinstall 0.5.10 >>> >>> thanks >>> >>> -- ryohei >>> _______________________________________________ >>> ros-users mailing list >>> ros-users@code.ros.org >>> https://code.ros.org/mailman/listinfo/ros-users >> >> >> _______________________________________________ >> ros-users mailing list >> ros-users@code.ros.org >> https://code.ros.org/mailman/listinfo/ros-users >> > > > > -- > Tully Foote > Systems Engineer > Willow Garage, Inc. > tfoote@willowgarage.com > (650) 475-2827 > > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users > >