ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

why to use source devel/setup.bash

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

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

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

rbbg gravatar image

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

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


Thanks. Your ans was helpful

Waleed_Shahzaib gravatar image Waleed_Shahzaib  ( 2017-01-05 01:33:47 -0500 )edit

Question Tools

1 follower


Asked: 2017-01-04 23:04:27 -0500

Seen: 5,590 times

Last updated: Jan 05 '17