0
$\begingroup$

Rosanswers logo

cd ~/catkin_ws/src
catkin_create_pkg mypack
cd ..
catkin_make

Everything is ok.

roscd mypack
mypack not found.

why?


Originally posted by Oper on ROS Answers with karma: 67 on 2016-07-25

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

roscd will not know where to locate your package until you have sourced your setup.bash. After you have compiled, in the catkin_ws directory in the terminal enter 'source devel/setup.bash'.


Originally posted by alexvs with karma: 91 on 2016-07-25

This answer was ACCEPTED on the original site

Post score: 2


Original comments

Comment by Oper on 2016-07-25:
Thank u! this was exactly what i was missing

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.