Ask Your Question
0

why to use source devel/setup.bash

asked 2017-01-04 23:04:27 -0600

Waleed_Shahzaib gravatar image

I did not understand the functionality of sourcing a setup.bash file

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2017-01-05 00:56:25 -0600

rbbg gravatar image

updated 2017-01-05 09:14:39 -0600

By sourcing your setup.bash file, you are adding several environment variables that ROS needs in order to work. Some more information can be found in these related questions:

what does source command actually do

whats the meaning of the command source ...

Hope that clears things up a bit.

edit flag offensive delete link more

Comments

Thanks. Your ans was helpful

Waleed_Shahzaib gravatar imageWaleed_Shahzaib ( 2017-01-05 01:33:47 -0600 )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: 2017-01-04 23:04:27 -0600

Seen: 1,902 times

Last updated: Jan 05 '17