jklee@holdings:~/catkin_ws/src/service_tutorial$ cd ~/catkin_ws/
jklee@holdings:~/catkin_ws$ catkin_make
Base path: /home/jklee/catkin_ws
Source space: /home/jklee/catkin_ws/src
Build space: /home/jklee/catkin_ws/build
Devel space: /home/jklee/catkin_ws/devel
Install space: /home/jklee/catkin_ws/install
####
#### Running command: "cmake /home/jklee/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/jklee/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/jklee/catkin_ws/install -G Unix Makefiles" in "/home/jklee/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/jklee/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/jklee/catkin_ws/devel;/opt/ros/melodic
-- This workspace overlays: /home/jklee/catkin_ws/devel;/opt/ros/melodic
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.17", minimum required is "2")
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/jklee/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.17")
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.28
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - service_tutorial
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'service_tutorial'
-- ==> add_subdirectory(service_tutorial)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- service_tutorial: 0 messages, 1 services
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jklee/catkin_ws/build
####
#### Running command: "make -j4 -l4" in "/home/jklee/catkin_ws/build"
####
Scanning dependencies of target std_msgs_generate_messages_eus
Scanning dependencies of target std_msgs_generate_messages_nodejs
Scanning dependencies of target _service_tutorial_generate_messages_check_deps_AddInts
Scanning dependencies of target std_msgs_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_nodejs
[ 0%] Built target std_msgs_generate_messages_eus
Scanning dependencies of target std_msgs_generate_messages_cpp
Scanning dependencies of target std_msgs_generate_messages_py
[ 0%] Built target std_msgs_generate_messages_cpp
[ 0%] Built target std_msgs_generate_messages_py
[ 0%] Built target _service_tutorial_generate_messages_check_deps_AddInts
Scanning dependencies of target service_tutorial_generate_messages_cpp
Scanning dependencies of target service_tutorial_generate_messages_eus
Scanning dependencies of target service_tutorial_generate_messages_nodejs
Scanning dependencies of target service_tutorial_generate_messages_lisp
[ 28%] Generating EusLisp code from service_tutorial/AddInts.srv
[ 28%] Generating Javascript code from service_tutorial/AddInts.srv
[ 42%] Generating C++ code from service_tutorial/AddInts.srv
[ 57%] Generating Lisp code from service_tutorial/AddInts.srv
[ 57%] Built target service_tutorial_generate_messages_nodejs
[ 57%] Built target service_tutorial_generate_messages_lisp
[ 71%] Generating EusLisp manifest code for service_tutorial
Scanning dependencies of target service_tutorial_generate_messages_py
[ 85%] Generating Python code from SRV service_tutorial/AddInts
[100%] Generating Python srv __init__.py for service_tutorial
[100%] Built target service_tutorial_generate_messages_py
[100%] Built target service_tutorial_generate_messages_cpp
[100%] Built target service_tutorial_generate_messages_eus
Scanning dependencies of target service_tutorial_generate_messages
[100%] Built target service_tutorial_generate_messages
jklee@holdings:~/catkin_ws$
따라서 setup.bash파일을 source 명령을 통해 적용합니다.
마스터 노드 실행 명령은 roscore 입니다.