Problem package tutorial
Hi, after the creation of my beginner_tutorials package:
catkin_create_pkg beginner_tutorials std_msgs rospy roscpp
Created file beginner_tutorials/CMakeLists.txt
Created file beginner_tutorials/package.xml
Created folder beginner_tutorials/include/beginner_tutorials
Created folder beginner_tutorials/src
Successfully created files in /home/jacopo/catkin_ws/beginner_tutorials. Please adjust the values in package.xml.
if i use for example the rospack find, it say me this:
rospack find beginner_tutorials
[rospack] Error: stack/package beginner_tutorials not found
where is the problem??
Jacopo
Did you build your project with
catkin_make
?If yes, have you sourced the workspace?
EDIT: fixed path
I believe Gary's command should actually have said
source ~/catkin_ws/devel/setup.bash
. Also, yourbeginner_tutorials
package should be in~/catkin_ws/src/
. It looks like you put it in the root of your workspace~/catkin_ws/
.If your package is in the right spot, your
setup.bash
is properly sourced, andcatkin_make
built the package with no errors, and you are still having the issue, then you could try running the commandrospack profile
. That forces rebuilding of the cache that tells the system where packages are.