https://cafe.naver.com/openrt/24810
calculator.cpp 코드의 서비스 부분을 이어 해석해 보자.
https://github.com/hwang-chaewon/STUDY__ROS2/blob/main/topic_service_action_rclcpp_example/calculator/calculator.cpp
topic_service_action_rclcpp_example/include/arithmetic/operator.hpp
https://github.com/hwang-chaewon/STUDY__ROS2/blob/main/topic_service_action_rclcpp_example/arithmetic/operator.hpp
topic_service_action_rclcpp_example/src/arithmetic/operator.cpp
https://github.com/hwang-chaewon/STUDY__ROS2/blob/main/topic_service_action_rclcpp_example/arithmetic/operator.cpp
CMakeLists.txt에서 add_executable을 통해 cpp파일의 main함수가 실행되도록 했다.