Ask Your Question
0

setup.bash must source again when restart

asked 2016-01-22 20:34:12 -0500

yin gravatar image

why I have to source setup.bash again when restart my computer?

adminyin@adminyin-System:~$ cd catkin_ws/src/
adminyin@adminyin-System:~/catkin_ws/src$ ls
beginner_tutorials  CMakeLists.txt
adminyin@adminyin-System:~/catkin_ws/src$ rospack depends1 beginner_tutorials
[rospack] Error: no such package beginner_tutorials
adminyin@adminyin-System:~/catkin_ws/src$ cd ..
adminyin@adminyin-System:~/catkin_ws$ source devel/setup.bash 
adminyin@adminyin-System:~/catkin_ws$ cd src/
adminyin@adminyin-System:~/catkin_ws/src$ rospack depends1 beginner_tutorials
roscpp
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2016-01-23 00:51:56 -0500

gvdhoorn gravatar image

Because it only changes environment variables in your current bash session. Please see wiki/Ubuntu install of ROS Jade - Environment setup.

edit flag offensive delete link more

Comments

OK,thank you.

yin gravatar imageyin ( 2016-02-21 01:44: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-22 20:34:12 -0500

Seen: 68 times

Last updated: Jan 23 '16