0
$\begingroup$

Rosanswers logo

Hi,

I have installed Hydro on Ubuntu 12.04 . I have also installed rosbash. I still do not have command roscd is not PATH env variable. Other ROS related environment variables are correctly set.

Do anyother person facing similar problem?

rgds Nitin


Originally posted by prince on ROS Answers with karma: 660 on 2014-01-28

Post score: 1


Original comments

Comment by gustavo.velascoh on 2014-01-28:
Have you execute 'source /opt/ros/hydro/setup.bash' ?

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Because roscd has to change the working directory of the shell, it is implemented as a bash function and not as a script. This means that you will not find it on your path.

You can add roscd to your shell environment by installing rosbash and then sourcing the setup.bash for your distribution (/opt/ros/hydro/setup.bash for Hydro).


Originally posted by ahendrix with karma: 47576 on 2014-01-28

This answer was ACCEPTED on the original site

Post score: 2

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.