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

Unable to install ROS turtlesim

asked 2012-10-18 08:03:12 -0600

mhariharasudan gravatar image

Hi, After installing the ROS, i was going through the tutorials to learn it

link text At this page when i tried to navigate to the turtlesim using roscd turtlesim, it threw an error roscd: No such package/stack 'turtlesim'

so, going through another post, link text , i got to know that i am supposed to run sudo apt-get install ros-cturtle-ros-tutorials. but once i ran this, i again got an error E: Unable to locate package ros-cturtle-ros-tutorials Since i am newbie, could you please explain me clearly, on how to proceed on

edit retag flag offensive close merge delete

Comments

Thanks a lot for replying. are you saying that ROS_PACKAGE_PATH is not set up at all or did u mean that i need to include something else to my ROS_PACKAGE_PATH environment variable? Because when i typed the echo ROS_PACKAGE_PATH, i got something like */home/mhariharasudan/fuerte_workspace/sandbox:

mhariharasudan gravatar image mhariharasudan  ( 2012-10-18 09:14:36 -0600 )edit

Please provide all relevant information including the version of your operating system and the ROS distro you are using. See http://ros.org/wiki/Support Did you maybe install fuerte? Then install turtlesim with: sudo apt-get install ros-fuerte-ros-tutorials. Also, your package path is wrong.

Lorenz gravatar image Lorenz  ( 2012-10-18 09:29:13 -0600 )edit

Thanks a lot, that worked. Yea i had installed Fuerte. And in the previous comment the whole package path was not pasted. The package path is /home/mhariharasudan/fuerte_workspace/sandbox:/opt/ros/fuerte/stacks:/opt/ros/fuerte/share:/opt/ros/fuerte/share/ros Is this one correct or should i change?

mhariharasudan gravatar image mhariharasudan  ( 2012-10-18 09:33:11 -0600 )edit

Thanks a lot, that worked. Yea

mhariharasudan gravatar image mhariharasudan  ( 2012-10-18 09:33:17 -0600 )edit

Thanks a lot, that worked. Yea

mhariharasudan gravatar image mhariharasudan  ( 2012-10-18 09:33:18 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-10-18 08:40:21 -0600

PerkinsJames gravatar image

I am not sure about the ubuntu packages, but the first part of your error sounds like your ROS_PACKAGE_PATH environment variable has not been setup. This environment variable includes all the paths of your different packages and is what the roscd command uses to find them. Check through the tutorials (maybe a non-ubuntu one?) and it will detail how to setup your ROS_PACKAGE_PATH.

edit flag offensive delete link more

Comments

Relevant link on setting up ROS_PACKAGE_PATH correctly: http://ros.org/wiki/fuerte/Installation/Overlays

Lorenz gravatar image Lorenz  ( 2012-10-18 09:30:23 -0600 )edit

Question Tools

Stats

Asked: 2012-10-18 08:03:12 -0600

Seen: 3,436 times

Last updated: Oct 18 '12