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 <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