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

Revision history [back]

click to hide/show revision 1
initial version

I have noticed that each time I open up a new terminal, I have to source /opt/ros/kinetic/setup.bash

yes, that is needed in every terminal (or really: bash instance)

and execute catkin_make

No, that should not be needed.

why do I have to source and execute catkin_make again?

This question has been posted and answered quite a few times already. See the following for related / duplicate questions: #q124131, #q239131, #q229365, #q188309 and #q200174.

And the following questions try to explain why this is needed: #q241528, #q251292 and #q252715.

In short: setup.bash configures your shell so that it can find ROS programs and lets those programs find the required ROS packages.