Ask Your Question
0

why do i have to change the environment path every time when i open a new terminal? I am a beginner and now is learning tutorials, Thank you.

asked 2016-01-12 00:48:45 -0500

Minphie gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2016-01-12 02:25:55 -0500

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.

edit flag offensive delete link more

Comments

Thank you very much, that works for me.

Minphie gravatar image Minphie  ( 2016-01-12 02:58:13 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-01-12 00:48:45 -0500

Seen: 91 times

Last updated: Jan 12 '16