How to add other people's packages into workspace!!
Hi members,
I have started learning ROS by following a book i:e. "Learning ROS for Robotics Programming". There are tutorials with this book. I have tried to integrate these with my ROS workspace but I am unable to do that. Can anyone comment on this problem?, I will be very thankful to you.
Regards
How have you "tried to integrate" these packages? Are you getting errors? All you should need to do is put a desired package into
~/path_to_your_workspace/src/
, then change directory to the root of the workspace, and then runcatkin_make
.If that works with no errors, then you source
~/path_to_your_workspace/devel/setup.bash
and your terminal should be setup to use the newly integrated package.I have done the same thing but it didn't make executable in build folder although a folder is made with the name of package.
A compiled executable won't be in the build/ .... Likely if you run catkin_make it will be in the devel/ dir. Check out
~/path_to_workspace/devel/lib/package_name/
Also, if catkin_make successfully builds the package you added, you can navigate to the compiled package by
roscd new_package_name
I believe that @DavidN means that
roscd
will take you to the source directory of the package.Oops, I was thinking about the installing method (section 2.2.4 http://wiki.ros.org/catkin/Tutorials/... ). Please ignore my confusing comment if you are not using installing of packages. Sorry for the confusion