ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

I found most of the ROS packages are in home/user/ros but the latest in /opt/ros/

asked 2012-01-04 17:10:23 -0600

Hi all,

After I finish the beginner level tutorial actually I am a bit lost.. I don't have the 2dnav_pr2 package. I start wandering around the forum. Based on I installed cturtle, diamondback and electric packages.

Then my roscd will lead me to /opt/ros/ instead of /home/user/ros. I found that the last three packages are installed to /opt/ros/. Could anyone explain me the

Now if I run . in the /home/user/ros, the roscd cannot be found. quite confusing about the situation. Hope some one help me out and give me instructions on how to perform a simulation...

edit retag flag offensive close merge delete


These days, `` is recommended only for non-bash shells. If you source `setup.bash` instead, it will define functions like `roscd`.
joq gravatar image joq  ( 2012-01-05 01:59:34 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-01-04 23:12:07 -0600

karthik gravatar image

Hi, You could refer to the answer i posted here which kinda explains how ROS finds its packages and the mistake you could avoid initially.

Hope this helps, Karthik

edit flag offensive delete link more


Hi thanks karthik. I think the first beginning when I come to the enviroment configuration I encountered some problem and I changed the PACKAGE_PATH to /home/user/ros/ros. For these three packages, do i need to reinstall them? I think i spent hours get them installed...or can I just change some parameters to let them work?
tianb03 gravatar image tianb03  ( 2012-01-04 23:25:59 -0600 )edit
I suggest you to have ros_workspace as given in the 1st tutorial and setup the environment. So that even your later downloaded packages do not have this problem. Now you can copy them to a workspace folder n setup the envi
karthik gravatar image karthik  ( 2012-01-05 04:13:45 -0600 )edit

Question Tools


Asked: 2012-01-04 17:10:23 -0600

Seen: 289 times

Last updated: Jan 04 '12