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
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.
KevinOn Tue, Jan 11, 2011 at 9:11 PM, Ryohei Ueda <ueda@jsk.t.u-tokyo.ac.jp> 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