Robotics StackExchange | Archived questions

No such package/stack on fuerte after giving roscd command

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/'

Asked by apoorvcn47 on 2014-01-08 18:21:16 UTC

Comments

Do you edit bashrc?

Asked by Hamid Didari on 2014-01-08 18:57:30 UTC

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

Asked by apoorvcn47 on 2014-01-08 19:01:37 UTC

Answers

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

Asked by Hamid Didari on 2014-01-08 19:06:17 UTC

Comments

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,

Asked by Athoesen on 2014-01-09 07:38:01 UTC