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

ROS Tutorial Creating Package Command Not Found

asked 2016-06-11 11:20:27 -0500

Syngerical gravatar image

updated 2022-03-26 11:23:14 -0500

lucasw gravatar image

So I'm following this ROS tutorial ( http://wiki.ros.org/ROS/Tutorials/Cre... ) and everything is working fine until I input "roscd beginner_tutorials" at the end of section 5.1 and get the error "roscd: command not found". I don't know enough about ROS to know exactly what lines do what and how important they are, but I think this line changes the current directory to beginner tutorials. I'm not sure if this is an important error but I've been searching for solutions for the past 30 minutes to no avail. For now I'm continuing the tutorial ignoring this error but if anyone can help solve this error, it would be appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-06-11 16:43:14 -0500

Steven_Daniluk gravatar image

Did you get the appropriate output when you run rospack depends1 beginner_tutorials from step 5.1 of the tutorial?

It sounds like your ROS environment is not setup properly. Make sure you have correctly followed Step 2 from the earlier tutorial here, and added the command source /opt/ros/<distro>/setup.bash to your .bashrc file (with your proper distribution entered. e.g. Indigo).

Doing so will ensure all the ROS commands (e.g. roscd, rospack, etc.) are available each time you open a new terminal.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-06-11 11:20:27 -0500

Seen: 89 times

Last updated: Jun 11 '16