ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

What is the main task of adding some directories in Bashrc file ?

asked 2018-09-24 14:37:22 -0600

gktg1514 gravatar image

I am new to robotic operating system; hence, this can be very trivial and redundant question, but I could not understand why we add the directories below to bashrc file.

source /opt/ros/indigo/setup.bash

source ~/catkin_ws/devel/setup.bash

Could anyone please explain the benefits of adding these directories to bashrc file ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-09-24 15:15:06 -0600

gvdhoorn gravatar image

Those are not directories, but command lines causing your bash session to source those files.

For why we do this, see #q251292 fi and many of the other Q&As that it links to.

edit flag offensive delete link more

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: 2018-09-24 14:37:22 -0600

Seen: 57 times

Last updated: Sep 24 '18