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

No such package/stack on fuerte after giving roscd command

asked 2014-01-08 17:21:16 -0500

apoorvcn47 gravatar image

updated 2014-01-28 17:07:29 -0500

ngrennan gravatar image

while creating a new node, and trying to change the directory, it is giving the error as

roscd: No such package/stack 'chapter2_tutorials/src/'

edit retag flag offensive close merge delete


Do you edit bashrc?

Hamid Didari gravatar image Hamid Didari  ( 2014-01-08 17:57:30 -0500 )edit

actually i am quite new at this, so no can you please provide me the instructions?

apoorvcn47 gravatar image apoorvcn47  ( 2014-01-08 18:01:37 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-08 18:06:17 -0500

Hamid Didari gravatar image

updated 2014-01-08 18:07:12 -0500

create one folder in your Home and open terminal type

$gedit .bashrc

and at the end write the following lines :

export ROS_PACKAGE_PATH=~/(folder name):$ROS_PACKAGE_PATH

save and close terminal and open terminal again go to folder that you created type

$roscreate-pkg test

and then type

$roscd test

note: don't forget after you edited bashrc you must close the terminal and open it agian

edit flag offensive delete link more



For the asker: Coming from someone who just started Linux in August, I'd google basic terminal commands and learn about the structure of the system if you're not comfortable in it. Be cautious when editing .bashrc too. This effects every terminal you open. Ask questions if you're still confused,

Athoesen gravatar image Athoesen  ( 2014-01-09 06:38:01 -0500 )edit

Question Tools

1 follower


Asked: 2014-01-08 17:21:16 -0500

Seen: 548 times

Last updated: Jan 08 '14