Ask Your Question
0

create package

asked 2016-02-16 14:37:43 -0600

duonggiaxxi gravatar image

When i use roscreate-pkg to create a new package. But when i use roscd name of pacekage. I can't find out. But if i use roscd cpp. it's ok. anyone can help me????

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-02-16 15:24:21 -0600

Steven_Daniluk gravatar image

updated 2016-02-16 15:25:02 -0600

Could be one of two things:

  1. ROS can't find the package on your path, in which case you need to run rospack profile to update and fix path issues
  2. You have not sourced your workspace, in which case you need to add source <path_to_your_workspace>/devel/setup.bash to your .bashrc (then resource your .bashrc or reopen your terminal window)
edit flag offensive delete link more

Comments

I also believe that the workspace wasn't sourced.

ErivaldoJunior gravatar imageErivaldoJunior ( 2016-02-16 17:02:18 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-02-16 14:37:43 -0600

Seen: 41 times

Last updated: Feb 16 '16