Ask Your Question
0

ROS2: What is '. install/setup.bash' doing?

asked 2020-10-06 08:57:05 -0500

ilsta gravatar image

Hi guys, I'm experienced in ROS1, and now I do the tutorials for ROS2. What is '. install/setup.bash' doing after 'colcon build'?

Best regards, Ilja

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-10-06 10:30:49 -0500

ilsta gravatar image

updated 2020-10-06 10:31:20 -0500

Source the environment with '. install/setup.bash'

When colcon has completed building successfully, the output will be in the install directory. Before you can use any of the installed executables or libraries, you will need to add them to your path and library paths. colcon will have generated bash/bat files in the install directory to help setup the environment. These files will add all of the required elements to your path and library paths as well as provide any bash or shell commands exported by packages.

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

Stats

Asked: 2020-10-06 08:57:05 -0500

Seen: 59 times

Last updated: Oct 06 '20