0
$\begingroup$

Rosanswers logo

minphie@Lenovo:~$ rosrun beginner_tutorials add_two_ints_sever [rospack] Error: package 'beginner_tutorials' not found

As above, I know enter the catkin space and $ source ./devel/setup.bash can resolve the problem. But every time when I open a new terminal I have to do this step. Is there another way to solve the problem?


Originally posted by Minphie on ROS Answers with karma: 13 on 2016-01-12

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Edit the file ~/.bashrc and at the end, add the line:

source PATH_TO_YOUR_CATKIN_WS/devel/setup.bash

This way every time you open a new terminal your catkin work space will be properly setup.


Originally posted by Martin Peris with karma: 5625 on 2016-01-12

This answer was ACCEPTED on the original site

Post score: 3


Original comments

Comment by Minphie on 2016-01-12:
Thank you very much, that works for me.

$\endgroup$

Your Answer

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