when does catkin know about a package?

asked 2015-04-03 13:06:28 -0500

inflo gravatar image

hi, when i do: catkin_create_pkg in the catkin_ws/src folder and then try to auto-complete on console the package name after "catkin_make pack..." it does not find it? But other packages are found, what is the requirement to auto-complete the package name after catkin_make ?

running "rospack find pkg_name" it shows me the path to the package. i also run "rospack profile".


edit retag flag offensive close merge delete


Did you source devel/setup.bash from the root of your ros workspace (e.g., ~/ros_ws)?

atp gravatar image atp  ( 2015-04-03 16:35:18 -0500 )edit

yes, i do that always.

i do not need to source the /opt/ros/... setup.bash before i make "catkin_make" and then after building source the devel/setup.bash ?

i always source first the devel/setup.bash, then do building and running with that env vars, this is not wrong , or?

inflo gravatar image inflo  ( 2015-04-04 02:04:10 -0500 )edit