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

create package

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

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 -0500

Steven_Daniluk gravatar image

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

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 image ErivaldoJunior  ( 2016-02-16 17:02:18 -0500 )edit

Question Tools

Stats

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

Seen: 145 times

Last updated: Feb 16 '16