This commit is contained in:
Quella777
2025-08-24 15:56:33 +08:00
parent 779497c09e
commit ba6b299509
83 changed files with 3100 additions and 116 deletions

View File

@@ -12,8 +12,10 @@ find_package(service_interfaces REQUIRED)
find_package(geometry_msgs REQUIRED)
find_package(turtlesim REQUIRED)
#添加执行程序
add_executable(turtle_contrl src/turtle_contrl.cpp)
#添加依赖
ament_target_dependencies(turtle_contrl service_interfaces rclcpp geometry_msgs turtlesim)

View File

@@ -7,7 +7,7 @@
{
"build" : ".",
"hasInstallRule" : true,
"jsonFile" : "directory-.-454df8a34d12ab13eea2.json",
"jsonFile" : "directory-.-58fb6ecceae7fe2efa90.json",
"minimumCMakeVersion" :
{
"string" : "3.12"
@@ -51,7 +51,7 @@
{
"directoryIndex" : 0,
"id" : "turtle_contrl::@6890427a1f51a3e7e1df",
"jsonFile" : "target-turtle_contrl-90f3cdda8e5cdc8011d7.json",
"jsonFile" : "target-turtle_contrl-19b29bcaf0607fb6adc5.json",
"name" : "turtle_contrl",
"projectIndex" : 0
},

View File

@@ -36,13 +36,13 @@
{
"command" : 0,
"file" : 0,
"line" : 32,
"line" : 34,
"parent" : 0
},
{
"command" : 5,
"file" : 0,
"line" : 37,
"line" : 39,
"parent" : 0
},
{

View File

@@ -26,7 +26,7 @@
"objects" :
[
{
"jsonFile" : "codemodel-v2-25ebace1d3dd0a2debbb.json",
"jsonFile" : "codemodel-v2-f0d24cf6046c12aa9dee.json",
"kind" : "codemodel",
"version" :
{
@@ -41,7 +41,7 @@
{
"codemodel-v2" :
{
"jsonFile" : "codemodel-v2-25ebace1d3dd0a2debbb.json",
"jsonFile" : "codemodel-v2-f0d24cf6046c12aa9dee.json",
"kind" : "codemodel",
"version" :
{

View File

@@ -30,19 +30,19 @@
{
"command" : 0,
"file" : 0,
"line" : 15,
"line" : 16,
"parent" : 0
},
{
"command" : 1,
"file" : 0,
"line" : 32,
"line" : 34,
"parent" : 0
},
{
"command" : 3,
"file" : 0,
"line" : 17,
"line" : 19,
"parent" : 0
},
{
@@ -96,11 +96,6 @@
],
"includes" :
[
{
"backtrace" : 6,
"isSystem" : true,
"path" : "/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/include/service_interfaces"
},
{
"backtrace" : 6,
"isSystem" : true,
@@ -116,6 +111,11 @@
"isSystem" : true,
"path" : "/opt/ros/humble/include/turtlesim"
},
{
"backtrace" : 6,
"isSystem" : true,
"path" : "/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/include/service_interfaces"
},
{
"backtrace" : 4,
"isSystem" : true,

View File

@@ -346,6 +346,9 @@ ament_cmake_xmllint_DIR:PATH=/opt/ros/humble/share/ament_cmake_xmllint/cmake
//Path to a program.
ament_cppcheck_BIN:FILEPATH=/opt/ros/humble/bin/ament_cppcheck
//Path to a program.
ament_flake8_BIN:FILEPATH=/opt/ros/humble/bin/ament_flake8
//The directory containing a CMake configuration file for ament_index_cpp.
ament_index_cpp_DIR:PATH=/opt/ros/humble/share/ament_index_cpp/cmake
@@ -358,6 +361,9 @@ ament_lint_cmake_BIN:FILEPATH=/opt/ros/humble/bin/ament_lint_cmake
//The directory containing a CMake configuration file for ament_lint_common.
ament_lint_common_DIR:PATH=/opt/ros/humble/share/ament_lint_common/cmake
//Path to a program.
ament_pep257_BIN:FILEPATH=/opt/ros/humble/bin/ament_pep257
//Path to a program.
ament_uncrustify_BIN:FILEPATH=/opt/ros/humble/bin/ament_uncrustify

View File

@@ -735,91 +735,22 @@ set(CMAKE_MAKEFILE_DEPENDS
"/usr/lib/x86_64-linux-gnu/cmake/spdlog/spdlogConfigTargets-none.cmake"
"/usr/lib/x86_64-linux-gnu/cmake/spdlog/spdlogConfigTargets.cmake"
"/usr/lib/x86_64-linux-gnu/cmake/spdlog/spdlogConfigVersion.cmake"
"/usr/share/cmake-3.22/Modules/CMakeCCompiler.cmake.in"
"/usr/share/cmake-3.22/Modules/CMakeCCompilerABI.c"
"/usr/share/cmake-3.22/Modules/CMakeCInformation.cmake"
"/usr/share/cmake-3.22/Modules/CMakeCXXCompiler.cmake.in"
"/usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp"
"/usr/share/cmake-3.22/Modules/CMakeCXXInformation.cmake"
"/usr/share/cmake-3.22/Modules/CMakeCommonLanguageInclude.cmake"
"/usr/share/cmake-3.22/Modules/CMakeCompilerIdDetection.cmake"
"/usr/share/cmake-3.22/Modules/CMakeDetermineCCompiler.cmake"
"/usr/share/cmake-3.22/Modules/CMakeDetermineCXXCompiler.cmake"
"/usr/share/cmake-3.22/Modules/CMakeDetermineCompileFeatures.cmake"
"/usr/share/cmake-3.22/Modules/CMakeDetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake"
"/usr/share/cmake-3.22/Modules/CMakeDetermineCompilerId.cmake"
"/usr/share/cmake-3.22/Modules/CMakeDetermineSystem.cmake"
"/usr/share/cmake-3.22/Modules/CMakeFindBinUtils.cmake"
"/usr/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake"
"/usr/share/cmake-3.22/Modules/CMakeGenericSystem.cmake"
"/usr/share/cmake-3.22/Modules/CMakeInitializeConfigs.cmake"
"/usr/share/cmake-3.22/Modules/CMakeLanguageInformation.cmake"
"/usr/share/cmake-3.22/Modules/CMakeParseImplicitIncludeInfo.cmake"
"/usr/share/cmake-3.22/Modules/CMakeParseImplicitLinkInfo.cmake"
"/usr/share/cmake-3.22/Modules/CMakeParseLibraryArchitecture.cmake"
"/usr/share/cmake-3.22/Modules/CMakeSystem.cmake.in"
"/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInformation.cmake"
"/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInitialize.cmake"
"/usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake"
"/usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake"
"/usr/share/cmake-3.22/Modules/CMakeTestCompilerCommon.cmake"
"/usr/share/cmake-3.22/Modules/CMakeUnixFindMake.cmake"
"/usr/share/cmake-3.22/Modules/CheckCSourceCompiles.cmake"
"/usr/share/cmake-3.22/Modules/CheckIncludeFile.c.in"
"/usr/share/cmake-3.22/Modules/CheckIncludeFile.cmake"
"/usr/share/cmake-3.22/Modules/CheckLibraryExists.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/ADSP-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/Borland-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/Clang-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/Cray-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/GHS-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/GNU-C.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/GNU-CXX.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/GNU-FindBinUtils.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/GNU.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/HP-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/IAR-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/Intel-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/MSVC-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/NVHPC-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/PGI-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/PathScale-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/SCO-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/TI-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/Watcom-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/XL-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.22/Modules/DartConfiguration.tcl.in"
"/usr/share/cmake-3.22/Modules/FindOpenSSL.cmake"
"/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake"
@@ -829,8 +760,6 @@ set(CMAKE_MAKEFILE_DEPENDS
"/usr/share/cmake-3.22/Modules/FindPython3.cmake"
"/usr/share/cmake-3.22/Modules/FindThreads.cmake"
"/usr/share/cmake-3.22/Modules/Internal/CheckSourceCompiles.cmake"
"/usr/share/cmake-3.22/Modules/Internal/FeatureTesting.cmake"
"/usr/share/cmake-3.22/Modules/Platform/Linux-Determine-CXX.cmake"
"/usr/share/cmake-3.22/Modules/Platform/Linux-GNU-C.cmake"
"/usr/share/cmake-3.22/Modules/Platform/Linux-GNU-CXX.cmake"
"/usr/share/cmake-3.22/Modules/Platform/Linux-GNU.cmake"
@@ -846,11 +775,6 @@ set(CMAKE_MAKEFILE_OUTPUTS
# Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/3.22.1/CMakeSystem.cmake"
"CMakeFiles/3.22.1/CMakeCCompiler.cmake"
"CMakeFiles/3.22.1/CMakeCXXCompiler.cmake"
"CMakeFiles/3.22.1/CMakeCCompiler.cmake"
"CMakeFiles/3.22.1/CMakeCXXCompiler.cmake"
"ament_cmake_core/stamps/templates_2_cmake.py.stamp"
"ament_cmake_uninstall_target/ament_cmake_uninstall_target.cmake"
"CTestConfiguration.ini"

View File

@@ -685,6 +685,20 @@ CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
/opt/ros/humble/include/rclcpp/rclcpp/wait_set_policies/thread_safe_synchronization.hpp
/opt/ros/humble/include/rclcpp/rclcpp/wait_set_policies/detail/write_preferring_read_write_lock.hpp
/opt/ros/humble/include/rclcpp/rclcpp/wait_set_template.hpp
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/twist.hpp
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__struct.hpp
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/vector3__struct.hpp
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__builder.hpp
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__traits.hpp
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/vector3__traits.hpp
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__type_support.hpp
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/rosidl_generator_cpp__visibility_control.hpp
/opt/ros/humble/include/turtlesim/turtlesim/msg/pose.hpp
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__struct.hpp
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__builder.hpp
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__traits.hpp
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__type_support.hpp
/opt/ros/humble/include/turtlesim/turtlesim/msg/rosidl_generator_cpp__visibility_control.hpp
/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/include/service_interfaces/service_interfaces/srv/patrol.hpp
/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/include/service_interfaces/service_interfaces/srv/detail/patrol__struct.hpp
/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/include/service_interfaces/service_interfaces/srv/detail/patrol__builder.hpp

View File

@@ -684,6 +684,20 @@ CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o: ../../src/turtle_contrl.cp
/opt/ros/humble/include/rclcpp/rclcpp/wait_set_policies/thread_safe_synchronization.hpp \
/opt/ros/humble/include/rclcpp/rclcpp/wait_set_policies/detail/write_preferring_read_write_lock.hpp \
/opt/ros/humble/include/rclcpp/rclcpp/wait_set_template.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/twist.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__struct.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/vector3__struct.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__builder.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__traits.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/vector3__traits.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__type_support.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/rosidl_generator_cpp__visibility_control.hpp \
/opt/ros/humble/include/turtlesim/turtlesim/msg/pose.hpp \
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__struct.hpp \
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__builder.hpp \
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__traits.hpp \
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__type_support.hpp \
/opt/ros/humble/include/turtlesim/turtlesim/msg/rosidl_generator_cpp__visibility_control.hpp \
/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/include/service_interfaces/service_interfaces/srv/patrol.hpp \
/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/include/service_interfaces/service_interfaces/srv/detail/patrol__struct.hpp \
/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/include/service_interfaces/service_interfaces/srv/detail/patrol__builder.hpp \
@@ -696,6 +710,20 @@ CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o: ../../src/turtle_contrl.cp
/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/include/service_interfaces/service_interfaces/srv/detail/patrol__builder.hpp:
/opt/ros/humble/include/turtlesim/turtlesim/msg/rosidl_generator_cpp__visibility_control.hpp:
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__type_support.hpp:
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__traits.hpp:
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__builder.hpp:
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/rosidl_generator_cpp__visibility_control.hpp:
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__type_support.hpp:
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__struct.hpp:
/opt/ros/humble/include/rclcpp/rclcpp/wait_set_policies/thread_safe_synchronization.hpp:
/opt/ros/humble/include/rclcpp/rclcpp/wait_set_policies/static_storage.hpp:
@@ -922,6 +950,8 @@ CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o: ../../src/turtle_contrl.cp
/usr/include/c++/11/future:
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__struct.hpp:
/usr/include/x86_64-linux-gnu/bits/waitflags.h:
/usr/include/stdlib.h:
@@ -1020,6 +1050,8 @@ CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o: ../../src/turtle_contrl.cp
/usr/include/c++/11/cstdio:
/opt/ros/humble/include/turtlesim/turtlesim/msg/pose.hpp:
/opt/ros/humble/include/rosidl_runtime_c/rosidl_runtime_c/visibility_control.h:
/usr/include/x86_64-linux-gnu/bits/wordsize.h:
@@ -1212,6 +1244,8 @@ CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o: ../../src/turtle_contrl.cp
/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h:
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/vector3__struct.hpp:
/opt/ros/humble/include/rclcpp/rclcpp/intra_process_buffer_type.hpp:
/usr/include/x86_64-linux-gnu/bits/timesize.h:
@@ -1228,6 +1262,8 @@ CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o: ../../src/turtle_contrl.cp
/opt/ros/humble/include/builtin_interfaces/builtin_interfaces/msg/detail/duration__type_support.hpp:
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__traits.hpp:
/usr/include/x86_64-linux-gnu/bits/time64.h:
/opt/ros/humble/include/rcl_interfaces/rcl_interfaces/srv/get_parameters.hpp:
@@ -1236,6 +1272,8 @@ CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o: ../../src/turtle_contrl.cp
/usr/include/c++/11/iosfwd:
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/vector3__traits.hpp:
/usr/include/c++/11/initializer_list:
/usr/include/c++/11/system_error:
@@ -1788,6 +1826,8 @@ CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o: ../../src/turtle_contrl.cp
/opt/ros/humble/include/rcl_interfaces/rcl_interfaces/msg/detail/set_parameters_result__traits.hpp:
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/twist.hpp:
/opt/ros/humble/include/rosidl_runtime_c/rosidl_runtime_c/sequence_bound.h:
/opt/ros/humble/include/rclcpp/rclcpp/wait_set_template.hpp:
@@ -2064,4 +2104,6 @@ CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o: ../../src/turtle_contrl.cp
/usr/include/c++/11/tr1/poly_hermite.tcc:
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__builder.hpp:
/opt/ros/humble/include/libstatistics_collector/libstatistics_collector/topic_statistics_collector/constants.hpp:

View File

@@ -4,7 +4,7 @@
# compile CXX with /usr/bin/c++
CXX_DEFINES = -DDEFAULT_RMW_IMPLEMENTATION=rmw_fastrtps_cpp -DRCUTILS_ENABLE_FAULT_INJECTION
CXX_INCLUDES = -isystem /home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/include/service_interfaces -isystem /opt/ros/humble/include/rclcpp -isystem /opt/ros/humble/include/geometry_msgs -isystem /opt/ros/humble/include/turtlesim -isystem /opt/ros/humble/include/sensor_msgs -isystem /opt/ros/humble/include/builtin_interfaces -isystem /opt/ros/humble/include/rosidl_runtime_c -isystem /opt/ros/humble/include/rcutils -isystem /opt/ros/humble/include/rosidl_typesupport_interface -isystem /opt/ros/humble/include/std_msgs -isystem /opt/ros/humble/include/fastcdr -isystem /opt/ros/humble/include/rosidl_runtime_cpp -isystem /opt/ros/humble/include/rosidl_typesupport_fastrtps_cpp -isystem /opt/ros/humble/include/rmw -isystem /opt/ros/humble/include/rosidl_typesupport_fastrtps_c -isystem /opt/ros/humble/include/rosidl_typesupport_introspection_c -isystem /opt/ros/humble/include/rosidl_typesupport_introspection_cpp -isystem /opt/ros/humble/include/ament_index_cpp -isystem /opt/ros/humble/include/libstatistics_collector -isystem /opt/ros/humble/include/rcl -isystem /opt/ros/humble/include/rcl_interfaces -isystem /opt/ros/humble/include/rcl_logging_interface -isystem /opt/ros/humble/include/rcl_yaml_param_parser -isystem /opt/ros/humble/include/libyaml_vendor -isystem /opt/ros/humble/include/tracetools -isystem /opt/ros/humble/include/rcpputils -isystem /opt/ros/humble/include/statistics_msgs -isystem /opt/ros/humble/include/rosgraph_msgs -isystem /opt/ros/humble/include/rosidl_typesupport_cpp -isystem /opt/ros/humble/include/rosidl_typesupport_c -isystem /opt/ros/humble/include/action_msgs -isystem /opt/ros/humble/include/unique_identifier_msgs
CXX_INCLUDES = -isystem /opt/ros/humble/include/rclcpp -isystem /opt/ros/humble/include/geometry_msgs -isystem /opt/ros/humble/include/turtlesim -isystem /home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/include/service_interfaces -isystem /opt/ros/humble/include/sensor_msgs -isystem /opt/ros/humble/include/builtin_interfaces -isystem /opt/ros/humble/include/rosidl_runtime_c -isystem /opt/ros/humble/include/rcutils -isystem /opt/ros/humble/include/rosidl_typesupport_interface -isystem /opt/ros/humble/include/std_msgs -isystem /opt/ros/humble/include/fastcdr -isystem /opt/ros/humble/include/rosidl_runtime_cpp -isystem /opt/ros/humble/include/rosidl_typesupport_fastrtps_cpp -isystem /opt/ros/humble/include/rmw -isystem /opt/ros/humble/include/rosidl_typesupport_fastrtps_c -isystem /opt/ros/humble/include/rosidl_typesupport_introspection_c -isystem /opt/ros/humble/include/rosidl_typesupport_introspection_cpp -isystem /opt/ros/humble/include/ament_index_cpp -isystem /opt/ros/humble/include/libstatistics_collector -isystem /opt/ros/humble/include/rcl -isystem /opt/ros/humble/include/rcl_interfaces -isystem /opt/ros/humble/include/rcl_logging_interface -isystem /opt/ros/humble/include/rcl_yaml_param_parser -isystem /opt/ros/humble/include/libyaml_vendor -isystem /opt/ros/humble/include/tracetools -isystem /opt/ros/humble/include/rcpputils -isystem /opt/ros/humble/include/statistics_msgs -isystem /opt/ros/humble/include/rosgraph_msgs -isystem /opt/ros/humble/include/rosidl_typesupport_cpp -isystem /opt/ros/humble/include/rosidl_typesupport_c -isystem /opt/ros/humble/include/action_msgs -isystem /opt/ros/humble/include/unique_identifier_msgs
CXX_FLAGS = -Wall -Wextra -Wpedantic

View File

@@ -618,6 +618,20 @@ CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o: \
/opt/ros/humble/include/rclcpp/rclcpp/wait_set_policies/thread_safe_synchronization.hpp \
/opt/ros/humble/include/rclcpp/rclcpp/wait_set_policies/detail/write_preferring_read_write_lock.hpp \
/opt/ros/humble/include/rclcpp/rclcpp/wait_set_template.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/twist.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__struct.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/vector3__struct.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__builder.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__traits.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/vector3__traits.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/twist__type_support.hpp \
/opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/rosidl_generator_cpp__visibility_control.hpp \
/opt/ros/humble/include/turtlesim/turtlesim/msg/pose.hpp \
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__struct.hpp \
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__builder.hpp \
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__traits.hpp \
/opt/ros/humble/include/turtlesim/turtlesim/msg/detail/pose__type_support.hpp \
/opt/ros/humble/include/turtlesim/turtlesim/msg/rosidl_generator_cpp__visibility_control.hpp \
/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/include/service_interfaces/service_interfaces/srv/patrol.hpp \
/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/include/service_interfaces/service_interfaces/srv/detail/patrol__struct.hpp \
/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/include/service_interfaces/service_interfaces/srv/detail/patrol__builder.hpp \

View File

@@ -5,10 +5,14 @@
# This file includes the relevant testing commands required for
# testing this directory and lists subdirectories to be tested as well.
add_test(cppcheck "/usr/bin/python3" "-u" "/opt/ros/humble/share/ament_cmake_test/cmake/run_test.py" "/home/quella/ROS2Demo/service/service_server/build/service_server/test_results/service_server/cppcheck.xunit.xml" "--package-name" "service_server" "--output-file" "/home/quella/ROS2Demo/service/service_server/build/service_server/ament_cppcheck/cppcheck.txt" "--command" "/opt/ros/humble/bin/ament_cppcheck" "--xunit-file" "/home/quella/ROS2Demo/service/service_server/build/service_server/test_results/service_server/cppcheck.xunit.xml")
set_tests_properties(cppcheck PROPERTIES LABELS "cppcheck;linter" TIMEOUT "300" WORKING_DIRECTORY "/home/quella/ROS2Demo/service/service_server" _BACKTRACE_TRIPLES "/opt/ros/humble/share/ament_cmake_test/cmake/ament_add_test.cmake;125;add_test;/opt/ros/humble/share/ament_cmake_cppcheck/cmake/ament_cppcheck.cmake;66;ament_add_test;/opt/ros/humble/share/ament_cmake_cppcheck/cmake/ament_cmake_cppcheck_lint_hook.cmake;87;ament_cppcheck;/opt/ros/humble/share/ament_cmake_cppcheck/cmake/ament_cmake_cppcheck_lint_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;21;ament_execute_extensions;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package.cmake;66;ament_execute_extensions;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;37;ament_package;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;0;")
set_tests_properties(cppcheck PROPERTIES LABELS "cppcheck;linter" TIMEOUT "300" WORKING_DIRECTORY "/home/quella/ROS2Demo/service/service_server" _BACKTRACE_TRIPLES "/opt/ros/humble/share/ament_cmake_test/cmake/ament_add_test.cmake;125;add_test;/opt/ros/humble/share/ament_cmake_cppcheck/cmake/ament_cppcheck.cmake;66;ament_add_test;/opt/ros/humble/share/ament_cmake_cppcheck/cmake/ament_cmake_cppcheck_lint_hook.cmake;87;ament_cppcheck;/opt/ros/humble/share/ament_cmake_cppcheck/cmake/ament_cmake_cppcheck_lint_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;21;ament_execute_extensions;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package.cmake;66;ament_execute_extensions;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;39;ament_package;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;0;")
add_test(flake8 "/usr/bin/python3" "-u" "/opt/ros/humble/share/ament_cmake_test/cmake/run_test.py" "/home/quella/ROS2Demo/service/service_server/build/service_server/test_results/service_server/flake8.xunit.xml" "--package-name" "service_server" "--output-file" "/home/quella/ROS2Demo/service/service_server/build/service_server/ament_flake8/flake8.txt" "--command" "/opt/ros/humble/bin/ament_flake8" "--xunit-file" "/home/quella/ROS2Demo/service/service_server/build/service_server/test_results/service_server/flake8.xunit.xml")
set_tests_properties(flake8 PROPERTIES LABELS "flake8;linter" TIMEOUT "60" WORKING_DIRECTORY "/home/quella/ROS2Demo/service/service_server" _BACKTRACE_TRIPLES "/opt/ros/humble/share/ament_cmake_test/cmake/ament_add_test.cmake;125;add_test;/opt/ros/humble/share/ament_cmake_flake8/cmake/ament_flake8.cmake;63;ament_add_test;/opt/ros/humble/share/ament_cmake_flake8/cmake/ament_cmake_flake8_lint_hook.cmake;18;ament_flake8;/opt/ros/humble/share/ament_cmake_flake8/cmake/ament_cmake_flake8_lint_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;21;ament_execute_extensions;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package.cmake;66;ament_execute_extensions;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;39;ament_package;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;0;")
add_test(lint_cmake "/usr/bin/python3" "-u" "/opt/ros/humble/share/ament_cmake_test/cmake/run_test.py" "/home/quella/ROS2Demo/service/service_server/build/service_server/test_results/service_server/lint_cmake.xunit.xml" "--package-name" "service_server" "--output-file" "/home/quella/ROS2Demo/service/service_server/build/service_server/ament_lint_cmake/lint_cmake.txt" "--command" "/opt/ros/humble/bin/ament_lint_cmake" "--xunit-file" "/home/quella/ROS2Demo/service/service_server/build/service_server/test_results/service_server/lint_cmake.xunit.xml")
set_tests_properties(lint_cmake PROPERTIES LABELS "lint_cmake;linter" TIMEOUT "60" WORKING_DIRECTORY "/home/quella/ROS2Demo/service/service_server" _BACKTRACE_TRIPLES "/opt/ros/humble/share/ament_cmake_test/cmake/ament_add_test.cmake;125;add_test;/opt/ros/humble/share/ament_cmake_lint_cmake/cmake/ament_lint_cmake.cmake;47;ament_add_test;/opt/ros/humble/share/ament_cmake_lint_cmake/cmake/ament_cmake_lint_cmake_lint_hook.cmake;21;ament_lint_cmake;/opt/ros/humble/share/ament_cmake_lint_cmake/cmake/ament_cmake_lint_cmake_lint_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;21;ament_execute_extensions;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package.cmake;66;ament_execute_extensions;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;37;ament_package;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;0;")
set_tests_properties(lint_cmake PROPERTIES LABELS "lint_cmake;linter" TIMEOUT "60" WORKING_DIRECTORY "/home/quella/ROS2Demo/service/service_server" _BACKTRACE_TRIPLES "/opt/ros/humble/share/ament_cmake_test/cmake/ament_add_test.cmake;125;add_test;/opt/ros/humble/share/ament_cmake_lint_cmake/cmake/ament_lint_cmake.cmake;47;ament_add_test;/opt/ros/humble/share/ament_cmake_lint_cmake/cmake/ament_cmake_lint_cmake_lint_hook.cmake;21;ament_lint_cmake;/opt/ros/humble/share/ament_cmake_lint_cmake/cmake/ament_cmake_lint_cmake_lint_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;21;ament_execute_extensions;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package.cmake;66;ament_execute_extensions;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;39;ament_package;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;0;")
add_test(pep257 "/usr/bin/python3" "-u" "/opt/ros/humble/share/ament_cmake_test/cmake/run_test.py" "/home/quella/ROS2Demo/service/service_server/build/service_server/test_results/service_server/pep257.xunit.xml" "--package-name" "service_server" "--output-file" "/home/quella/ROS2Demo/service/service_server/build/service_server/ament_pep257/pep257.txt" "--command" "/opt/ros/humble/bin/ament_pep257" "--xunit-file" "/home/quella/ROS2Demo/service/service_server/build/service_server/test_results/service_server/pep257.xunit.xml")
set_tests_properties(pep257 PROPERTIES LABELS "pep257;linter" TIMEOUT "60" WORKING_DIRECTORY "/home/quella/ROS2Demo/service/service_server" _BACKTRACE_TRIPLES "/opt/ros/humble/share/ament_cmake_test/cmake/ament_add_test.cmake;125;add_test;/opt/ros/humble/share/ament_cmake_pep257/cmake/ament_pep257.cmake;41;ament_add_test;/opt/ros/humble/share/ament_cmake_pep257/cmake/ament_cmake_pep257_lint_hook.cmake;18;ament_pep257;/opt/ros/humble/share/ament_cmake_pep257/cmake/ament_cmake_pep257_lint_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;21;ament_execute_extensions;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package.cmake;66;ament_execute_extensions;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;39;ament_package;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;0;")
add_test(uncrustify "/usr/bin/python3" "-u" "/opt/ros/humble/share/ament_cmake_test/cmake/run_test.py" "/home/quella/ROS2Demo/service/service_server/build/service_server/test_results/service_server/uncrustify.xunit.xml" "--package-name" "service_server" "--output-file" "/home/quella/ROS2Demo/service/service_server/build/service_server/ament_uncrustify/uncrustify.txt" "--command" "/opt/ros/humble/bin/ament_uncrustify" "--xunit-file" "/home/quella/ROS2Demo/service/service_server/build/service_server/test_results/service_server/uncrustify.xunit.xml")
set_tests_properties(uncrustify PROPERTIES LABELS "uncrustify;linter" TIMEOUT "60" WORKING_DIRECTORY "/home/quella/ROS2Demo/service/service_server" _BACKTRACE_TRIPLES "/opt/ros/humble/share/ament_cmake_test/cmake/ament_add_test.cmake;125;add_test;/opt/ros/humble/share/ament_cmake_uncrustify/cmake/ament_uncrustify.cmake;70;ament_add_test;/opt/ros/humble/share/ament_cmake_uncrustify/cmake/ament_cmake_uncrustify_lint_hook.cmake;43;ament_uncrustify;/opt/ros/humble/share/ament_cmake_uncrustify/cmake/ament_cmake_uncrustify_lint_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;21;ament_execute_extensions;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package.cmake;66;ament_execute_extensions;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;37;ament_package;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;0;")
set_tests_properties(uncrustify PROPERTIES LABELS "uncrustify;linter" TIMEOUT "60" WORKING_DIRECTORY "/home/quella/ROS2Demo/service/service_server" _BACKTRACE_TRIPLES "/opt/ros/humble/share/ament_cmake_test/cmake/ament_add_test.cmake;125;add_test;/opt/ros/humble/share/ament_cmake_uncrustify/cmake/ament_uncrustify.cmake;70;ament_add_test;/opt/ros/humble/share/ament_cmake_uncrustify/cmake/ament_cmake_uncrustify_lint_hook.cmake;43;ament_uncrustify;/opt/ros/humble/share/ament_cmake_uncrustify/cmake/ament_cmake_uncrustify_lint_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;21;ament_execute_extensions;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package.cmake;66;ament_execute_extensions;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;39;ament_package;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;0;")
add_test(xmllint "/usr/bin/python3" "-u" "/opt/ros/humble/share/ament_cmake_test/cmake/run_test.py" "/home/quella/ROS2Demo/service/service_server/build/service_server/test_results/service_server/xmllint.xunit.xml" "--package-name" "service_server" "--output-file" "/home/quella/ROS2Demo/service/service_server/build/service_server/ament_xmllint/xmllint.txt" "--command" "/opt/ros/humble/bin/ament_xmllint" "--xunit-file" "/home/quella/ROS2Demo/service/service_server/build/service_server/test_results/service_server/xmllint.xunit.xml")
set_tests_properties(xmllint PROPERTIES LABELS "xmllint;linter" TIMEOUT "60" WORKING_DIRECTORY "/home/quella/ROS2Demo/service/service_server" _BACKTRACE_TRIPLES "/opt/ros/humble/share/ament_cmake_test/cmake/ament_add_test.cmake;125;add_test;/opt/ros/humble/share/ament_cmake_xmllint/cmake/ament_xmllint.cmake;50;ament_add_test;/opt/ros/humble/share/ament_cmake_xmllint/cmake/ament_cmake_xmllint_lint_hook.cmake;18;ament_xmllint;/opt/ros/humble/share/ament_cmake_xmllint/cmake/ament_cmake_xmllint_lint_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;21;ament_execute_extensions;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package.cmake;66;ament_execute_extensions;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;37;ament_package;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;0;")
set_tests_properties(xmllint PROPERTIES LABELS "xmllint;linter" TIMEOUT "60" WORKING_DIRECTORY "/home/quella/ROS2Demo/service/service_server" _BACKTRACE_TRIPLES "/opt/ros/humble/share/ament_cmake_test/cmake/ament_add_test.cmake;125;add_test;/opt/ros/humble/share/ament_cmake_xmllint/cmake/ament_xmllint.cmake;50;ament_add_test;/opt/ros/humble/share/ament_cmake_xmllint/cmake/ament_cmake_xmllint_lint_hook.cmake;18;ament_xmllint;/opt/ros/humble/share/ament_cmake_xmllint/cmake/ament_cmake_xmllint_lint_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;21;ament_execute_extensions;/opt/ros/humble/share/ament_lint_auto/cmake/ament_lint_auto_package_hook.cmake;0;;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake;48;include;/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_package.cmake;66;ament_execute_extensions;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;39;ament_package;/home/quella/ROS2Demo/service/service_server/CMakeLists.txt;0;")

View File

@@ -1 +1 @@
/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces:/opt/ros/humble
/opt/ros/humble

View File

@@ -1,8 +1,8 @@
AMENT_PREFIX_PATH=/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces:/opt/ros/humble
AMENT_PREFIX_PATH=/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces:/home/quella/ROS2Demo/service/service_server/install/service_server:/opt/ros/humble
BROWSER=/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/helpers/browser.sh
CMAKE_PREFIX_PATH=/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces
CMAKE_PREFIX_PATH=/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces:/home/quella/ROS2Demo/service/service_server/install/service_server
COLCON=1
COLCON_PREFIX_PATH=/home/quella/ROS2Demo/service/service_interfaces/install
COLCON_PREFIX_PATH=/home/quella/ROS2Demo/service/service_interfaces/install:/home/quella/ROS2Demo/service/service_server/install
COLORTERM=truecolor
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
GIT_ASKPASS=/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass.sh
@@ -35,8 +35,8 @@ ROS_PYTHON_VERSION=3
ROS_VERSION=2
SHELL=/bin/bash
SHLVL=1
SSH_CLIENT=192.168.138.1 54768 22
SSH_CONNECTION=192.168.138.1 54768 192.168.138.137 22
SSH_CLIENT=192.168.138.1 56885 22
SSH_CONNECTION=192.168.138.1 56885 192.168.138.137 22
SSL_CERT_DIR=/usr/lib/ssl/certs
SSL_CERT_FILE=/usr/lib/ssl/certs/ca-certificates.crt
TERM=xterm-256color
@@ -47,10 +47,10 @@ VSCODE_GIT_ASKPASS_EXTRA_ARGS=
VSCODE_GIT_ASKPASS_MAIN=/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass-main.js
VSCODE_GIT_ASKPASS_NODE=/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/node
VSCODE_GIT_IPC_HANDLE=/run/user/1000/vscode-git-f2cad408e9.sock
VSCODE_IPC_HOOK_CLI=/run/user/1000/vscode-ipc-cb45d43e-da1b-4dae-a1b1-e0a81040af4f.sock
VSCODE_IPC_HOOK_CLI=/run/user/1000/vscode-ipc-701649cf-a59b-4d57-8f34-46f3987c9e4c.sock
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_ID=5
XDG_SESSION_ID=48
XDG_SESSION_TYPE=tty
_=/usr/bin/colcon

View File

@@ -1 +1 @@
/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces:/opt/ros/humble
/opt/ros/humble

View File

@@ -0,0 +1,67 @@
[0.000000] (-) TimerEvent: {}
[0.001218] (service_server) JobQueued: {'identifier': 'service_server', 'dependencies': OrderedDict()}
[0.001272] (service_server) JobStarted: {'identifier': 'service_server'}
[0.030846] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'cmake'}
[0.060650] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'build'}
[0.060735] (service_server) Command: {'cmd': ['/usr/bin/cmake', '--build', '/home/quella/ROS2Demo/service/service_server/build/service_server', '--', '-j16', '-l16'], 'cwd': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'env': OrderedDict([('LESSOPEN', '| /usr/bin/lesspipe %s'), ('LANGUAGE', 'zh_CN:en'), ('USER', 'quella'), ('SSH_CLIENT', '192.168.138.1 56885 22'), ('LC_TIME', 'zh_CN.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('GIT_ASKPASS', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass.sh'), ('SHLVL', '1'), ('LD_LIBRARY_PATH', '/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib'), ('BROWSER', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/helpers/browser.sh'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/quella'), ('OLDPWD', '/home/quella/ROS2Demo/service'), ('TERM_PROGRAM_VERSION', '1.102.3'), ('VSCODE_IPC_HOOK_CLI', '/run/user/1000/vscode-ipc-701649cf-a59b-4d57-8f34-46f3987c9e4c.sock'), ('ROS_PYTHON_VERSION', '3'), ('VSCODE_GIT_ASKPASS_MAIN', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass-main.js'), ('LC_MONETARY', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_NODE', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/node'), ('SSL_CERT_FILE', '/usr/lib/ssl/certs/ca-certificates.crt'), ('DBUS_SESSION_BUS_ADDRESS', 'unix:path=/run/user/1000/bus'), ('COLORTERM', 'truecolor'), ('ROS_DISTRO', 'humble'), ('LOGNAME', 'quella'), ('_', '/usr/bin/colcon'), ('ROS_VERSION', '2'), ('XDG_SESSION_CLASS', 'user'), ('TERM', 'xterm-256color'), ('XDG_SESSION_ID', '48'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/remote-cli:/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/quella/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand'), ('PAPERSIZE', 'a4'), ('LC_ADDRESS', 'zh_CN.UTF-8'), ('XDG_RUNTIME_DIR', '/run/user/1000'), ('SSL_CERT_DIR', '/usr/lib/ssl/certs'), ('LANG', 'zh_CN.UTF-8'), ('LC_TELEPHONE', 'zh_CN.UTF-8'), ('LS_COLORS', 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'), ('VSCODE_GIT_IPC_HANDLE', '/run/user/1000/vscode-git-f2cad408e9.sock'), ('TERM_PROGRAM', 'vscode'), ('AMENT_PREFIX_PATH', '/opt/ros/humble'), ('SHELL', '/bin/bash'), ('LC_NAME', 'zh_CN.UTF-8'), ('LESSCLOSE', '/usr/bin/lesspipe %s %s'), ('LC_MEASUREMENT', 'zh_CN.UTF-8'), ('LC_IDENTIFICATION', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_EXTRA_ARGS', ''), ('PWD', '/home/quella/ROS2Demo/service/service_server/build/service_server'), ('SSH_CONNECTION', '192.168.138.1 56885 192.168.138.137 22'), ('XDG_DATA_DIRS', '/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop'), ('PYTHONPATH', '/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages'), ('LC_NUMERIC', 'zh_CN.UTF-8'), ('LC_PAPER', 'zh_CN.UTF-8'), ('COLCON', '1'), ('CMAKE_PREFIX_PATH', '/opt/ros/humble')]), 'shell': False}
[0.100482] (-) TimerEvent: {}
[0.201391] (-) TimerEvent: {}
[0.301812] (-) TimerEvent: {}
[0.334055] (service_server) StdoutLine: {'line': b'-- Found ament_cmake: 1.3.12 (/opt/ros/humble/share/ament_cmake/cmake)\n'}
[0.402316] (-) TimerEvent: {}
[0.502967] (-) TimerEvent: {}
[0.603778] (-) TimerEvent: {}
[0.670166] (service_server) StdoutLine: {'line': b'-- Found rclcpp: 16.0.14 (/opt/ros/humble/share/rclcpp/cmake)\n'}
[0.703878] (-) TimerEvent: {}
[0.804318] (-) TimerEvent: {}
[0.900453] (service_server) StdoutLine: {'line': b'-- Found rosidl_generator_c: 3.1.7 (/opt/ros/humble/share/rosidl_generator_c/cmake)\n'}
[0.904767] (-) TimerEvent: {}
[0.926162] (service_server) StdoutLine: {'line': b'-- Found rosidl_adapter: 3.1.7 (/opt/ros/humble/share/rosidl_adapter/cmake)\n'}
[0.954802] (service_server) StdoutLine: {'line': b'-- Found rosidl_generator_cpp: 3.1.7 (/opt/ros/humble/share/rosidl_generator_cpp/cmake)\n'}
[0.991420] (service_server) StdoutLine: {'line': b'-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c\n'}
[1.004966] (-) TimerEvent: {}
[1.033548] (service_server) StdoutLine: {'line': b'-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp\n'}
[1.105110] (-) TimerEvent: {}
[1.133013] (service_server) StdoutLine: {'line': b'-- Found rmw_implementation_cmake: 6.1.2 (/opt/ros/humble/share/rmw_implementation_cmake/cmake)\n'}
[1.136326] (service_server) StdoutLine: {'line': b'-- Found rmw_fastrtps_cpp: 6.2.8 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake)\n'}
[1.205348] (-) TimerEvent: {}
[1.305772] (-) TimerEvent: {}
[1.366279] (service_server) StdoutLine: {'line': b"-- Using RMW implementation 'rmw_fastrtps_cpp' as default\n"}
[1.406255] (-) TimerEvent: {}
[1.506829] (-) TimerEvent: {}
[1.542477] (service_server) StdoutLine: {'line': b'-- Found service_interfaces: 0.0.0 (/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/share/service_interfaces/cmake)\n'}
[1.607493] (-) TimerEvent: {}
[1.642506] (service_server) StdoutLine: {'line': b'-- Found turtlesim: 1.4.2 (/opt/ros/humble/share/turtlesim/cmake)\n'}
[1.707953] (-) TimerEvent: {}
[1.761549] (service_server) StdoutLine: {'line': b'-- Found ament_lint_auto: 0.12.14 (/opt/ros/humble/share/ament_lint_auto/cmake)\n'}
[1.808580] (-) TimerEvent: {}
[1.909134] (-) TimerEvent: {}
[1.922947] (service_server) StdoutLine: {'line': b"-- Added test 'cppcheck' to perform static code analysis on C / C++ code\n"}
[1.923125] (service_server) StdoutLine: {'line': b'-- Configured cppcheck include dirs: \n'}
[1.923173] (service_server) StdoutLine: {'line': b'-- Configured cppcheck exclude dirs and/or files: \n'}
[1.925787] (service_server) StdoutLine: {'line': b"-- Added test 'flake8' to check Python code syntax and style conventions\n"}
[1.929405] (service_server) StdoutLine: {'line': b"-- Added test 'lint_cmake' to check CMake code style\n"}
[1.931746] (service_server) StdoutLine: {'line': b"-- Added test 'pep257' to check Python code against some of the docstring style conventions in PEP 257\n"}
[1.942899] (service_server) StdoutLine: {'line': b"-- Added test 'uncrustify' to check C / C++ code style\n"}
[1.943021] (service_server) StdoutLine: {'line': b'-- Configured uncrustify additional arguments: \n'}
[1.945957] (service_server) StdoutLine: {'line': b"-- Added test 'xmllint' to check XML markup files\n"}
[1.948898] (service_server) StdoutLine: {'line': b'-- Configuring done\n'}
[1.988028] (service_server) StdoutLine: {'line': b'-- Generating done\n'}
[1.993002] (service_server) StdoutLine: {'line': b'-- Build files have been written to: /home/quella/ROS2Demo/service/service_server/build/service_server\n'}
[2.009248] (-) TimerEvent: {}
[2.043916] (service_server) StdoutLine: {'line': b'\x1b[35m\x1b[1mConsolidate compiler generated dependencies of target turtle_contrl\x1b[0m\n'}
[2.063097] (service_server) StdoutLine: {'line': b'[ 50%] \x1b[32mBuilding CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o\x1b[0m\n'}
[2.109398] (-) TimerEvent: {}
[2.209908] (-) TimerEvent: {}
[2.310331] (-) TimerEvent: {}
[2.329615] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:3:10:\x1b[m\x1b[K \x1b[01;31m\x1b[Kfatal error: \x1b[m\x1b[Ksrv/patrol.hpp: No such file or directory\n'}
[2.329915] (service_server) StderrLine: {'line': b' 3 | #include \x1b[01;31m\x1b[K"srv/patrol.hpp"\x1b[m\x1b[K\n'}
[2.329968] (service_server) StderrLine: {'line': b' | \x1b[01;31m\x1b[K^~~~~~~~~~~~~~~~\x1b[m\x1b[K\n'}
[2.330008] (service_server) StderrLine: {'line': b'compilation terminated.\n'}
[2.331977] (service_server) StderrLine: {'line': b'gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1\n'}
[2.332310] (service_server) StderrLine: {'line': b'gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2\n'}
[2.332511] (service_server) StderrLine: {'line': b'gmake: *** [Makefile:146: all] Error 2\n'}
[2.335762] (service_server) CommandEnded: {'returncode': 2}
[2.411006] (-) TimerEvent: {}
[2.427272] (service_server) JobEnded: {'identifier': 'service_server', 'rc': 2}
[2.438390] (-) EventReactorShutdown: {}

View File

@@ -0,0 +1,84 @@
[1.849s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[1.849s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=16, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x73bb1cb32da0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x73bb1cb32830>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x73bb1cb32830>>)
[4.817s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[4.817s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[4.817s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[4.817s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[4.817s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[4.817s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[4.817s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/quella/ROS2Demo/service/service_server'
[4.817s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[4.818s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[4.818s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[4.818s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[4.818s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[4.818s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[4.818s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[4.818s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[4.818s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[4.897s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_cmake' and name 'service_server'
[4.897s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[4.897s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[4.897s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[4.897s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[4.897s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[4.986s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[4.986s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[5.012s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 271 installed packages in /opt/ros/humble
[5.013s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[5.053s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_args' from command line to 'None'
[5.053s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target' from command line to 'None'
[5.053s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[5.053s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_cache' from command line to 'False'
[5.053s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_first' from command line to 'False'
[5.053s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_force_configure' from command line to 'False'
[5.053s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'ament_cmake_args' from command line to 'None'
[5.053s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_cmake_args' from command line to 'None'
[5.053s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_skip_building_tests' from command line to 'False'
[5.053s] DEBUG:colcon.colcon_core.verb:Building package 'service_server' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/quella/ROS2Demo/service/service_server/install/service_server', 'merge_install': False, 'path': '/home/quella/ROS2Demo/service/service_server', 'symlink_install': False, 'test_result_base': None}
[5.053s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[5.054s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[5.055s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/quella/ROS2Demo/service/service_server' with build type 'ament_cmake'
[5.055s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/quella/ROS2Demo/service/service_server'
[5.077s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[5.077s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[5.077s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[5.118s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[7.390s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[7.391s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[7.438s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[7.438s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[7.438s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[7.438s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[7.443s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[7.466s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[7.468s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[7.468s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[7.468s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[7.468s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[7.468s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[7.469s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[7.470s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[7.471s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[7.472s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[7.473s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[7.481s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[7.492s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[7.492s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[7.492s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '2'
[7.492s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[7.500s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[7.500s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[7.500s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[7.501s] DEBUG:colcon.colcon_notification.desktop_notification.notify2:Failed to initialize notify2: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
[7.501s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[7.501s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.ps1'
[7.503s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_ps1.py'
[7.504s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.ps1'
[7.505s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.sh'
[7.506s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_sh.py'
[7.506s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.sh'
[7.508s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.bash'
[7.509s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.bash'
[7.510s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.zsh'
[7.511s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.zsh'

View File

@@ -0,0 +1,2 @@
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16

View File

@@ -0,0 +1,7 @@
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:3:10: fatal error: srv/patrol.hpp: No such file or directory
3 | #include "srv/patrol.hpp"
| ^~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

View File

@@ -0,0 +1,27 @@
-- Found ament_cmake: 1.3.12 (/opt/ros/humble/share/ament_cmake/cmake)
-- Found rclcpp: 16.0.14 (/opt/ros/humble/share/rclcpp/cmake)
-- Found rosidl_generator_c: 3.1.7 (/opt/ros/humble/share/rosidl_generator_c/cmake)
-- Found rosidl_adapter: 3.1.7 (/opt/ros/humble/share/rosidl_adapter/cmake)
-- Found rosidl_generator_cpp: 3.1.7 (/opt/ros/humble/share/rosidl_generator_cpp/cmake)
-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
-- Found rmw_implementation_cmake: 6.1.2 (/opt/ros/humble/share/rmw_implementation_cmake/cmake)
-- Found rmw_fastrtps_cpp: 6.2.8 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake)
-- Using RMW implementation 'rmw_fastrtps_cpp' as default
-- Found service_interfaces: 0.0.0 (/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/share/service_interfaces/cmake)
-- Found turtlesim: 1.4.2 (/opt/ros/humble/share/turtlesim/cmake)
-- Found ament_lint_auto: 0.12.14 (/opt/ros/humble/share/ament_lint_auto/cmake)
-- Added test 'cppcheck' to perform static code analysis on C / C++ code
-- Configured cppcheck include dirs:
-- Configured cppcheck exclude dirs and/or files:
-- Added test 'flake8' to check Python code syntax and style conventions
-- Added test 'lint_cmake' to check CMake code style
-- Added test 'pep257' to check Python code against some of the docstring style conventions in PEP 257
-- Added test 'uncrustify' to check C / C++ code style
-- Configured uncrustify additional arguments:
-- Added test 'xmllint' to check XML markup files
-- Configuring done
-- Generating done
-- Build files have been written to: /home/quella/ROS2Demo/service/service_server/build/service_server
Consolidate compiler generated dependencies of target turtle_contrl
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o

View File

@@ -0,0 +1,34 @@
-- Found ament_cmake: 1.3.12 (/opt/ros/humble/share/ament_cmake/cmake)
-- Found rclcpp: 16.0.14 (/opt/ros/humble/share/rclcpp/cmake)
-- Found rosidl_generator_c: 3.1.7 (/opt/ros/humble/share/rosidl_generator_c/cmake)
-- Found rosidl_adapter: 3.1.7 (/opt/ros/humble/share/rosidl_adapter/cmake)
-- Found rosidl_generator_cpp: 3.1.7 (/opt/ros/humble/share/rosidl_generator_cpp/cmake)
-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
-- Found rmw_implementation_cmake: 6.1.2 (/opt/ros/humble/share/rmw_implementation_cmake/cmake)
-- Found rmw_fastrtps_cpp: 6.2.8 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake)
-- Using RMW implementation 'rmw_fastrtps_cpp' as default
-- Found service_interfaces: 0.0.0 (/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/share/service_interfaces/cmake)
-- Found turtlesim: 1.4.2 (/opt/ros/humble/share/turtlesim/cmake)
-- Found ament_lint_auto: 0.12.14 (/opt/ros/humble/share/ament_lint_auto/cmake)
-- Added test 'cppcheck' to perform static code analysis on C / C++ code
-- Configured cppcheck include dirs:
-- Configured cppcheck exclude dirs and/or files:
-- Added test 'flake8' to check Python code syntax and style conventions
-- Added test 'lint_cmake' to check CMake code style
-- Added test 'pep257' to check Python code against some of the docstring style conventions in PEP 257
-- Added test 'uncrustify' to check C / C++ code style
-- Configured uncrustify additional arguments:
-- Added test 'xmllint' to check XML markup files
-- Configuring done
-- Generating done
-- Build files have been written to: /home/quella/ROS2Demo/service/service_server/build/service_server
Consolidate compiler generated dependencies of target turtle_contrl
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:3:10: fatal error: srv/patrol.hpp: No such file or directory
3 | #include "srv/patrol.hpp"
| ^~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

View File

@@ -0,0 +1,36 @@
[0.063s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[0.333s] -- Found ament_cmake: 1.3.12 (/opt/ros/humble/share/ament_cmake/cmake)
[0.669s] -- Found rclcpp: 16.0.14 (/opt/ros/humble/share/rclcpp/cmake)
[0.899s] -- Found rosidl_generator_c: 3.1.7 (/opt/ros/humble/share/rosidl_generator_c/cmake)
[0.925s] -- Found rosidl_adapter: 3.1.7 (/opt/ros/humble/share/rosidl_adapter/cmake)
[0.954s] -- Found rosidl_generator_cpp: 3.1.7 (/opt/ros/humble/share/rosidl_generator_cpp/cmake)
[0.990s] -- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
[1.032s] -- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
[1.132s] -- Found rmw_implementation_cmake: 6.1.2 (/opt/ros/humble/share/rmw_implementation_cmake/cmake)
[1.135s] -- Found rmw_fastrtps_cpp: 6.2.8 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake)
[1.365s] -- Using RMW implementation 'rmw_fastrtps_cpp' as default
[1.541s] -- Found service_interfaces: 0.0.0 (/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/share/service_interfaces/cmake)
[1.641s] -- Found turtlesim: 1.4.2 (/opt/ros/humble/share/turtlesim/cmake)
[1.760s] -- Found ament_lint_auto: 0.12.14 (/opt/ros/humble/share/ament_lint_auto/cmake)
[1.922s] -- Added test 'cppcheck' to perform static code analysis on C / C++ code
[1.922s] -- Configured cppcheck include dirs:
[1.922s] -- Configured cppcheck exclude dirs and/or files:
[1.925s] -- Added test 'flake8' to check Python code syntax and style conventions
[1.928s] -- Added test 'lint_cmake' to check CMake code style
[1.931s] -- Added test 'pep257' to check Python code against some of the docstring style conventions in PEP 257
[1.942s] -- Added test 'uncrustify' to check C / C++ code style
[1.942s] -- Configured uncrustify additional arguments:
[1.945s] -- Added test 'xmllint' to check XML markup files
[1.948s] -- Configuring done
[1.987s] -- Generating done
[1.992s] -- Build files have been written to: /home/quella/ROS2Demo/service/service_server/build/service_server
[2.043s] Consolidate compiler generated dependencies of target turtle_contrl
[2.062s] [ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[2.329s] /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:3:10: fatal error: srv/patrol.hpp: No such file or directory
[2.329s] 3 | #include "srv/patrol.hpp"
[2.329s] | ^~~~~~~~~~~~~~~~
[2.329s] compilation terminated.
[2.331s] gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
[2.331s] gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
[2.331s] gmake: *** [Makefile:146: all] Error 2
[2.335s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16

View File

@@ -0,0 +1,20 @@
[0.000000] (-) TimerEvent: {}
[0.000191] (service_server) JobQueued: {'identifier': 'service_server', 'dependencies': OrderedDict()}
[0.000236] (service_server) JobStarted: {'identifier': 'service_server'}
[0.008908] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'cmake'}
[0.009566] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'build'}
[0.010131] (service_server) Command: {'cmd': ['/usr/bin/cmake', '--build', '/home/quella/ROS2Demo/service/service_server/build/service_server', '--', '-j16', '-l16'], 'cwd': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'env': OrderedDict([('LESSOPEN', '| /usr/bin/lesspipe %s'), ('LANGUAGE', 'zh_CN:en'), ('USER', 'quella'), ('SSH_CLIENT', '192.168.138.1 56885 22'), ('LC_TIME', 'zh_CN.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('GIT_ASKPASS', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass.sh'), ('SHLVL', '1'), ('LD_LIBRARY_PATH', '/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib'), ('BROWSER', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/helpers/browser.sh'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/quella'), ('OLDPWD', '/home/quella/ROS2Demo/service'), ('TERM_PROGRAM_VERSION', '1.102.3'), ('VSCODE_IPC_HOOK_CLI', '/run/user/1000/vscode-ipc-701649cf-a59b-4d57-8f34-46f3987c9e4c.sock'), ('ROS_PYTHON_VERSION', '3'), ('VSCODE_GIT_ASKPASS_MAIN', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass-main.js'), ('LC_MONETARY', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_NODE', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/node'), ('SSL_CERT_FILE', '/usr/lib/ssl/certs/ca-certificates.crt'), ('DBUS_SESSION_BUS_ADDRESS', 'unix:path=/run/user/1000/bus'), ('COLORTERM', 'truecolor'), ('ROS_DISTRO', 'humble'), ('LOGNAME', 'quella'), ('_', '/usr/bin/colcon'), ('ROS_VERSION', '2'), ('XDG_SESSION_CLASS', 'user'), ('TERM', 'xterm-256color'), ('XDG_SESSION_ID', '48'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/remote-cli:/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/quella/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand'), ('PAPERSIZE', 'a4'), ('LC_ADDRESS', 'zh_CN.UTF-8'), ('XDG_RUNTIME_DIR', '/run/user/1000'), ('SSL_CERT_DIR', '/usr/lib/ssl/certs'), ('LANG', 'zh_CN.UTF-8'), ('LC_TELEPHONE', 'zh_CN.UTF-8'), ('LS_COLORS', 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'), ('VSCODE_GIT_IPC_HANDLE', '/run/user/1000/vscode-git-f2cad408e9.sock'), ('TERM_PROGRAM', 'vscode'), ('AMENT_PREFIX_PATH', '/opt/ros/humble'), ('SHELL', '/bin/bash'), ('LC_NAME', 'zh_CN.UTF-8'), ('LESSCLOSE', '/usr/bin/lesspipe %s %s'), ('LC_MEASUREMENT', 'zh_CN.UTF-8'), ('LC_IDENTIFICATION', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_EXTRA_ARGS', ''), ('PWD', '/home/quella/ROS2Demo/service/service_server/build/service_server'), ('SSH_CONNECTION', '192.168.138.1 56885 192.168.138.137 22'), ('XDG_DATA_DIRS', '/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop'), ('PYTHONPATH', '/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages'), ('LC_NUMERIC', 'zh_CN.UTF-8'), ('LC_PAPER', 'zh_CN.UTF-8'), ('COLCON', '1'), ('CMAKE_PREFIX_PATH', '/opt/ros/humble')]), 'shell': False}
[0.094614] (service_server) StdoutLine: {'line': b'[ 50%] \x1b[32mBuilding CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o\x1b[0m\n'}
[0.099312] (-) TimerEvent: {}
[0.199665] (-) TimerEvent: {}
[0.300041] (-) TimerEvent: {}
[0.339620] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:3:10:\x1b[m\x1b[K \x1b[01;31m\x1b[Kfatal error: \x1b[m\x1b[Ksrv/patrol.hpp: No such file or directory\n'}
[0.339808] (service_server) StderrLine: {'line': b' 3 | #include \x1b[01;31m\x1b[K"srv/patrol.hpp"\x1b[m\x1b[K\n'}
[0.339857] (service_server) StderrLine: {'line': b' | \x1b[01;31m\x1b[K^~~~~~~~~~~~~~~~\x1b[m\x1b[K\n'}
[0.339896] (service_server) StderrLine: {'line': b'compilation terminated.\n'}
[0.341656] (service_server) StderrLine: {'line': b'gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1\n'}
[0.341907] (service_server) StderrLine: {'line': b'gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2\n'}
[0.342114] (service_server) StderrLine: {'line': b'gmake: *** [Makefile:146: all] Error 2\n'}
[0.344558] (service_server) CommandEnded: {'returncode': 2}
[0.355206] (service_server) JobEnded: {'identifier': 'service_server', 'rc': 2}
[0.366510] (-) EventReactorShutdown: {}

View File

@@ -0,0 +1,84 @@
[0.080s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.080s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=16, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x7c495bc2eda0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x7c495bc2e830>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x7c495bc2e830>>)
[0.202s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.202s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.203s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.203s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.203s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.203s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.203s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/quella/ROS2Demo/service/service_server'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.213s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_cmake' and name 'service_server'
[0.213s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.214s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.214s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.214s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.214s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.229s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.229s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.231s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 271 installed packages in /opt/ros/humble
[0.232s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_args' from command line to 'None'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target' from command line to 'None'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_cache' from command line to 'False'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_first' from command line to 'False'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_force_configure' from command line to 'False'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'ament_cmake_args' from command line to 'None'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_cmake_args' from command line to 'None'
[0.267s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.267s] DEBUG:colcon.colcon_core.verb:Building package 'service_server' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/quella/ROS2Demo/service/service_server/install/service_server', 'merge_install': False, 'path': '/home/quella/ROS2Demo/service/service_server', 'symlink_install': False, 'test_result_base': None}
[0.267s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.268s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.268s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/quella/ROS2Demo/service/service_server' with build type 'ament_cmake'
[0.268s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/quella/ROS2Demo/service/service_server'
[0.270s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.271s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.271s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[0.302s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[0.614s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[0.614s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[0.616s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[0.617s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[0.617s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[0.617s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[0.618s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[0.618s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[0.619s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[0.619s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[0.619s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[0.620s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[0.620s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[0.620s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[0.621s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[0.622s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[0.622s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[0.623s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[0.624s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[0.635s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[0.635s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[0.635s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '2'
[0.635s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[0.640s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[0.640s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[0.640s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[0.641s] DEBUG:colcon.colcon_notification.desktop_notification.notify2:Failed to initialize notify2: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
[0.642s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[0.642s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.ps1'
[0.643s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_ps1.py'
[0.644s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.ps1'
[0.645s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.sh'
[0.646s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_sh.py'
[0.647s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.sh'
[0.648s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.bash'
[0.648s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.bash'
[0.649s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.zsh'
[0.650s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.zsh'

View File

@@ -0,0 +1,2 @@
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16

View File

@@ -0,0 +1,7 @@
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:3:10: fatal error: srv/patrol.hpp: No such file or directory
3 | #include "srv/patrol.hpp"
| ^~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

View File

@@ -0,0 +1 @@
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o

View File

@@ -0,0 +1,8 @@
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:3:10: fatal error: srv/patrol.hpp: No such file or directory
3 | #include "srv/patrol.hpp"
| ^~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

View File

@@ -0,0 +1,10 @@
[0.033s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[0.095s] [ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[0.340s] /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:3:10: fatal error: srv/patrol.hpp: No such file or directory
[0.340s] 3 | #include "srv/patrol.hpp"
[0.340s] | ^~~~~~~~~~~~~~~~
[0.340s] compilation terminated.
[0.341s] gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
[0.342s] gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
[0.342s] gmake: *** [Makefile:146: all] Error 2
[0.344s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16

View File

@@ -0,0 +1,198 @@
[0.000000] (-) TimerEvent: {}
[0.000903] (service_server) JobQueued: {'identifier': 'service_server', 'dependencies': OrderedDict()}
[0.001080] (service_server) JobStarted: {'identifier': 'service_server'}
[0.009444] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'cmake'}
[0.011058] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'build'}
[0.011190] (service_server) Command: {'cmd': ['/usr/bin/cmake', '--build', '/home/quella/ROS2Demo/service/service_server/build/service_server', '--', '-j16', '-l16'], 'cwd': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'env': OrderedDict([('LESSOPEN', '| /usr/bin/lesspipe %s'), ('LANGUAGE', 'zh_CN:en'), ('USER', 'quella'), ('SSH_CLIENT', '192.168.138.1 56885 22'), ('LC_TIME', 'zh_CN.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('GIT_ASKPASS', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass.sh'), ('SHLVL', '1'), ('LD_LIBRARY_PATH', '/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib'), ('BROWSER', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/helpers/browser.sh'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/quella'), ('OLDPWD', '/home/quella/ROS2Demo/service'), ('TERM_PROGRAM_VERSION', '1.102.3'), ('VSCODE_IPC_HOOK_CLI', '/run/user/1000/vscode-ipc-701649cf-a59b-4d57-8f34-46f3987c9e4c.sock'), ('ROS_PYTHON_VERSION', '3'), ('VSCODE_GIT_ASKPASS_MAIN', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass-main.js'), ('LC_MONETARY', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_NODE', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/node'), ('SSL_CERT_FILE', '/usr/lib/ssl/certs/ca-certificates.crt'), ('DBUS_SESSION_BUS_ADDRESS', 'unix:path=/run/user/1000/bus'), ('COLORTERM', 'truecolor'), ('ROS_DISTRO', 'humble'), ('LOGNAME', 'quella'), ('_', '/usr/bin/colcon'), ('ROS_VERSION', '2'), ('XDG_SESSION_CLASS', 'user'), ('TERM', 'xterm-256color'), ('XDG_SESSION_ID', '48'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/remote-cli:/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/quella/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand'), ('PAPERSIZE', 'a4'), ('LC_ADDRESS', 'zh_CN.UTF-8'), ('XDG_RUNTIME_DIR', '/run/user/1000'), ('SSL_CERT_DIR', '/usr/lib/ssl/certs'), ('LANG', 'zh_CN.UTF-8'), ('LC_TELEPHONE', 'zh_CN.UTF-8'), ('LS_COLORS', 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'), ('VSCODE_GIT_IPC_HANDLE', '/run/user/1000/vscode-git-f2cad408e9.sock'), ('TERM_PROGRAM', 'vscode'), ('AMENT_PREFIX_PATH', '/opt/ros/humble'), ('SHELL', '/bin/bash'), ('LC_NAME', 'zh_CN.UTF-8'), ('LESSCLOSE', '/usr/bin/lesspipe %s %s'), ('LC_MEASUREMENT', 'zh_CN.UTF-8'), ('LC_IDENTIFICATION', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_EXTRA_ARGS', ''), ('PWD', '/home/quella/ROS2Demo/service/service_server/build/service_server'), ('SSH_CONNECTION', '192.168.138.1 56885 192.168.138.137 22'), ('XDG_DATA_DIRS', '/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop'), ('PYTHONPATH', '/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages'), ('LC_NUMERIC', 'zh_CN.UTF-8'), ('LC_PAPER', 'zh_CN.UTF-8'), ('COLCON', '1'), ('CMAKE_PREFIX_PATH', '/opt/ros/humble')]), 'shell': False}
[0.077324] (service_server) StdoutLine: {'line': b'[ 50%] \x1b[32mBuilding CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o\x1b[0m\n'}
[0.100164] (-) TimerEvent: {}
[0.200763] (-) TimerEvent: {}
[0.301392] (-) TimerEvent: {}
[0.401708] (-) TimerEvent: {}
[0.502766] (-) TimerEvent: {}
[0.603411] (-) TimerEvent: {}
[0.704218] (-) TimerEvent: {}
[0.804705] (-) TimerEvent: {}
[0.905252] (-) TimerEvent: {}
[1.005719] (-) TimerEvent: {}
[1.106754] (-) TimerEvent: {}
[1.207823] (-) TimerEvent: {}
[1.308403] (-) TimerEvent: {}
[1.408998] (-) TimerEvent: {}
[1.509714] (-) TimerEvent: {}
[1.610317] (-) TimerEvent: {}
[1.711251] (-) TimerEvent: {}
[1.812679] (-) TimerEvent: {}
[1.913338] (-) TimerEvent: {}
[2.013854] (-) TimerEvent: {}
[2.096077] (service_server) StderrLine: {'line': b'In file included from \x1b[01m\x1b[K/usr/include/c++/11/pstl/glue_algorithm_defs.h:13\x1b[m\x1b[K,\n'}
[2.096275] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/usr/include/c++/11/algorithm:74\x1b[m\x1b[K,\n'}
[2.096321] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:18\x1b[m\x1b[K,\n'}
[2.096360] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25\x1b[m\x1b[K,\n'}
[2.096398] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21\x1b[m\x1b[K,\n'}
[2.096434] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155\x1b[m\x1b[K,\n'}
[2.096470] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1\x1b[m\x1b[K:\n'}
[2.096505] (service_server) StderrLine: {'line': b'/usr/include/c++/11/functional: In instantiation of \xe2\x80\x98\x1b[01m\x1b[Kstruct std::_Bind_check_arity<void (TurtleController::*)(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >), TurtleController*, const std::_Placeholder<1>&>\x1b[m\x1b[K\xe2\x80\x99:\n'}
[2.096544] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/functional:768:12:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Kstruct std::_Bind_helper<false, void (TurtleController::*)(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >), TurtleController*, const std::_Placeholder<1>&>\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.096707] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/functional:789:5:\x1b[m\x1b[K required by substitution of \xe2\x80\x98\x1b[01m\x1b[Ktemplate<class _Func, class ... _BoundArgs> typename std::_Bind_helper<std::__is_socketlike<_Func>::value, _Func, _BoundArgs ...>::type std::bind(_Func&&, _BoundArgs&& ...) [with _Func = void (TurtleController::*)(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >); _BoundArgs = {TurtleController*, const std::_Placeholder<1>&}]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.096758] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:80:\x1b[m\x1b[K required from here\n'}
[2.096796] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/functional:756:21:\x1b[m\x1b[K \x1b[01;31m\x1b[Kerror: \x1b[m\x1b[Kstatic assertion failed: Wrong number of arguments for pointer-to-member\n'}
[2.096837] (service_server) StderrLine: {'line': b' 755 | static_assert(_Varargs::\x1b[01;31m\x1b[Kvalue\x1b[m\x1b[K\n'}
[2.096873] (service_server) StderrLine: {'line': b' | \x1b[01;31m\x1b[K~~~~~\x1b[m\x1b[K\n'}
[2.096946] (service_server) StderrLine: {'line': b' 756 | \x1b[01;31m\x1b[K ? sizeof...(_BoundArgs) >= _Arity::value + 1\x1b[m\x1b[K\n'}
[2.096992] (service_server) StderrLine: {'line': b' | \x1b[01;31m\x1b[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\x1b[m\x1b[K\n'}
[2.097029] (service_server) StderrLine: {'line': b' 757 | \x1b[01;31m\x1b[K : sizeof...(_BoundArgs) == _Arity::value + 1\x1b[m\x1b[K,\n'}
[2.097064] (service_server) StderrLine: {'line': b' | \x1b[01;31m\x1b[K~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\x1b[m\x1b[K\n'}
[2.097100] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/functional:756:21:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[K\xe2\x80\x98\x1b[01m\x1b[K(false ? (2 >= (((long unsigned int)std::integral_constant<long unsigned int, 2>::value) + 1)) : (2 == (((long unsigned int)std::integral_constant<long unsigned int, 2>::value) + 1)))\x1b[m\x1b[K\xe2\x80\x99 evaluates to false\n'}
[2.114468] (-) TimerEvent: {}
[2.215370] (-) TimerEvent: {}
[2.315818] (-) TimerEvent: {}
[2.341416] (service_server) StderrLine: {'line': b'In file included from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36\x1b[m\x1b[K,\n'}
[2.341639] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28\x1b[m\x1b[K,\n'}
[2.341721] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20\x1b[m\x1b[K,\n'}
[2.341896] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25\x1b[m\x1b[K,\n'}
[2.341939] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18\x1b[m\x1b[K,\n'}
[2.359036] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20\x1b[m\x1b[K,\n'}
[2.359145] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37\x1b[m\x1b[K,\n'}
[2.359197] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25\x1b[m\x1b[K,\n'}
[2.359236] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21\x1b[m\x1b[K,\n'}
[2.359271] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155\x1b[m\x1b[K,\n'}
[2.359306] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1\x1b[m\x1b[K:\n'}
[2.359346] (service_server) StderrLine: {'line': b'/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of \xe2\x80\x98\x1b[01m\x1b[Kvoid rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]\x1b[m\x1b[K\xe2\x80\x99:\n'}
[2.359398] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Ktypename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.359442] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Ktypename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.359484] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:54:\x1b[m\x1b[K required from here\n'}
[2.359520] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52:\x1b[m\x1b[K \x1b[01;31m\x1b[Kerror: \x1b[m\x1b[Kno matching function for call to \xe2\x80\x98\x1b[01m\x1b[Kstd::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::emplace<rclcpp::AnyServiceCallback<service_interfaces::srv::Patrol>::SharedPtrCallback>(std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&)\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.359564] (service_server) StderrLine: {'line': b' 78 | \x1b[01;31m\x1b[Kcallback_.template emplace<SharedPtrCallback>(callback)\x1b[m\x1b[K;\n'}
[2.359705] (service_server) StderrLine: {'line': b' | \x1b[01;31m\x1b[K~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~\x1b[m\x1b[K\n'}
[2.359768] (service_server) StderrLine: {'line': b'In file included from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28\x1b[m\x1b[K,\n'}
[2.359811] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24\x1b[m\x1b[K,\n'}
[2.359850] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20\x1b[m\x1b[K,\n'}
[2.359885] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25\x1b[m\x1b[K,\n'}
[2.359920] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18\x1b[m\x1b[K,\n'}
[2.359955] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20\x1b[m\x1b[K,\n'}
[2.359990] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37\x1b[m\x1b[K,\n'}
[2.360024] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25\x1b[m\x1b[K,\n'}
[2.360059] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21\x1b[m\x1b[K,\n'}
[2.360092] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155\x1b[m\x1b[K,\n'}
[2.360156] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1\x1b[m\x1b[K:\n'}
[2.360199] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1485:9:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[Kcandidate: \xe2\x80\x98\x1b[01m\x1b[Ktemplate<class _Tp, class ... _Args> std::enable_if_t<(is_constructible_v<_Tp, _Args ...> && __exactly_once<_Tp>), _Tp&> std::variant<_Types>::emplace(_Args&& ...) [with _Tp = _Tp; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.360246] (service_server) StderrLine: {'line': b' 1485 | \x1b[01;36m\x1b[Kemplace\x1b[m\x1b[K(_Args&&... __args)\n'}
[2.360283] (service_server) StderrLine: {'line': b' | \x1b[01;36m\x1b[K^~~~~~~\x1b[m\x1b[K\n'}
[2.360327] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1485:9:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[K template argument deduction/substitution failed:\n'}
[2.360390] (service_server) StderrLine: {'line': b'In file included from \x1b[01m\x1b[K/usr/include/c++/11/bits/move.h:57\x1b[m\x1b[K,\n'}
[2.360459] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/usr/include/c++/11/bits/stl_pair.h:59\x1b[m\x1b[K,\n'}
[2.360525] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/usr/include/c++/11/bits/stl_algobase.h:64\x1b[m\x1b[K,\n'}
[2.360579] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/usr/include/c++/11/memory:63\x1b[m\x1b[K,\n'}
[2.360726] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:153\x1b[m\x1b[K,\n'}
[2.360842] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1\x1b[m\x1b[K:\n'}
[2.360882] (service_server) StderrLine: {'line': b'/usr/include/c++/11/type_traits: In substitution of \xe2\x80\x98\x1b[01m\x1b[Ktemplate<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type [with bool _Cond = false; _Tp = std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&]\x1b[m\x1b[K\xe2\x80\x99:\n'}
[2.360926] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1485:2:\x1b[m\x1b[K required by substitution of \xe2\x80\x98\x1b[01m\x1b[Ktemplate<class _Tp, class ... _Args> std::enable_if_t<(is_constructible_v<_Tp, _Args ...> && __exactly_once<_Tp>), _Tp&> std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::emplace<_Tp, _Args ...>(_Args&& ...) [with _Tp = std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; _Args = {std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&}]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.361017] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Kvoid rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.361078] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Ktypename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.361183] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Ktypename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.361296] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:54:\x1b[m\x1b[K required from here\n'}
[2.361337] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/type_traits:2579:11:\x1b[m\x1b[K \x1b[01;31m\x1b[Kerror: \x1b[m\x1b[Kno type named \xe2\x80\x98\x1b[01m\x1b[Ktype\x1b[m\x1b[K\xe2\x80\x99 in \xe2\x80\x98\x1b[01m\x1b[Kstruct std::enable_if<false, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&>\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.361383] (service_server) StderrLine: {'line': b' 2579 | using \x1b[01;31m\x1b[Kenable_if_t\x1b[m\x1b[K = typename enable_if<_Cond, _Tp>::type;\n'}
[2.361422] (service_server) StderrLine: {'line': b' | \x1b[01;31m\x1b[K^~~~~~~~~~~\x1b[m\x1b[K\n'}
[2.361460] (service_server) StderrLine: {'line': b'In file included from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28\x1b[m\x1b[K,\n'}
[2.361501] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24\x1b[m\x1b[K,\n'}
[2.361538] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20\x1b[m\x1b[K,\n'}
[2.361577] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25\x1b[m\x1b[K,\n'}
[2.361619] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18\x1b[m\x1b[K,\n'}
[2.361661] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20\x1b[m\x1b[K,\n'}
[2.361844] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37\x1b[m\x1b[K,\n'}
[2.361912] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25\x1b[m\x1b[K,\n'}
[2.361967] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21\x1b[m\x1b[K,\n'}
[2.362020] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155\x1b[m\x1b[K,\n'}
[2.362064] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1\x1b[m\x1b[K:\n'}
[2.362109] (service_server) StderrLine: {'line': b'/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of \xe2\x80\x98\x1b[01m\x1b[Kvoid rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]\x1b[m\x1b[K\xe2\x80\x99:\n'}
[2.362159] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Ktypename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.362295] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Ktypename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.362363] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:54:\x1b[m\x1b[K required from here\n'}
[2.362405] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1495:9:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[Kcandidate: \xe2\x80\x98\x1b[01m\x1b[Ktemplate<class _Tp, class _Up, class ... _Args> std::enable_if_t<(is_constructible_v<_Tp, std::initializer_list<_Up>&, _Args ...> && __exactly_once<_Tp>), _Tp&> std::variant<_Types>::emplace(std::initializer_list<_Up>, _Args&& ...) [with _Tp = _Tp; _Up = _Up; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.362474] (service_server) StderrLine: {'line': b' 1495 | \x1b[01;36m\x1b[Kemplace\x1b[m\x1b[K(initializer_list<_Up> __il, _Args&&... __args)\n'}
[2.362522] (service_server) StderrLine: {'line': b' | \x1b[01;36m\x1b[K^~~~~~~\x1b[m\x1b[K\n'}
[2.362561] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1495:9:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[K template argument deduction/substitution failed:\n'}
[2.362598] (service_server) StderrLine: {'line': b'In file included from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36\x1b[m\x1b[K,\n'}
[2.363065] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28\x1b[m\x1b[K,\n'}
[2.363185] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20\x1b[m\x1b[K,\n'}
[2.363235] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25\x1b[m\x1b[K,\n'}
[2.363285] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18\x1b[m\x1b[K,\n'}
[2.363367] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20\x1b[m\x1b[K,\n'}
[2.363413] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37\x1b[m\x1b[K,\n'}
[2.363453] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25\x1b[m\x1b[K,\n'}
[2.363490] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21\x1b[m\x1b[K,\n'}
[2.363524] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155\x1b[m\x1b[K,\n'}
[2.363558] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1\x1b[m\x1b[K:\n'}
[2.363604] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[K \xe2\x80\x98\x1b[01m\x1b[Kstd::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>\x1b[m\x1b[K\xe2\x80\x99 is not derived from \xe2\x80\x98\x1b[01m\x1b[Kstd::initializer_list<_Value>\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.363647] (service_server) StderrLine: {'line': b' 78 | \x1b[01;36m\x1b[Kcallback_.template emplace<SharedPtrCallback>(callback)\x1b[m\x1b[K;\n'}
[2.363683] (service_server) StderrLine: {'line': b' | \x1b[01;36m\x1b[K~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~\x1b[m\x1b[K\n'}
[2.363718] (service_server) StderrLine: {'line': b'In file included from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28\x1b[m\x1b[K,\n'}
[2.363754] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24\x1b[m\x1b[K,\n'}
[2.363789] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20\x1b[m\x1b[K,\n'}
[2.363823] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25\x1b[m\x1b[K,\n'}
[2.363882] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18\x1b[m\x1b[K,\n'}
[2.363999] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20\x1b[m\x1b[K,\n'}
[2.364044] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37\x1b[m\x1b[K,\n'}
[2.364080] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25\x1b[m\x1b[K,\n'}
[2.364118] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21\x1b[m\x1b[K,\n'}
[2.364154] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155\x1b[m\x1b[K,\n'}
[2.364190] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1\x1b[m\x1b[K:\n'}
[2.364224] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1505:9:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[Kcandidate: \xe2\x80\x98\x1b[01m\x1b[Ktemplate<long unsigned int _Np, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(_Args&& ...) [with long unsigned int _Np = _Np; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.364317] (service_server) StderrLine: {'line': b' 1505 | \x1b[01;36m\x1b[Kemplace\x1b[m\x1b[K(_Args&&... __args)\n'}
[2.364355] (service_server) StderrLine: {'line': b' | \x1b[01;36m\x1b[K^~~~~~~\x1b[m\x1b[K\n'}
[2.364420] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1505:9:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[K template argument deduction/substitution failed:\n'}
[2.364476] (service_server) StderrLine: {'line': b'In file included from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36\x1b[m\x1b[K,\n'}
[2.364512] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28\x1b[m\x1b[K,\n'}
[2.364548] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20\x1b[m\x1b[K,\n'}
[2.364583] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25\x1b[m\x1b[K,\n'}
[2.364618] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18\x1b[m\x1b[K,\n'}
[2.364653] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20\x1b[m\x1b[K,\n'}
[2.364689] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37\x1b[m\x1b[K,\n'}
[2.364725] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25\x1b[m\x1b[K,\n'}
[2.364760] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21\x1b[m\x1b[K,\n'}
[2.364799] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155\x1b[m\x1b[K,\n'}
[2.364834] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1\x1b[m\x1b[K:\n'}
[2.364869] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52:\x1b[m\x1b[K \x1b[01;31m\x1b[Kerror: \x1b[m\x1b[Ktype/value mismatch at argument 1 in template parameter list for \xe2\x80\x98\x1b[01m\x1b[Ktemplate<long unsigned int _Np, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(_Args&& ...) [with long unsigned int _Np = _Np; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.364916] (service_server) StderrLine: {'line': b' 78 | \x1b[01;31m\x1b[Kcallback_.template emplace<SharedPtrCallback>(callback)\x1b[m\x1b[K;\n'}
[2.365055] (service_server) StderrLine: {'line': b' | \x1b[01;31m\x1b[K~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~\x1b[m\x1b[K\n'}
[2.365107] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[K expected a constant of type \xe2\x80\x98\x1b[01m\x1b[Klong unsigned int\x1b[m\x1b[K\xe2\x80\x99, got \xe2\x80\x98\x1b[01m\x1b[Krclcpp::AnyServiceCallback<service_interfaces::srv::Patrol>::SharedPtrCallback\x1b[m\x1b[K\xe2\x80\x99 {aka \xe2\x80\x98\x1b[01m\x1b[Kstd::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>\x1b[m\x1b[K\xe2\x80\x99}\n'}
[2.365147] (service_server) StderrLine: {'line': b'In file included from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28\x1b[m\x1b[K,\n'}
[2.365182] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24\x1b[m\x1b[K,\n'}
[2.365218] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20\x1b[m\x1b[K,\n'}
[2.365253] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25\x1b[m\x1b[K,\n'}
[2.365298] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18\x1b[m\x1b[K,\n'}
[2.365339] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20\x1b[m\x1b[K,\n'}
[2.365376] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37\x1b[m\x1b[K,\n'}
[2.365411] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25\x1b[m\x1b[K,\n'}
[2.365445] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21\x1b[m\x1b[K,\n'}
[2.365482] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155\x1b[m\x1b[K,\n'}
[2.365545] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1\x1b[m\x1b[K:\n'}
[2.365582] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1551:9:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[Kcandidate: \xe2\x80\x98\x1b[01m\x1b[Ktemplate<long unsigned int _Np, class _Up, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, std::initializer_list<_Up>&, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(std::initializer_list<_Up>, _Args&& ...) [with long unsigned int _Np = _Np; _Up = _Up; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.365628] (service_server) StderrLine: {'line': b' 1551 | \x1b[01;36m\x1b[Kemplace\x1b[m\x1b[K(initializer_list<_Up> __il, _Args&&... __args)\n'}
[2.365663] (service_server) StderrLine: {'line': b' | \x1b[01;36m\x1b[K^~~~~~~\x1b[m\x1b[K\n'}
[2.365697] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1551:9:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[K template argument deduction/substitution failed:\n'}
[2.365731] (service_server) StderrLine: {'line': b'In file included from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36\x1b[m\x1b[K,\n'}
[2.365765] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28\x1b[m\x1b[K,\n'}
[2.365798] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20\x1b[m\x1b[K,\n'}
[2.365832] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25\x1b[m\x1b[K,\n'}
[2.365870] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18\x1b[m\x1b[K,\n'}
[2.365904] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20\x1b[m\x1b[K,\n'}
[2.365937] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37\x1b[m\x1b[K,\n'}
[2.365971] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25\x1b[m\x1b[K,\n'}
[2.366006] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21\x1b[m\x1b[K,\n'}
[2.366057] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155\x1b[m\x1b[K,\n'}
[2.366166] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1\x1b[m\x1b[K:\n'}
[2.366210] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52:\x1b[m\x1b[K \x1b[01;31m\x1b[Kerror: \x1b[m\x1b[Ktype/value mismatch at argument 1 in template parameter list for \xe2\x80\x98\x1b[01m\x1b[Ktemplate<long unsigned int _Np, class _Up, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, std::initializer_list<_Up>&, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(std::initializer_list<_Up>, _Args&& ...) [with long unsigned int _Np = _Np; _Up = _Up; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.366259] (service_server) StderrLine: {'line': b' 78 | \x1b[01;31m\x1b[Kcallback_.template emplace<SharedPtrCallback>(callback)\x1b[m\x1b[K;\n'}
[2.366295] (service_server) StderrLine: {'line': b' | \x1b[01;31m\x1b[K~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~\x1b[m\x1b[K\n'}
[2.366330] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[K expected a constant of type \xe2\x80\x98\x1b[01m\x1b[Klong unsigned int\x1b[m\x1b[K\xe2\x80\x99, got \xe2\x80\x98\x1b[01m\x1b[Krclcpp::AnyServiceCallback<service_interfaces::srv::Patrol>::SharedPtrCallback\x1b[m\x1b[K\xe2\x80\x99 {aka \xe2\x80\x98\x1b[01m\x1b[Kstd::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>\x1b[m\x1b[K\xe2\x80\x99}\n'}
[2.416027] (-) TimerEvent: {}
[2.516586] (-) TimerEvent: {}
[2.569564] (service_server) StderrLine: {'line': b'gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1\n'}
[2.569817] (service_server) StderrLine: {'line': b'gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2\n'}
[2.570029] (service_server) StderrLine: {'line': b'gmake: *** [Makefile:146: all] Error 2\n'}
[2.574493] (service_server) CommandEnded: {'returncode': 2}
[2.585916] (service_server) JobEnded: {'identifier': 'service_server', 'rc': 2}
[2.596968] (-) EventReactorShutdown: {}

View File

@@ -0,0 +1,84 @@
[0.089s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.089s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=16, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x7f413692ada0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x7f413692a830>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x7f413692a830>>)
[0.210s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.210s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.210s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.210s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.211s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.211s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.211s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/quella/ROS2Demo/service/service_server'
[0.211s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.211s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.211s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.211s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.211s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.211s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.211s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.211s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.211s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.222s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_cmake' and name 'service_server'
[0.222s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.222s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.223s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.223s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.223s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.239s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.239s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.241s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 271 installed packages in /opt/ros/humble
[0.242s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.280s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_args' from command line to 'None'
[0.280s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target' from command line to 'None'
[0.280s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.280s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_cache' from command line to 'False'
[0.280s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_first' from command line to 'False'
[0.281s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_force_configure' from command line to 'False'
[0.281s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'ament_cmake_args' from command line to 'None'
[0.281s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_cmake_args' from command line to 'None'
[0.281s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.281s] DEBUG:colcon.colcon_core.verb:Building package 'service_server' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/quella/ROS2Demo/service/service_server/install/service_server', 'merge_install': False, 'path': '/home/quella/ROS2Demo/service/service_server', 'symlink_install': False, 'test_result_base': None}
[0.281s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.282s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.283s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/quella/ROS2Demo/service/service_server' with build type 'ament_cmake'
[0.283s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/quella/ROS2Demo/service/service_server'
[0.285s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.285s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.285s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[0.294s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[2.857s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[2.857s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[2.859s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[2.860s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[2.860s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[2.861s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[2.861s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[2.862s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[2.863s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[2.863s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[2.863s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[2.864s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[2.864s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[2.864s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[2.865s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[2.865s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[2.866s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[2.867s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[2.867s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[2.878s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[2.879s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[2.879s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '2'
[2.879s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[2.884s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[2.884s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[2.884s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[2.886s] DEBUG:colcon.colcon_notification.desktop_notification.notify2:Failed to initialize notify2: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
[2.886s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[2.886s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.ps1'
[2.887s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_ps1.py'
[2.888s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.ps1'
[2.889s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.sh'
[2.890s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_sh.py'
[2.890s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.sh'
[2.891s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.bash'
[2.892s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.bash'
[2.893s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.zsh'
[2.894s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.zsh'

View File

@@ -0,0 +1,2 @@
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16

View File

@@ -0,0 +1,163 @@
In file included from /usr/include/c++/11/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/11/algorithm:74,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/usr/include/c++/11/functional: In instantiation of struct std::_Bind_check_arity<void (TurtleController::*)(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >), TurtleController*, const std::_Placeholder<1>&>:
/usr/include/c++/11/functional:768:12: required from struct std::_Bind_helper<false, void (TurtleController::*)(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >), TurtleController*, const std::_Placeholder<1>&>
/usr/include/c++/11/functional:789:5: required by substitution of template<class _Func, class ... _BoundArgs> typename std::_Bind_helper<std::__is_socketlike<_Func>::value, _Func, _BoundArgs ...>::type std::bind(_Func&&, _BoundArgs&& ...) [with _Func = void (TurtleController::*)(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >); _BoundArgs = {TurtleController*, const std::_Placeholder<1>&}]
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:80: required from here
/usr/include/c++/11/functional:756:21: error: static assertion failed: Wrong number of arguments for pointer-to-member
755 | static_assert(_Varargs::value
| ~~~~~
756 |  ? sizeof...(_BoundArgs) >= _Arity::value + 1
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
757 |  : sizeof...(_BoundArgs) == _Arity::value + 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/functional:756:21: note: (false ? (2 >= (((long unsigned int)std::integral_constant<long unsigned int, 2>::value) + 1)) : (2 == (((long unsigned int)std::integral_constant<long unsigned int, 2>::value) + 1))) evaluates to false
In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]:
/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:54: required from here
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: error: no matching function for call to std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::emplace<rclcpp::AnyServiceCallback<service_interfaces::srv::Patrol>::SharedPtrCallback>(std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&)
78 | callback_.template emplace<SharedPtrCallback>(callback);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/usr/include/c++/11/variant:1485:9: note: candidate: template<class _Tp, class ... _Args> std::enable_if_t<(is_constructible_v<_Tp, _Args ...> && __exactly_once<_Tp>), _Tp&> std::variant<_Types>::emplace(_Args&& ...) [with _Tp = _Tp; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
1485 | emplace(_Args&&... __args)
| ^~~~~~~
/usr/include/c++/11/variant:1485:9: note:  template argument deduction/substitution failed:
In file included from /usr/include/c++/11/bits/move.h:57,
from /usr/include/c++/11/bits/stl_pair.h:59,
from /usr/include/c++/11/bits/stl_algobase.h:64,
from /usr/include/c++/11/memory:63,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:153,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/usr/include/c++/11/type_traits: In substitution of template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type [with bool _Cond = false; _Tp = std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&]:
/usr/include/c++/11/variant:1485:2: required by substitution of template<class _Tp, class ... _Args> std::enable_if_t<(is_constructible_v<_Tp, _Args ...> && __exactly_once<_Tp>), _Tp&> std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::emplace<_Tp, _Args ...>(_Args&& ...) [with _Tp = std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; _Args = {std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&}]
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: required from void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]
/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:54: required from here
/usr/include/c++/11/type_traits:2579:11: error: no type named type in struct std::enable_if<false, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&>
2579 | using enable_if_t = typename enable_if<_Cond, _Tp>::type;
| ^~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]:
/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:54: required from here
/usr/include/c++/11/variant:1495:9: note: candidate: template<class _Tp, class _Up, class ... _Args> std::enable_if_t<(is_constructible_v<_Tp, std::initializer_list<_Up>&, _Args ...> && __exactly_once<_Tp>), _Tp&> std::variant<_Types>::emplace(std::initializer_list<_Up>, _Args&& ...) [with _Tp = _Tp; _Up = _Up; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
1495 | emplace(initializer_list<_Up> __il, _Args&&... __args)
| ^~~~~~~
/usr/include/c++/11/variant:1495:9: note:  template argument deduction/substitution failed:
In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: note:  std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)> is not derived from std::initializer_list<_Value>
78 | callback_.template emplace<SharedPtrCallback>(callback);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/usr/include/c++/11/variant:1505:9: note: candidate: template<long unsigned int _Np, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(_Args&& ...) [with long unsigned int _Np = _Np; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
1505 | emplace(_Args&&... __args)
| ^~~~~~~
/usr/include/c++/11/variant:1505:9: note:  template argument deduction/substitution failed:
In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: error: type/value mismatch at argument 1 in template parameter list for template<long unsigned int _Np, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(_Args&& ...) [with long unsigned int _Np = _Np; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
78 | callback_.template emplace<SharedPtrCallback>(callback);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: note:  expected a constant of type long unsigned int, got rclcpp::AnyServiceCallback<service_interfaces::srv::Patrol>::SharedPtrCallback {aka std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>}
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/usr/include/c++/11/variant:1551:9: note: candidate: template<long unsigned int _Np, class _Up, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, std::initializer_list<_Up>&, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(std::initializer_list<_Up>, _Args&& ...) [with long unsigned int _Np = _Np; _Up = _Up; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
1551 | emplace(initializer_list<_Up> __il, _Args&&... __args)
| ^~~~~~~
/usr/include/c++/11/variant:1551:9: note:  template argument deduction/substitution failed:
In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: error: type/value mismatch at argument 1 in template parameter list for template<long unsigned int _Np, class _Up, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, std::initializer_list<_Up>&, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(std::initializer_list<_Up>, _Args&& ...) [with long unsigned int _Np = _Np; _Up = _Up; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
78 | callback_.template emplace<SharedPtrCallback>(callback);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: note:  expected a constant of type long unsigned int, got rclcpp::AnyServiceCallback<service_interfaces::srv::Patrol>::SharedPtrCallback {aka std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>}
gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

View File

@@ -0,0 +1 @@
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o

View File

@@ -0,0 +1,164 @@
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
In file included from /usr/include/c++/11/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/11/algorithm:74,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/usr/include/c++/11/functional: In instantiation of struct std::_Bind_check_arity<void (TurtleController::*)(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >), TurtleController*, const std::_Placeholder<1>&>:
/usr/include/c++/11/functional:768:12: required from struct std::_Bind_helper<false, void (TurtleController::*)(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >), TurtleController*, const std::_Placeholder<1>&>
/usr/include/c++/11/functional:789:5: required by substitution of template<class _Func, class ... _BoundArgs> typename std::_Bind_helper<std::__is_socketlike<_Func>::value, _Func, _BoundArgs ...>::type std::bind(_Func&&, _BoundArgs&& ...) [with _Func = void (TurtleController::*)(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >); _BoundArgs = {TurtleController*, const std::_Placeholder<1>&}]
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:80: required from here
/usr/include/c++/11/functional:756:21: error: static assertion failed: Wrong number of arguments for pointer-to-member
755 | static_assert(_Varargs::value
| ~~~~~
756 |  ? sizeof...(_BoundArgs) >= _Arity::value + 1
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
757 |  : sizeof...(_BoundArgs) == _Arity::value + 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/functional:756:21: note: (false ? (2 >= (((long unsigned int)std::integral_constant<long unsigned int, 2>::value) + 1)) : (2 == (((long unsigned int)std::integral_constant<long unsigned int, 2>::value) + 1))) evaluates to false
In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]:
/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:54: required from here
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: error: no matching function for call to std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::emplace<rclcpp::AnyServiceCallback<service_interfaces::srv::Patrol>::SharedPtrCallback>(std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&)
78 | callback_.template emplace<SharedPtrCallback>(callback);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/usr/include/c++/11/variant:1485:9: note: candidate: template<class _Tp, class ... _Args> std::enable_if_t<(is_constructible_v<_Tp, _Args ...> && __exactly_once<_Tp>), _Tp&> std::variant<_Types>::emplace(_Args&& ...) [with _Tp = _Tp; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
1485 | emplace(_Args&&... __args)
| ^~~~~~~
/usr/include/c++/11/variant:1485:9: note:  template argument deduction/substitution failed:
In file included from /usr/include/c++/11/bits/move.h:57,
from /usr/include/c++/11/bits/stl_pair.h:59,
from /usr/include/c++/11/bits/stl_algobase.h:64,
from /usr/include/c++/11/memory:63,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:153,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/usr/include/c++/11/type_traits: In substitution of template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type [with bool _Cond = false; _Tp = std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&]:
/usr/include/c++/11/variant:1485:2: required by substitution of template<class _Tp, class ... _Args> std::enable_if_t<(is_constructible_v<_Tp, _Args ...> && __exactly_once<_Tp>), _Tp&> std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::emplace<_Tp, _Args ...>(_Args&& ...) [with _Tp = std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; _Args = {std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&}]
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: required from void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]
/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:54: required from here
/usr/include/c++/11/type_traits:2579:11: error: no type named type in struct std::enable_if<false, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&>
2579 | using enable_if_t = typename enable_if<_Cond, _Tp>::type;
| ^~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]:
/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:54: required from here
/usr/include/c++/11/variant:1495:9: note: candidate: template<class _Tp, class _Up, class ... _Args> std::enable_if_t<(is_constructible_v<_Tp, std::initializer_list<_Up>&, _Args ...> && __exactly_once<_Tp>), _Tp&> std::variant<_Types>::emplace(std::initializer_list<_Up>, _Args&& ...) [with _Tp = _Tp; _Up = _Up; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
1495 | emplace(initializer_list<_Up> __il, _Args&&... __args)
| ^~~~~~~
/usr/include/c++/11/variant:1495:9: note:  template argument deduction/substitution failed:
In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: note:  std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)> is not derived from std::initializer_list<_Value>
78 | callback_.template emplace<SharedPtrCallback>(callback);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/usr/include/c++/11/variant:1505:9: note: candidate: template<long unsigned int _Np, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(_Args&& ...) [with long unsigned int _Np = _Np; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
1505 | emplace(_Args&&... __args)
| ^~~~~~~
/usr/include/c++/11/variant:1505:9: note:  template argument deduction/substitution failed:
In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: error: type/value mismatch at argument 1 in template parameter list for template<long unsigned int _Np, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(_Args&& ...) [with long unsigned int _Np = _Np; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
78 | callback_.template emplace<SharedPtrCallback>(callback);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: note:  expected a constant of type long unsigned int, got rclcpp::AnyServiceCallback<service_interfaces::srv::Patrol>::SharedPtrCallback {aka std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>}
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/usr/include/c++/11/variant:1551:9: note: candidate: template<long unsigned int _Np, class _Up, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, std::initializer_list<_Up>&, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(std::initializer_list<_Up>, _Args&& ...) [with long unsigned int _Np = _Np; _Up = _Up; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
1551 | emplace(initializer_list<_Up> __il, _Args&&... __args)
| ^~~~~~~
/usr/include/c++/11/variant:1551:9: note:  template argument deduction/substitution failed:
In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: error: type/value mismatch at argument 1 in template parameter list for template<long unsigned int _Np, class _Up, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, std::initializer_list<_Up>&, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(std::initializer_list<_Up>, _Args&& ...) [with long unsigned int _Np = _Np; _Up = _Up; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
78 | callback_.template emplace<SharedPtrCallback>(callback);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: note:  expected a constant of type long unsigned int, got rclcpp::AnyServiceCallback<service_interfaces::srv::Patrol>::SharedPtrCallback {aka std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>}
gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

View File

@@ -0,0 +1,166 @@
[0.011s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[0.076s] [ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[2.095s] In file included from /usr/include/c++/11/pstl/glue_algorithm_defs.h:13,
[2.095s] from /usr/include/c++/11/algorithm:74,
[2.095s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:18,
[2.095s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.095s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.095s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.095s] from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
[2.095s] /usr/include/c++/11/functional: In instantiation of struct std::_Bind_check_arity<void (TurtleController::*)(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >), TurtleController*, const std::_Placeholder<1>&>:
[2.096s] /usr/include/c++/11/functional:768:12: required from struct std::_Bind_helper<false, void (TurtleController::*)(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >), TurtleController*, const std::_Placeholder<1>&>
[2.096s] /usr/include/c++/11/functional:789:5: required by substitution of template<class _Func, class ... _BoundArgs> typename std::_Bind_helper<std::__is_socketlike<_Func>::value, _Func, _BoundArgs ...>::type std::bind(_Func&&, _BoundArgs&& ...) [with _Func = void (TurtleController::*)(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >); _BoundArgs = {TurtleController*, const std::_Placeholder<1>&}]
[2.096s] /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:80: required from here
[2.096s] /usr/include/c++/11/functional:756:21: error: static assertion failed: Wrong number of arguments for pointer-to-member
[2.096s] 755 | static_assert(_Varargs::value
[2.096s] | ~~~~~
[2.096s] 756 |  ? sizeof...(_BoundArgs) >= _Arity::value + 1
[2.096s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2.096s] 757 |  : sizeof...(_BoundArgs) == _Arity::value + 1,
[2.096s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2.096s] /usr/include/c++/11/functional:756:21: note: (false ? (2 >= (((long unsigned int)std::integral_constant<long unsigned int, 2>::value) + 1)) : (2 == (((long unsigned int)std::integral_constant<long unsigned int, 2>::value) + 1))) evaluates to false
[2.340s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
[2.341s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
[2.341s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.341s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.358s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.358s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.358s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.358s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.358s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.358s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.358s] from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
[2.358s] /opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]:
[2.358s] /opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
[2.358s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
[2.358s] /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:54: required from here
[2.358s] /opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: error: no matching function for call to std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::emplace<rclcpp::AnyServiceCallback<service_interfaces::srv::Patrol>::SharedPtrCallback>(std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&)
[2.358s] 78 | callback_.template emplace<SharedPtrCallback>(callback);
[2.359s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[2.359s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.359s] from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
[2.359s] /usr/include/c++/11/variant:1485:9: note: candidate: template<class _Tp, class ... _Args> std::enable_if_t<(is_constructible_v<_Tp, _Args ...> && __exactly_once<_Tp>), _Tp&> std::variant<_Types>::emplace(_Args&& ...) [with _Tp = _Tp; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
[2.359s] 1485 | emplace(_Args&&... __args)
[2.359s] | ^~~~~~~
[2.359s] /usr/include/c++/11/variant:1485:9: note:  template argument deduction/substitution failed:
[2.359s] In file included from /usr/include/c++/11/bits/move.h:57,
[2.359s] from /usr/include/c++/11/bits/stl_pair.h:59,
[2.359s] from /usr/include/c++/11/bits/stl_algobase.h:64,
[2.360s] from /usr/include/c++/11/memory:63,
[2.360s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:153,
[2.360s] from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
[2.360s] /usr/include/c++/11/type_traits: In substitution of template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type [with bool _Cond = false; _Tp = std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&]:
[2.360s] /usr/include/c++/11/variant:1485:2: required by substitution of template<class _Tp, class ... _Args> std::enable_if_t<(is_constructible_v<_Tp, _Args ...> && __exactly_once<_Tp>), _Tp&> std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::emplace<_Tp, _Args ...>(_Args&& ...) [with _Tp = std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; _Args = {std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&}]
[2.360s] /opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: required from void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]
[2.360s] /opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
[2.360s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
[2.360s] /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:54: required from here
[2.360s] /usr/include/c++/11/type_traits:2579:11: error: no type named type in struct std::enable_if<false, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>&>
[2.360s] 2579 | using enable_if_t = typename enable_if<_Cond, _Tp>::type;
[2.360s] | ^~~~~~~~~~~
[2.360s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
[2.360s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.360s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.361s] from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
[2.361s] /opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]:
[2.361s] /opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
[2.361s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
[2.361s] /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:13:54: required from here
[2.361s] /usr/include/c++/11/variant:1495:9: note: candidate: template<class _Tp, class _Up, class ... _Args> std::enable_if_t<(is_constructible_v<_Tp, std::initializer_list<_Up>&, _Args ...> && __exactly_once<_Tp>), _Tp&> std::variant<_Types>::emplace(std::initializer_list<_Up>, _Args&& ...) [with _Tp = _Tp; _Up = _Up; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
[2.361s] 1495 | emplace(initializer_list<_Up> __il, _Args&&... __args)
[2.361s] | ^~~~~~~
[2.361s] /usr/include/c++/11/variant:1495:9: note:  template argument deduction/substitution failed:
[2.362s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.362s] from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
[2.363s] /opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: note:  std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)> is not derived from std::initializer_list<_Value>
[2.363s] 78 | callback_.template emplace<SharedPtrCallback>(callback);
[2.363s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[2.363s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.363s] from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
[2.363s] /usr/include/c++/11/variant:1505:9: note: candidate: template<long unsigned int _Np, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(_Args&& ...) [with long unsigned int _Np = _Np; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
[2.363s] 1505 | emplace(_Args&&... __args)
[2.363s] | ^~~~~~~
[2.363s] /usr/include/c++/11/variant:1505:9: note:  template argument deduction/substitution failed:
[2.363s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.364s] from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
[2.364s] /opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: error: type/value mismatch at argument 1 in template parameter list for template<long unsigned int _Np, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(_Args&& ...) [with long unsigned int _Np = _Np; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
[2.364s] 78 | callback_.template emplace<SharedPtrCallback>(callback);
[2.364s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[2.364s] /opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: note:  expected a constant of type long unsigned int, got rclcpp::AnyServiceCallback<service_interfaces::srv::Patrol>::SharedPtrCallback {aka std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>}
[2.364s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.364s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.364s] from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
[2.365s] /usr/include/c++/11/variant:1551:9: note: candidate: template<long unsigned int _Np, class _Up, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, std::initializer_list<_Up>&, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(std::initializer_list<_Up>, _Args&& ...) [with long unsigned int _Np = _Np; _Up = _Up; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
[2.365s] 1551 | emplace(initializer_list<_Up> __il, _Args&&... __args)
[2.365s] | ^~~~~~~
[2.365s] /usr/include/c++/11/variant:1551:9: note:  template argument deduction/substitution failed:
[2.365s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.365s] from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
[2.365s] /opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: error: type/value mismatch at argument 1 in template parameter list for template<long unsigned int _Np, class _Up, class ... _Args> std::enable_if_t<is_constructible_v<typename std::variant_alternative<_Np, std::variant<_Types> >::type, std::initializer_list<_Up>&, _Args ...>, typename std::variant_alternative<_Np, std::variant<_Types> >::type&> std::variant<_Types>::emplace(std::initializer_list<_Up>, _Args&& ...) [with long unsigned int _Np = _Np; _Up = _Up; _Args = {_Args ...}; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
[2.365s] 78 | callback_.template emplace<SharedPtrCallback>(callback);
[2.365s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[2.365s] /opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:78:52: note:  expected a constant of type long unsigned int, got rclcpp::AnyServiceCallback<service_interfaces::srv::Patrol>::SharedPtrCallback {aka std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>}
[2.569s] gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
[2.569s] gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
[2.569s] gmake: *** [Makefile:146: all] Error 2
[2.574s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16

View File

@@ -0,0 +1,68 @@
[0.000000] (-) TimerEvent: {}
[0.000277] (service_server) JobQueued: {'identifier': 'service_server', 'dependencies': OrderedDict()}
[0.000329] (service_server) JobStarted: {'identifier': 'service_server'}
[0.010708] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'cmake'}
[0.013012] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'build'}
[0.013189] (service_server) Command: {'cmd': ['/usr/bin/cmake', '--build', '/home/quella/ROS2Demo/service/service_server/build/service_server', '--', '-j16', '-l16'], 'cwd': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'env': OrderedDict([('LESSOPEN', '| /usr/bin/lesspipe %s'), ('LANGUAGE', 'zh_CN:en'), ('USER', 'quella'), ('SSH_CLIENT', '192.168.138.1 56885 22'), ('LC_TIME', 'zh_CN.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('GIT_ASKPASS', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass.sh'), ('SHLVL', '1'), ('LD_LIBRARY_PATH', '/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib'), ('BROWSER', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/helpers/browser.sh'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/quella'), ('OLDPWD', '/home/quella/ROS2Demo/service'), ('TERM_PROGRAM_VERSION', '1.102.3'), ('VSCODE_IPC_HOOK_CLI', '/run/user/1000/vscode-ipc-701649cf-a59b-4d57-8f34-46f3987c9e4c.sock'), ('ROS_PYTHON_VERSION', '3'), ('VSCODE_GIT_ASKPASS_MAIN', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass-main.js'), ('LC_MONETARY', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_NODE', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/node'), ('SSL_CERT_FILE', '/usr/lib/ssl/certs/ca-certificates.crt'), ('DBUS_SESSION_BUS_ADDRESS', 'unix:path=/run/user/1000/bus'), ('COLORTERM', 'truecolor'), ('ROS_DISTRO', 'humble'), ('LOGNAME', 'quella'), ('_', '/usr/bin/colcon'), ('ROS_VERSION', '2'), ('XDG_SESSION_CLASS', 'user'), ('TERM', 'xterm-256color'), ('XDG_SESSION_ID', '48'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/remote-cli:/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/quella/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand'), ('PAPERSIZE', 'a4'), ('LC_ADDRESS', 'zh_CN.UTF-8'), ('XDG_RUNTIME_DIR', '/run/user/1000'), ('SSL_CERT_DIR', '/usr/lib/ssl/certs'), ('LANG', 'zh_CN.UTF-8'), ('LC_TELEPHONE', 'zh_CN.UTF-8'), ('LS_COLORS', 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'), ('VSCODE_GIT_IPC_HANDLE', '/run/user/1000/vscode-git-f2cad408e9.sock'), ('TERM_PROGRAM', 'vscode'), ('AMENT_PREFIX_PATH', '/opt/ros/humble'), ('SHELL', '/bin/bash'), ('LC_NAME', 'zh_CN.UTF-8'), ('LESSCLOSE', '/usr/bin/lesspipe %s %s'), ('LC_MEASUREMENT', 'zh_CN.UTF-8'), ('LC_IDENTIFICATION', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_EXTRA_ARGS', ''), ('PWD', '/home/quella/ROS2Demo/service/service_server/build/service_server'), ('SSH_CONNECTION', '192.168.138.1 56885 192.168.138.137 22'), ('XDG_DATA_DIRS', '/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop'), ('PYTHONPATH', '/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages'), ('LC_NUMERIC', 'zh_CN.UTF-8'), ('LC_PAPER', 'zh_CN.UTF-8'), ('COLCON', '1'), ('CMAKE_PREFIX_PATH', '/opt/ros/humble')]), 'shell': False}
[0.064476] (service_server) StdoutLine: {'line': b'\x1b[35m\x1b[1mConsolidate compiler generated dependencies of target turtle_contrl\x1b[0m\n'}
[0.084594] (service_server) StdoutLine: {'line': b'[ 50%] \x1b[32mBuilding CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o\x1b[0m\n'}
[0.099129] (-) TimerEvent: {}
[0.199607] (-) TimerEvent: {}
[0.300302] (-) TimerEvent: {}
[0.400696] (-) TimerEvent: {}
[0.501266] (-) TimerEvent: {}
[0.601670] (-) TimerEvent: {}
[0.702267] (-) TimerEvent: {}
[0.803106] (-) TimerEvent: {}
[0.903526] (-) TimerEvent: {}
[1.004255] (-) TimerEvent: {}
[1.105043] (-) TimerEvent: {}
[1.205714] (-) TimerEvent: {}
[1.307220] (-) TimerEvent: {}
[1.407935] (-) TimerEvent: {}
[1.508556] (-) TimerEvent: {}
[1.609536] (-) TimerEvent: {}
[1.710372] (-) TimerEvent: {}
[1.810882] (-) TimerEvent: {}
[1.911515] (-) TimerEvent: {}
[2.012357] (-) TimerEvent: {}
[2.112865] (-) TimerEvent: {}
[2.213252] (-) TimerEvent: {}
[2.313635] (-) TimerEvent: {}
[2.414082] (-) TimerEvent: {}
[2.514575] (-) TimerEvent: {}
[2.594189] (service_server) StdoutLine: {'line': b'[100%] \x1b[32m\x1b[1mLinking CXX executable turtle_contrl\x1b[0m\n'}
[2.615136] (-) TimerEvent: {}
[2.715987] (-) TimerEvent: {}
[2.816560] (-) TimerEvent: {}
[2.917155] (-) TimerEvent: {}
[3.017558] (-) TimerEvent: {}
[3.118512] (-) TimerEvent: {}
[3.218991] (-) TimerEvent: {}
[3.319691] (-) TimerEvent: {}
[3.415519] (service_server) StdoutLine: {'line': b'[100%] Built target turtle_contrl\n'}
[3.419850] (-) TimerEvent: {}
[3.427227] (service_server) CommandEnded: {'returncode': 0}
[3.428681] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'install'}
[3.438269] (service_server) Command: {'cmd': ['/usr/bin/cmake', '--install', '/home/quella/ROS2Demo/service/service_server/build/service_server'], 'cwd': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'env': OrderedDict([('LESSOPEN', '| /usr/bin/lesspipe %s'), ('LANGUAGE', 'zh_CN:en'), ('USER', 'quella'), ('SSH_CLIENT', '192.168.138.1 56885 22'), ('LC_TIME', 'zh_CN.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('GIT_ASKPASS', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass.sh'), ('SHLVL', '1'), ('LD_LIBRARY_PATH', '/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib'), ('BROWSER', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/helpers/browser.sh'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/quella'), ('OLDPWD', '/home/quella/ROS2Demo/service'), ('TERM_PROGRAM_VERSION', '1.102.3'), ('VSCODE_IPC_HOOK_CLI', '/run/user/1000/vscode-ipc-701649cf-a59b-4d57-8f34-46f3987c9e4c.sock'), ('ROS_PYTHON_VERSION', '3'), ('VSCODE_GIT_ASKPASS_MAIN', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass-main.js'), ('LC_MONETARY', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_NODE', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/node'), ('SSL_CERT_FILE', '/usr/lib/ssl/certs/ca-certificates.crt'), ('DBUS_SESSION_BUS_ADDRESS', 'unix:path=/run/user/1000/bus'), ('COLORTERM', 'truecolor'), ('ROS_DISTRO', 'humble'), ('LOGNAME', 'quella'), ('_', '/usr/bin/colcon'), ('ROS_VERSION', '2'), ('XDG_SESSION_CLASS', 'user'), ('TERM', 'xterm-256color'), ('XDG_SESSION_ID', '48'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/remote-cli:/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/quella/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand'), ('PAPERSIZE', 'a4'), ('LC_ADDRESS', 'zh_CN.UTF-8'), ('XDG_RUNTIME_DIR', '/run/user/1000'), ('SSL_CERT_DIR', '/usr/lib/ssl/certs'), ('LANG', 'zh_CN.UTF-8'), ('LC_TELEPHONE', 'zh_CN.UTF-8'), ('LS_COLORS', 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'), ('VSCODE_GIT_IPC_HANDLE', '/run/user/1000/vscode-git-f2cad408e9.sock'), ('TERM_PROGRAM', 'vscode'), ('AMENT_PREFIX_PATH', '/opt/ros/humble'), ('SHELL', '/bin/bash'), ('LC_NAME', 'zh_CN.UTF-8'), ('LESSCLOSE', '/usr/bin/lesspipe %s %s'), ('LC_MEASUREMENT', 'zh_CN.UTF-8'), ('LC_IDENTIFICATION', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_EXTRA_ARGS', ''), ('PWD', '/home/quella/ROS2Demo/service/service_server/build/service_server'), ('SSH_CONNECTION', '192.168.138.1 56885 192.168.138.137 22'), ('XDG_DATA_DIRS', '/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop'), ('PYTHONPATH', '/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages'), ('LC_NUMERIC', 'zh_CN.UTF-8'), ('LC_PAPER', 'zh_CN.UTF-8'), ('COLCON', '1'), ('CMAKE_PREFIX_PATH', '/opt/ros/humble')]), 'shell': False}
[3.446648] (service_server) StdoutLine: {'line': b'-- Install configuration: ""\n'}
[3.458248] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl\n'}
[3.459007] (service_server) StdoutLine: {'line': b'-- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""\n'}
[3.459159] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server\n'}
[3.459206] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server\n'}
[3.459352] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh\n'}
[3.459571] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv\n'}
[3.459782] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh\n'}
[3.459878] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv\n'}
[3.460148] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash\n'}
[3.460227] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh\n'}
[3.460334] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh\n'}
[3.460376] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv\n'}
[3.460425] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv\n'}
[3.460729] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server\n'}
[3.460805] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake\n'}
[3.460848] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake\n'}
[3.460887] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml\n'}
[3.462927] (service_server) CommandEnded: {'returncode': 0}
[3.478823] (service_server) JobEnded: {'identifier': 'service_server', 'rc': 0}
[3.479866] (-) EventReactorShutdown: {}

View File

@@ -0,0 +1,104 @@
[0.085s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.085s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=16, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x767161722da0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x767161722830>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x767161722830>>)
[0.210s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.210s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.210s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.210s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.210s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.210s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.210s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/quella/ROS2Demo/service/service_server'
[0.210s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.210s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.210s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.210s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.210s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.211s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.211s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.211s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.211s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.223s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_cmake' and name 'service_server'
[0.223s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.223s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.223s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.223s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.223s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.240s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.240s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.243s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 271 installed packages in /opt/ros/humble
[0.244s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.292s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_args' from command line to 'None'
[0.292s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target' from command line to 'None'
[0.292s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.292s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_cache' from command line to 'False'
[0.292s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_first' from command line to 'False'
[0.292s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_force_configure' from command line to 'False'
[0.293s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'ament_cmake_args' from command line to 'None'
[0.293s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_cmake_args' from command line to 'None'
[0.293s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.293s] DEBUG:colcon.colcon_core.verb:Building package 'service_server' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/quella/ROS2Demo/service/service_server/install/service_server', 'merge_install': False, 'path': '/home/quella/ROS2Demo/service/service_server', 'symlink_install': False, 'test_result_base': None}
[0.293s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.294s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.294s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/quella/ROS2Demo/service/service_server' with build type 'ament_cmake'
[0.295s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/quella/ROS2Demo/service/service_server'
[0.297s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.297s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.297s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[0.312s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[3.723s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[3.734s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[3.758s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[3.758s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[3.760s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[3.761s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[3.761s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[3.761s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[3.762s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[3.763s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[3.763s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[3.763s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[3.764s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[3.764s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[3.764s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[3.764s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[3.765s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[3.765s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[3.766s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[3.767s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[3.767s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[3.768s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[3.768s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[3.768s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[3.768s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[3.769s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[3.769s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[3.769s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[3.770s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[3.770s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[3.770s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[3.770s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[3.770s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[3.771s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[3.772s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[3.772s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[3.773s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[3.773s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[3.773s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[3.774s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[3.774s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[3.774s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '0'
[3.774s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[3.779s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[3.779s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[3.779s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[3.780s] DEBUG:colcon.colcon_notification.desktop_notification.notify2:Failed to initialize notify2: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
[3.780s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[3.781s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.ps1'
[3.781s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_ps1.py'
[3.783s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.ps1'
[3.783s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.sh'
[3.784s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_sh.py'
[3.784s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.sh'
[3.785s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.bash'
[3.786s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.bash'
[3.786s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.zsh'
[3.787s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.zsh'

View File

@@ -0,0 +1,4 @@
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server

View File

@@ -0,0 +1,22 @@
Consolidate compiler generated dependencies of target turtle_contrl
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[100%] Linking CXX executable turtle_contrl
[100%] Built target turtle_contrl
-- Install configuration: ""
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
-- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml

View File

@@ -0,0 +1,22 @@
Consolidate compiler generated dependencies of target turtle_contrl
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[100%] Linking CXX executable turtle_contrl
[100%] Built target turtle_contrl
-- Install configuration: ""
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
-- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml

View File

@@ -0,0 +1,26 @@
[0.017s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[0.064s] Consolidate compiler generated dependencies of target turtle_contrl
[0.084s] [ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[2.594s] [100%] Linking CXX executable turtle_contrl
[3.415s] [100%] Built target turtle_contrl
[3.427s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[3.439s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[3.446s] -- Install configuration: ""
[3.458s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
[3.459s] -- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
[3.459s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
[3.459s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
[3.459s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
[3.459s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
[3.459s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
[3.460s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
[3.460s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
[3.460s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
[3.460s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
[3.460s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
[3.460s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
[3.460s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
[3.460s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
[3.461s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
[3.461s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml
[3.463s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server

View File

@@ -0,0 +1,104 @@
[0.000000] (-) TimerEvent: {}
[0.000167] (service_server) JobQueued: {'identifier': 'service_server', 'dependencies': OrderedDict()}
[0.000299] (service_server) JobStarted: {'identifier': 'service_server'}
[0.007983] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'cmake'}
[0.009199] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'build'}
[0.009309] (service_server) Command: {'cmd': ['/usr/bin/cmake', '--build', '/home/quella/ROS2Demo/service/service_server/build/service_server', '--', '-j16', '-l16'], 'cwd': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'env': OrderedDict([('LESSOPEN', '| /usr/bin/lesspipe %s'), ('LANGUAGE', 'zh_CN:en'), ('USER', 'quella'), ('SSH_CLIENT', '192.168.138.1 56885 22'), ('LC_TIME', 'zh_CN.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('GIT_ASKPASS', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass.sh'), ('SHLVL', '1'), ('LD_LIBRARY_PATH', '/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib'), ('BROWSER', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/helpers/browser.sh'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/quella'), ('OLDPWD', '/home/quella/ROS2Demo/service'), ('TERM_PROGRAM_VERSION', '1.102.3'), ('VSCODE_IPC_HOOK_CLI', '/run/user/1000/vscode-ipc-701649cf-a59b-4d57-8f34-46f3987c9e4c.sock'), ('ROS_PYTHON_VERSION', '3'), ('VSCODE_GIT_ASKPASS_MAIN', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass-main.js'), ('LC_MONETARY', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_NODE', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/node'), ('SSL_CERT_FILE', '/usr/lib/ssl/certs/ca-certificates.crt'), ('DBUS_SESSION_BUS_ADDRESS', 'unix:path=/run/user/1000/bus'), ('COLORTERM', 'truecolor'), ('ROS_DISTRO', 'humble'), ('LOGNAME', 'quella'), ('_', '/usr/bin/colcon'), ('ROS_VERSION', '2'), ('XDG_SESSION_CLASS', 'user'), ('TERM', 'xterm-256color'), ('XDG_SESSION_ID', '48'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/remote-cli:/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/quella/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand'), ('PAPERSIZE', 'a4'), ('LC_ADDRESS', 'zh_CN.UTF-8'), ('XDG_RUNTIME_DIR', '/run/user/1000'), ('SSL_CERT_DIR', '/usr/lib/ssl/certs'), ('LANG', 'zh_CN.UTF-8'), ('LC_TELEPHONE', 'zh_CN.UTF-8'), ('LS_COLORS', 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'), ('VSCODE_GIT_IPC_HANDLE', '/run/user/1000/vscode-git-f2cad408e9.sock'), ('TERM_PROGRAM', 'vscode'), ('AMENT_PREFIX_PATH', '/opt/ros/humble'), ('SHELL', '/bin/bash'), ('LC_NAME', 'zh_CN.UTF-8'), ('LESSCLOSE', '/usr/bin/lesspipe %s %s'), ('LC_MEASUREMENT', 'zh_CN.UTF-8'), ('LC_IDENTIFICATION', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_EXTRA_ARGS', ''), ('PWD', '/home/quella/ROS2Demo/service/service_server/build/service_server'), ('SSH_CONNECTION', '192.168.138.1 56885 192.168.138.137 22'), ('XDG_DATA_DIRS', '/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop'), ('PYTHONPATH', '/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages'), ('LC_NUMERIC', 'zh_CN.UTF-8'), ('LC_PAPER', 'zh_CN.UTF-8'), ('COLCON', '1'), ('CMAKE_PREFIX_PATH', '/opt/ros/humble')]), 'shell': False}
[0.099094] (-) TimerEvent: {}
[0.199996] (-) TimerEvent: {}
[0.274063] (service_server) StdoutLine: {'line': b'\x1b[35m\x1b[1mConsolidate compiler generated dependencies of target turtle_contrl\x1b[0m\n'}
[0.294269] (service_server) StdoutLine: {'line': b'[ 50%] \x1b[32mBuilding CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o\x1b[0m\n'}
[0.300298] (-) TimerEvent: {}
[0.401095] (-) TimerEvent: {}
[0.501844] (-) TimerEvent: {}
[0.602348] (-) TimerEvent: {}
[0.703310] (-) TimerEvent: {}
[0.804049] (-) TimerEvent: {}
[0.905311] (-) TimerEvent: {}
[1.005940] (-) TimerEvent: {}
[1.106309] (-) TimerEvent: {}
[1.207548] (-) TimerEvent: {}
[1.308018] (-) TimerEvent: {}
[1.408690] (-) TimerEvent: {}
[1.509581] (-) TimerEvent: {}
[1.610262] (-) TimerEvent: {}
[1.710938] (-) TimerEvent: {}
[1.811401] (-) TimerEvent: {}
[1.912120] (-) TimerEvent: {}
[2.012511] (-) TimerEvent: {}
[2.113031] (-) TimerEvent: {}
[2.213752] (-) TimerEvent: {}
[2.314276] (-) TimerEvent: {}
[2.414657] (-) TimerEvent: {}
[2.515722] (-) TimerEvent: {}
[2.616671] (-) TimerEvent: {}
[2.717224] (-) TimerEvent: {}
[2.786193] (service_server) StderrLine: {'line': b'In file included from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36\x1b[m\x1b[K,\n'}
[2.786425] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28\x1b[m\x1b[K,\n'}
[2.786643] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20\x1b[m\x1b[K,\n'}
[2.786934] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25\x1b[m\x1b[K,\n'}
[2.786992] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18\x1b[m\x1b[K,\n'}
[2.787032] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20\x1b[m\x1b[K,\n'}
[2.787069] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37\x1b[m\x1b[K,\n'}
[2.787104] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25\x1b[m\x1b[K,\n'}
[2.787140] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21\x1b[m\x1b[K,\n'}
[2.787175] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155\x1b[m\x1b[K,\n'}
[2.787320] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1\x1b[m\x1b[K:\n'}
[2.787368] (service_server) StderrLine: {'line': b'/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of \xe2\x80\x98\x1b[01m\x1b[Kvoid rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]\x1b[m\x1b[K\xe2\x80\x99:\n'}
[2.787417] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Ktypename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.787465] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Ktypename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.787507] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:16:54:\x1b[m\x1b[K required from here\n'}
[2.787546] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:103:17:\x1b[m\x1b[K \x1b[01;31m\x1b[Kerror: \x1b[m\x1b[Kno match for \xe2\x80\x98\x1b[01m\x1b[Koperator=\x1b[m\x1b[K\xe2\x80\x99 (operand types are \xe2\x80\x98\x1b[01m\x1b[Kstd::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >\x1b[m\x1b[K\xe2\x80\x99 and \xe2\x80\x98\x1b[01m\x1b[Kstd::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>\x1b[m\x1b[K\xe2\x80\x99)\n'}
[2.787595] (service_server) StderrLine: {'line': b' 103 | \x1b[01;31m\x1b[Kcallback_ = std::forward<CallbackT>(callback)\x1b[m\x1b[K;\n'}
[2.787630] (service_server) StderrLine: {'line': b' | \x1b[01;31m\x1b[K~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\x1b[m\x1b[K\n'}
[2.787665] (service_server) StderrLine: {'line': b'In file included from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28\x1b[m\x1b[K,\n'}
[2.787700] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24\x1b[m\x1b[K,\n'}
[2.787750] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20\x1b[m\x1b[K,\n'}
[2.787834] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25\x1b[m\x1b[K,\n'}
[2.787877] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18\x1b[m\x1b[K,\n'}
[2.787920] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20\x1b[m\x1b[K,\n'}
[2.787956] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37\x1b[m\x1b[K,\n'}
[2.787993] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25\x1b[m\x1b[K,\n'}
[2.788031] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21\x1b[m\x1b[K,\n'}
[2.788069] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155\x1b[m\x1b[K,\n'}
[2.788104] (service_server) StderrLine: {'line': b' from \x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1\x1b[m\x1b[K:\n'}
[2.788139] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1461:9:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[Kcandidate: \xe2\x80\x98\x1b[01m\x1b[Ktemplate<class _Tp> std::enable_if_t<((__exactly_once<std::variant<_Types>::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type> > && is_constructible_v<std::variant<_Types>::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>, _Tp>) && is_assignable_v<std::variant<_Types>::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>&, _Tp>), std::variant<_Types>&> std::variant<_Types>::operator=(_Tp&&) [with _Tp = _Tp; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.788188] (service_server) StderrLine: {'line': b' 1461 | \x1b[01;36m\x1b[Koperator\x1b[m\x1b[K=(_Tp&& __rhs)\n'}
[2.788227] (service_server) StderrLine: {'line': b' | \x1b[01;36m\x1b[K^~~~~~~~\x1b[m\x1b[K\n'}
[2.788262] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1461:9:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[K template argument deduction/substitution failed:\n'}
[2.788321] (service_server) StderrLine: {'line': b'/usr/include/c++/11/variant: In substitution of \xe2\x80\x98\x1b[01m\x1b[Ktemplate<class ... _Types> template<class _Tp, class> using __accepted_type = std::variant<_Types>::__to_type<__accepted_index<_Tp> > [with _Tp = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>&&; <template-parameter-2-2> = void; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]\x1b[m\x1b[K\xe2\x80\x99:\n'}
[2.788469] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1457:14:\x1b[m\x1b[K required by substitution of \xe2\x80\x98\x1b[01m\x1b[Ktemplate<class _Tp> std::enable_if_t<((__exactly_once<std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type> > && is_constructible_v<std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>, _Tp>) && is_assignable_v<std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>&, _Tp>), std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >&> std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::operator=<_Tp>(_Tp&&) [with _Tp = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.788537] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:103:17:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Kvoid rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.788579] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Ktypename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.788622] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Ktypename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.788667] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:16:54:\x1b[m\x1b[K required from here\n'}
[2.788703] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1375:15:\x1b[m\x1b[K \x1b[01;31m\x1b[Kerror: \x1b[m\x1b[Kno type named \xe2\x80\x98\x1b[01m\x1b[Ktype\x1b[m\x1b[K\xe2\x80\x99 in \xe2\x80\x98\x1b[01m\x1b[Kstruct std::enable_if<false, void>\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.788740] (service_server) StderrLine: {'line': b' 1375 | using \x1b[01;31m\x1b[K__accepted_type\x1b[m\x1b[K = __to_type<__accepted_index<_Tp>>;\n'}
[2.788776] (service_server) StderrLine: {'line': b' | \x1b[01;31m\x1b[K^~~~~~~~~~~~~~~\x1b[m\x1b[K\n'}
[2.788825] (service_server) StderrLine: {'line': b'/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of \xe2\x80\x98\x1b[01m\x1b[Kvoid rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]\x1b[m\x1b[K\xe2\x80\x99:\n'}
[2.788873] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Ktypename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.788916] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53:\x1b[m\x1b[K required from \xe2\x80\x98\x1b[01m\x1b[Ktypename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.788958] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:16:54:\x1b[m\x1b[K required from here\n'}
[2.788999] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1398:16:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[Kcandidate: \xe2\x80\x98\x1b[01m\x1b[Kstd::variant<_Types>& std::variant<_Types>::operator=(const std::variant<_Types>&) [with _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.789039] (service_server) StderrLine: {'line': b' 1398 | variant& \x1b[01;36m\x1b[Koperator\x1b[m\x1b[K=(const variant&) = default;\n'}
[2.789075] (service_server) StderrLine: {'line': b' | \x1b[01;36m\x1b[K^~~~~~~~\x1b[m\x1b[K\n'}
[2.789109] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1398:26:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[K no known conversion for argument 1 from \xe2\x80\x98\x1b[01m\x1b[Kstd::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>\x1b[m\x1b[K\xe2\x80\x99 to \xe2\x80\x98\x1b[01m\x1b[Kconst std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >&\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.789163] (service_server) StderrLine: {'line': b' 1398 | variant& operator=(\x1b[01;36m\x1b[Kconst variant&\x1b[m\x1b[K) = default;\n'}
[2.789200] (service_server) StderrLine: {'line': b' | \x1b[01;36m\x1b[K^~~~~~~~~~~~~~\x1b[m\x1b[K\n'}
[2.789242] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1399:16:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[Kcandidate: \xe2\x80\x98\x1b[01m\x1b[Kstd::variant<_Types>& std::variant<_Types>::operator=(std::variant<_Types>&&) [with _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.789283] (service_server) StderrLine: {'line': b' 1399 | variant& \x1b[01;36m\x1b[Koperator\x1b[m\x1b[K=(variant&&) = default;\n'}
[2.789318] (service_server) StderrLine: {'line': b' | \x1b[01;36m\x1b[K^~~~~~~~\x1b[m\x1b[K\n'}
[2.789440] (service_server) StderrLine: {'line': b'\x1b[01m\x1b[K/usr/include/c++/11/variant:1399:26:\x1b[m\x1b[K \x1b[01;36m\x1b[Knote: \x1b[m\x1b[K no known conversion for argument 1 from \xe2\x80\x98\x1b[01m\x1b[Kstd::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>\x1b[m\x1b[K\xe2\x80\x99 to \xe2\x80\x98\x1b[01m\x1b[Kstd::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >&&\x1b[m\x1b[K\xe2\x80\x99\n'}
[2.789534] (service_server) StderrLine: {'line': b' 1399 | variant& operator=(\x1b[01;36m\x1b[Kvariant&&\x1b[m\x1b[K) = default;\n'}
[2.789572] (service_server) StderrLine: {'line': b' | \x1b[01;36m\x1b[K^~~~~~~~~\x1b[m\x1b[K\n'}
[2.817330] (-) TimerEvent: {}
[2.918021] (-) TimerEvent: {}
[3.018538] (-) TimerEvent: {}
[3.119106] (-) TimerEvent: {}
[3.219720] (-) TimerEvent: {}
[3.252914] (service_server) StderrLine: {'line': b'gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1\n'}
[3.253192] (service_server) StderrLine: {'line': b'gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2\n'}
[3.253475] (service_server) StderrLine: {'line': b'gmake: *** [Makefile:146: all] Error 2\n'}
[3.255762] (service_server) CommandEnded: {'returncode': 2}
[3.267527] (service_server) JobEnded: {'identifier': 'service_server', 'rc': 2}
[3.278278] (-) EventReactorShutdown: {}

View File

@@ -0,0 +1,83 @@
[0.264s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.264s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=16, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x70db01326da0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x70db01326830>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x70db01326830>>)
[0.401s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.401s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.401s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.401s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.401s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.401s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.401s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/quella/ROS2Demo/service/service_server'
[0.401s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.401s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.401s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.401s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.401s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.401s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.401s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.401s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.401s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.416s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_cmake' and name 'service_server'
[0.416s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.416s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.416s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.416s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.416s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.451s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.451s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.487s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 271 installed packages in /opt/ros/humble
[0.488s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[2.148s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_args' from command line to 'None'
[2.148s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target' from command line to 'None'
[2.148s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[2.148s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_cache' from command line to 'False'
[2.148s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_first' from command line to 'False'
[2.148s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_force_configure' from command line to 'False'
[2.148s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'ament_cmake_args' from command line to 'None'
[2.148s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_cmake_args' from command line to 'None'
[2.148s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_skip_building_tests' from command line to 'False'
[2.149s] DEBUG:colcon.colcon_core.verb:Building package 'service_server' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/quella/ROS2Demo/service/service_server/install/service_server', 'merge_install': False, 'path': '/home/quella/ROS2Demo/service/service_server', 'symlink_install': False, 'test_result_base': None}
[2.149s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[2.150s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[2.150s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/quella/ROS2Demo/service/service_server' with build type 'ament_cmake'
[2.150s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/quella/ROS2Demo/service/service_server'
[2.152s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[2.152s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[2.152s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[2.160s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[5.406s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[5.407s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[5.409s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[5.409s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[5.410s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[5.410s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[5.411s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[5.412s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[5.413s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[5.413s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[5.413s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[5.413s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[5.413s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[5.414s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[5.415s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[5.415s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[5.416s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[5.417s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[5.417s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[5.428s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[5.428s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[5.428s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '2'
[5.428s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[5.434s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[5.434s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[5.434s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[5.516s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[5.517s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.ps1'
[5.518s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_ps1.py'
[5.519s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.ps1'
[5.520s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.sh'
[5.521s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_sh.py'
[5.522s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.sh'
[5.523s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.bash'
[5.523s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.bash'
[5.524s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.zsh'
[5.525s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.zsh'

View File

@@ -0,0 +1,2 @@
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16

View File

@@ -0,0 +1,61 @@
In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]:
/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:16:54: required from here
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:103:17: error: no match for operator= (operand types are std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> > and std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>)
103 | callback_ = std::forward<CallbackT>(callback);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/usr/include/c++/11/variant:1461:9: note: candidate: template<class _Tp> std::enable_if_t<((__exactly_once<std::variant<_Types>::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type> > && is_constructible_v<std::variant<_Types>::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>, _Tp>) && is_assignable_v<std::variant<_Types>::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>&, _Tp>), std::variant<_Types>&> std::variant<_Types>::operator=(_Tp&&) [with _Tp = _Tp; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
1461 | operator=(_Tp&& __rhs)
| ^~~~~~~~
/usr/include/c++/11/variant:1461:9: note:  template argument deduction/substitution failed:
/usr/include/c++/11/variant: In substitution of template<class ... _Types> template<class _Tp, class> using __accepted_type = std::variant<_Types>::__to_type<__accepted_index<_Tp> > [with _Tp = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>&&; <template-parameter-2-2> = void; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]:
/usr/include/c++/11/variant:1457:14: required by substitution of template<class _Tp> std::enable_if_t<((__exactly_once<std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type> > && is_constructible_v<std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>, _Tp>) && is_assignable_v<std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>&, _Tp>), std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >&> std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::operator=<_Tp>(_Tp&&) [with _Tp = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>]
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:103:17: required from void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]
/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:16:54: required from here
/usr/include/c++/11/variant:1375:15: error: no type named type in struct std::enable_if<false, void>
1375 | using __accepted_type = __to_type<__accepted_index<_Tp>>;
| ^~~~~~~~~~~~~~~
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]:
/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:16:54: required from here
/usr/include/c++/11/variant:1398:16: note: candidate: std::variant<_Types>& std::variant<_Types>::operator=(const std::variant<_Types>&) [with _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
1398 | variant& operator=(const variant&) = default;
| ^~~~~~~~
/usr/include/c++/11/variant:1398:26: note:  no known conversion for argument 1 from std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)> to const std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >&
1398 | variant& operator=(const variant&) = default;
| ^~~~~~~~~~~~~~
/usr/include/c++/11/variant:1399:16: note: candidate: std::variant<_Types>& std::variant<_Types>::operator=(std::variant<_Types>&&) [with _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
1399 | variant& operator=(variant&&) = default;
| ^~~~~~~~
/usr/include/c++/11/variant:1399:26: note:  no known conversion for argument 1 from std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)> to std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >&&
1399 | variant& operator=(variant&&) = default;
| ^~~~~~~~~
gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

View File

@@ -0,0 +1,2 @@
Consolidate compiler generated dependencies of target turtle_contrl
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o

View File

@@ -0,0 +1,63 @@
Consolidate compiler generated dependencies of target turtle_contrl
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]:
/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:16:54: required from here
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:103:17: error: no match for operator= (operand types are std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> > and std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>)
103 | callback_ = std::forward<CallbackT>(callback);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
/usr/include/c++/11/variant:1461:9: note: candidate: template<class _Tp> std::enable_if_t<((__exactly_once<std::variant<_Types>::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type> > && is_constructible_v<std::variant<_Types>::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>, _Tp>) && is_assignable_v<std::variant<_Types>::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>&, _Tp>), std::variant<_Types>&> std::variant<_Types>::operator=(_Tp&&) [with _Tp = _Tp; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
1461 | operator=(_Tp&& __rhs)
| ^~~~~~~~
/usr/include/c++/11/variant:1461:9: note:  template argument deduction/substitution failed:
/usr/include/c++/11/variant: In substitution of template<class ... _Types> template<class _Tp, class> using __accepted_type = std::variant<_Types>::__to_type<__accepted_index<_Tp> > [with _Tp = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>&&; <template-parameter-2-2> = void; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]:
/usr/include/c++/11/variant:1457:14: required by substitution of template<class _Tp> std::enable_if_t<((__exactly_once<std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type> > && is_constructible_v<std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>, _Tp>) && is_assignable_v<std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>&, _Tp>), std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >&> std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::operator=<_Tp>(_Tp&&) [with _Tp = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>]
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:103:17: required from void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]
/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:16:54: required from here
/usr/include/c++/11/variant:1375:15: error: no type named type in struct std::enable_if<false, void>
1375 | using __accepted_type = __to_type<__accepted_index<_Tp>>;
| ^~~~~~~~~~~~~~~
/opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]:
/opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
/home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:16:54: required from here
/usr/include/c++/11/variant:1398:16: note: candidate: std::variant<_Types>& std::variant<_Types>::operator=(const std::variant<_Types>&) [with _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
1398 | variant& operator=(const variant&) = default;
| ^~~~~~~~
/usr/include/c++/11/variant:1398:26: note:  no known conversion for argument 1 from std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)> to const std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >&
1398 | variant& operator=(const variant&) = default;
| ^~~~~~~~~~~~~~
/usr/include/c++/11/variant:1399:16: note: candidate: std::variant<_Types>& std::variant<_Types>::operator=(std::variant<_Types>&&) [with _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
1399 | variant& operator=(variant&&) = default;
| ^~~~~~~~
/usr/include/c++/11/variant:1399:26: note:  no known conversion for argument 1 from std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)> to std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >&&
1399 | variant& operator=(variant&&) = default;
| ^~~~~~~~~
gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

View File

@@ -0,0 +1,65 @@
[0.009s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[0.274s] Consolidate compiler generated dependencies of target turtle_contrl
[0.294s] [ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[2.786s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/service.hpp:36,
[2.786s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:28,
[2.787s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.787s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.787s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.787s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.787s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.787s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.787s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.787s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.787s] from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
[2.787s] /opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]:
[2.787s] /opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
[2.787s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
[2.787s] /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:16:54: required from here
[2.787s] /opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:103:17: error: no match for operator= (operand types are std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> > and std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>)
[2.787s] 103 | callback_ = std::forward<CallbackT>(callback);
[2.787s] | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2.787s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28,
[2.787s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.787s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.788s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.788s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.788s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.788s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.788s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.788s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.788s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.788s] from /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:1:
[2.788s] /usr/include/c++/11/variant:1461:9: note: candidate: template<class _Tp> std::enable_if_t<((__exactly_once<std::variant<_Types>::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type> > && is_constructible_v<std::variant<_Types>::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>, _Tp>) && is_assignable_v<std::variant<_Types>::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>&, _Tp>), std::variant<_Types>&> std::variant<_Types>::operator=(_Tp&&) [with _Tp = _Tp; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
[2.788s] 1461 | operator=(_Tp&& __rhs)
[2.788s] | ^~~~~~~~
[2.788s] /usr/include/c++/11/variant:1461:9: note:  template argument deduction/substitution failed:
[2.788s] /usr/include/c++/11/variant: In substitution of template<class ... _Types> template<class _Tp, class> using __accepted_type = std::variant<_Types>::__to_type<__accepted_index<_Tp> > [with _Tp = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>&&; <template-parameter-2-2> = void; _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]:
[2.788s] /usr/include/c++/11/variant:1457:14: required by substitution of template<class _Tp> std::enable_if_t<((__exactly_once<std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type> > && is_constructible_v<std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>, _Tp>) && is_assignable_v<std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>&, _Tp>), std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >&> std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >::operator=<_Tp>(_Tp&&) [with _Tp = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>]
[2.788s] /opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp:103:17: required from void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]
[2.788s] /opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
[2.788s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
[2.788s] /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:16:54: required from here
[2.788s] /usr/include/c++/11/variant:1375:15: error: no type named type in struct std::enable_if<false, void>
[2.788s] 1375 | using __accepted_type = __to_type<__accepted_index<_Tp>>;
[2.788s] | ^~~~~~~~~~~~~~~
[2.789s] /opt/ros/humble/include/rclcpp/rclcpp/any_service_callback.hpp: In instantiation of void rclcpp::AnyServiceCallback<ServiceT>::set(CallbackT&&) [with CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename std::enable_if<(! rclcpp::detail::can_be_nullptr<CallbackT>::value), int>::type <anonymous> = 0; ServiceT = service_interfaces::srv::Patrol]:
[2.789s] /opt/ros/humble/include/rclcpp/rclcpp/create_service.hpp:43:27: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::create_service(std::shared_ptr<rclcpp::node_interfaces::NodeBaseInterface>, std::shared_ptr<rclcpp::node_interfaces::NodeServicesInterface>, const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
[2.789s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:147:53: required from typename rclcpp::Service<ServiceT>::SharedPtr rclcpp::Node::create_service(const string&, CallbackT&&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr) [with ServiceT = service_interfaces::srv::Patrol; CallbackT = std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)>; typename rclcpp::Service<ServiceT>::SharedPtr = std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >; std::string = std::__cxx11::basic_string<char>; rmw_qos_profile_t = rmw_qos_profile_s; rclcpp::CallbackGroup::SharedPtr = std::shared_ptr<rclcpp::CallbackGroup>]
[2.789s] /home/quella/ROS2Demo/service/service_server/src/turtle_contrl.cpp:16:54: required from here
[2.789s] /usr/include/c++/11/variant:1398:16: note: candidate: std::variant<_Types>& std::variant<_Types>::operator=(const std::variant<_Types>&) [with _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
[2.789s] 1398 | variant& operator=(const variant&) = default;
[2.789s] | ^~~~~~~~
[2.789s] /usr/include/c++/11/variant:1398:26: note:  no known conversion for argument 1 from std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)> to const std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >&
[2.789s] 1398 | variant& operator=(const variant&) = default;
[2.789s] | ^~~~~~~~~~~~~~
[2.789s] /usr/include/c++/11/variant:1399:16: note: candidate: std::variant<_Types>& std::variant<_Types>::operator=(std::variant<_Types>&&) [with _Types = {std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>}]
[2.789s] 1399 | variant& operator=(variant&&) = default;
[2.789s] | ^~~~~~~~
[2.789s] /usr/include/c++/11/variant:1399:26: note:  no known conversion for argument 1 from std::_Bind<void (TurtleController::*(TurtleController*, std::_Placeholder<1>, std::_Placeholder<2>, std::_Placeholder<3>))(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >, std::shared_ptr<turtlesim::msg::Pose_<std::allocator<void> > >)> to std::variant<std::monostate, std::function<void(std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >, std::shared_ptr<service_interfaces::srv::Patrol_Response_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)>, std::function<void(std::shared_ptr<rclcpp::Service<service_interfaces::srv::Patrol> >, std::shared_ptr<rmw_request_id_s>, std::shared_ptr<service_interfaces::srv::Patrol_Request_<std::allocator<void> > >)> >&&
[2.789s] 1399 | variant& operator=(variant&&) = default;
[2.789s] | ^~~~~~~~~
[3.253s] gmake[2]: *** [CMakeFiles/turtle_contrl.dir/build.make:76: CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o] Error 1
[3.253s] gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/turtle_contrl.dir/all] Error 2
[3.253s] gmake: *** [Makefile:146: all] Error 2
[3.256s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '2': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16

View File

@@ -0,0 +1,78 @@
[0.000000] (-) TimerEvent: {}
[0.000202] (service_server) JobQueued: {'identifier': 'service_server', 'dependencies': OrderedDict()}
[0.000261] (service_server) JobStarted: {'identifier': 'service_server'}
[0.006621] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'cmake'}
[0.008297] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'build'}
[0.008382] (service_server) Command: {'cmd': ['/usr/bin/cmake', '--build', '/home/quella/ROS2Demo/service/service_server/build/service_server', '--', '-j16', '-l16'], 'cwd': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'env': OrderedDict([('LESSOPEN', '| /usr/bin/lesspipe %s'), ('LANGUAGE', 'zh_CN:en'), ('USER', 'quella'), ('SSH_CLIENT', '192.168.138.1 56885 22'), ('LC_TIME', 'zh_CN.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('GIT_ASKPASS', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass.sh'), ('SHLVL', '1'), ('LD_LIBRARY_PATH', '/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib'), ('BROWSER', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/helpers/browser.sh'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/quella'), ('OLDPWD', '/home/quella/ROS2Demo/service'), ('TERM_PROGRAM_VERSION', '1.102.3'), ('VSCODE_IPC_HOOK_CLI', '/run/user/1000/vscode-ipc-701649cf-a59b-4d57-8f34-46f3987c9e4c.sock'), ('ROS_PYTHON_VERSION', '3'), ('VSCODE_GIT_ASKPASS_MAIN', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass-main.js'), ('LC_MONETARY', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_NODE', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/node'), ('SSL_CERT_FILE', '/usr/lib/ssl/certs/ca-certificates.crt'), ('DBUS_SESSION_BUS_ADDRESS', 'unix:path=/run/user/1000/bus'), ('COLORTERM', 'truecolor'), ('ROS_DISTRO', 'humble'), ('LOGNAME', 'quella'), ('_', '/usr/bin/colcon'), ('ROS_VERSION', '2'), ('XDG_SESSION_CLASS', 'user'), ('TERM', 'xterm-256color'), ('XDG_SESSION_ID', '48'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/remote-cli:/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/quella/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand'), ('PAPERSIZE', 'a4'), ('LC_ADDRESS', 'zh_CN.UTF-8'), ('XDG_RUNTIME_DIR', '/run/user/1000'), ('SSL_CERT_DIR', '/usr/lib/ssl/certs'), ('LANG', 'zh_CN.UTF-8'), ('LC_TELEPHONE', 'zh_CN.UTF-8'), ('LS_COLORS', 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'), ('VSCODE_GIT_IPC_HANDLE', '/run/user/1000/vscode-git-f2cad408e9.sock'), ('TERM_PROGRAM', 'vscode'), ('AMENT_PREFIX_PATH', '/opt/ros/humble'), ('SHELL', '/bin/bash'), ('LC_NAME', 'zh_CN.UTF-8'), ('LESSCLOSE', '/usr/bin/lesspipe %s %s'), ('LC_MEASUREMENT', 'zh_CN.UTF-8'), ('LC_IDENTIFICATION', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_EXTRA_ARGS', ''), ('PWD', '/home/quella/ROS2Demo/service/service_server/build/service_server'), ('SSH_CONNECTION', '192.168.138.1 56885 192.168.138.137 22'), ('XDG_DATA_DIRS', '/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop'), ('PYTHONPATH', '/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages'), ('LC_NUMERIC', 'zh_CN.UTF-8'), ('LC_PAPER', 'zh_CN.UTF-8'), ('COLCON', '1'), ('CMAKE_PREFIX_PATH', '/opt/ros/humble')]), 'shell': False}
[0.059679] (service_server) StdoutLine: {'line': b'\x1b[35m\x1b[1mConsolidate compiler generated dependencies of target turtle_contrl\x1b[0m\n'}
[0.081373] (service_server) StdoutLine: {'line': b'[ 50%] \x1b[32mBuilding CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o\x1b[0m\n'}
[0.097710] (-) TimerEvent: {}
[0.198670] (-) TimerEvent: {}
[0.299170] (-) TimerEvent: {}
[0.399722] (-) TimerEvent: {}
[0.500154] (-) TimerEvent: {}
[0.600618] (-) TimerEvent: {}
[0.701370] (-) TimerEvent: {}
[0.802004] (-) TimerEvent: {}
[0.902415] (-) TimerEvent: {}
[1.003178] (-) TimerEvent: {}
[1.103733] (-) TimerEvent: {}
[1.204651] (-) TimerEvent: {}
[1.305489] (-) TimerEvent: {}
[1.406062] (-) TimerEvent: {}
[1.506670] (-) TimerEvent: {}
[1.607391] (-) TimerEvent: {}
[1.707943] (-) TimerEvent: {}
[1.808536] (-) TimerEvent: {}
[1.909263] (-) TimerEvent: {}
[2.010028] (-) TimerEvent: {}
[2.110885] (-) TimerEvent: {}
[2.211635] (-) TimerEvent: {}
[2.312268] (-) TimerEvent: {}
[2.412920] (-) TimerEvent: {}
[2.513345] (-) TimerEvent: {}
[2.614211] (-) TimerEvent: {}
[2.715173] (-) TimerEvent: {}
[2.815514] (-) TimerEvent: {}
[2.916053] (-) TimerEvent: {}
[3.016689] (-) TimerEvent: {}
[3.117376] (-) TimerEvent: {}
[3.217980] (-) TimerEvent: {}
[3.318475] (-) TimerEvent: {}
[3.419184] (-) TimerEvent: {}
[3.519675] (-) TimerEvent: {}
[3.620165] (-) TimerEvent: {}
[3.721219] (-) TimerEvent: {}
[3.822293] (-) TimerEvent: {}
[3.922779] (-) TimerEvent: {}
[4.023919] (-) TimerEvent: {}
[4.124337] (-) TimerEvent: {}
[4.224742] (-) TimerEvent: {}
[4.241339] (service_server) StdoutLine: {'line': b'[100%] \x1b[32m\x1b[1mLinking CXX executable turtle_contrl\x1b[0m\n'}
[4.325044] (-) TimerEvent: {}
[4.425561] (-) TimerEvent: {}
[4.461614] (service_server) StdoutLine: {'line': b'[100%] Built target turtle_contrl\n'}
[4.474630] (service_server) CommandEnded: {'returncode': 0}
[4.475781] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'install'}
[4.486176] (service_server) Command: {'cmd': ['/usr/bin/cmake', '--install', '/home/quella/ROS2Demo/service/service_server/build/service_server'], 'cwd': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'env': OrderedDict([('LESSOPEN', '| /usr/bin/lesspipe %s'), ('LANGUAGE', 'zh_CN:en'), ('USER', 'quella'), ('SSH_CLIENT', '192.168.138.1 56885 22'), ('LC_TIME', 'zh_CN.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('GIT_ASKPASS', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass.sh'), ('SHLVL', '1'), ('LD_LIBRARY_PATH', '/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib'), ('BROWSER', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/helpers/browser.sh'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/quella'), ('OLDPWD', '/home/quella/ROS2Demo/service'), ('TERM_PROGRAM_VERSION', '1.102.3'), ('VSCODE_IPC_HOOK_CLI', '/run/user/1000/vscode-ipc-701649cf-a59b-4d57-8f34-46f3987c9e4c.sock'), ('ROS_PYTHON_VERSION', '3'), ('VSCODE_GIT_ASKPASS_MAIN', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass-main.js'), ('LC_MONETARY', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_NODE', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/node'), ('SSL_CERT_FILE', '/usr/lib/ssl/certs/ca-certificates.crt'), ('DBUS_SESSION_BUS_ADDRESS', 'unix:path=/run/user/1000/bus'), ('COLORTERM', 'truecolor'), ('ROS_DISTRO', 'humble'), ('LOGNAME', 'quella'), ('_', '/usr/bin/colcon'), ('ROS_VERSION', '2'), ('XDG_SESSION_CLASS', 'user'), ('TERM', 'xterm-256color'), ('XDG_SESSION_ID', '48'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/remote-cli:/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/quella/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand'), ('PAPERSIZE', 'a4'), ('LC_ADDRESS', 'zh_CN.UTF-8'), ('XDG_RUNTIME_DIR', '/run/user/1000'), ('SSL_CERT_DIR', '/usr/lib/ssl/certs'), ('LANG', 'zh_CN.UTF-8'), ('LC_TELEPHONE', 'zh_CN.UTF-8'), ('LS_COLORS', 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'), ('VSCODE_GIT_IPC_HANDLE', '/run/user/1000/vscode-git-f2cad408e9.sock'), ('TERM_PROGRAM', 'vscode'), ('AMENT_PREFIX_PATH', '/opt/ros/humble'), ('SHELL', '/bin/bash'), ('LC_NAME', 'zh_CN.UTF-8'), ('LESSCLOSE', '/usr/bin/lesspipe %s %s'), ('LC_MEASUREMENT', 'zh_CN.UTF-8'), ('LC_IDENTIFICATION', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_EXTRA_ARGS', ''), ('PWD', '/home/quella/ROS2Demo/service/service_server/build/service_server'), ('SSH_CONNECTION', '192.168.138.1 56885 192.168.138.137 22'), ('XDG_DATA_DIRS', '/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop'), ('PYTHONPATH', '/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages'), ('LC_NUMERIC', 'zh_CN.UTF-8'), ('LC_PAPER', 'zh_CN.UTF-8'), ('COLCON', '1'), ('CMAKE_PREFIX_PATH', '/opt/ros/humble')]), 'shell': False}
[4.494331] (service_server) StdoutLine: {'line': b'-- Install configuration: ""\n'}
[4.494555] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl\n'}
[4.495194] (service_server) StdoutLine: {'line': b'-- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""\n'}
[4.495446] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server\n'}
[4.495635] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server\n'}
[4.495746] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh\n'}
[4.495901] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv\n'}
[4.496051] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh\n'}
[4.496292] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv\n'}
[4.496350] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash\n'}
[4.496393] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh\n'}
[4.496463] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh\n'}
[4.496508] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv\n'}
[4.496547] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv\n'}
[4.496810] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server\n'}
[4.496886] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake\n'}
[4.496931] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake\n'}
[4.496972] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml\n'}
[4.498141] (service_server) CommandEnded: {'returncode': 0}
[4.514350] (service_server) JobEnded: {'identifier': 'service_server', 'rc': 0}
[4.515228] (-) EventReactorShutdown: {}

View File

@@ -0,0 +1,103 @@
[0.082s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.082s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=16, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x7a6b5622ada0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x7a6b5622a830>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x7a6b5622a830>>)
[0.202s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.202s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.202s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.202s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.202s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.203s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.203s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/quella/ROS2Demo/service/service_server'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.203s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.214s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_cmake' and name 'service_server'
[0.214s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.214s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.214s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.214s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.214s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.230s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.230s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.232s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 271 installed packages in /opt/ros/humble
[0.233s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.268s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_args' from command line to 'None'
[0.269s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target' from command line to 'None'
[0.269s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.269s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_cache' from command line to 'False'
[0.269s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_first' from command line to 'False'
[0.269s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_force_configure' from command line to 'False'
[0.269s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'ament_cmake_args' from command line to 'None'
[0.269s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_cmake_args' from command line to 'None'
[0.269s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.269s] DEBUG:colcon.colcon_core.verb:Building package 'service_server' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/quella/ROS2Demo/service/service_server/install/service_server', 'merge_install': False, 'path': '/home/quella/ROS2Demo/service/service_server', 'symlink_install': False, 'test_result_base': None}
[0.269s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.270s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.270s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/quella/ROS2Demo/service/service_server' with build type 'ament_cmake'
[0.270s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/quella/ROS2Demo/service/service_server'
[0.272s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.272s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.272s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[0.282s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[4.748s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[4.760s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[4.771s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[4.771s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[4.773s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[4.773s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[4.773s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[4.774s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[4.774s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[4.775s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[4.776s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[4.776s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[4.776s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[4.776s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[4.776s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[4.777s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[4.777s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[4.778s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[4.779s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[4.779s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[4.780s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[4.781s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[4.781s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[4.781s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[4.781s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[4.782s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[4.782s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[4.782s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[4.783s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[4.783s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[4.783s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[4.784s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[4.784s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[4.784s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[4.785s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[4.785s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[4.786s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[4.786s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[4.787s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[4.788s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[4.788s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[4.788s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '0'
[4.788s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[4.792s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[4.792s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[4.792s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[4.809s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[4.810s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.ps1'
[4.811s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_ps1.py'
[4.812s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.ps1'
[4.813s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.sh'
[4.814s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_sh.py'
[4.815s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.sh'
[4.816s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.bash'
[4.817s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.bash'
[4.818s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.zsh'
[4.819s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.zsh'

View File

@@ -0,0 +1,4 @@
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server

View File

@@ -0,0 +1,22 @@
Consolidate compiler generated dependencies of target turtle_contrl
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[100%] Linking CXX executable turtle_contrl
[100%] Built target turtle_contrl
-- Install configuration: ""
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
-- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml

View File

@@ -0,0 +1,22 @@
Consolidate compiler generated dependencies of target turtle_contrl
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[100%] Linking CXX executable turtle_contrl
[100%] Built target turtle_contrl
-- Install configuration: ""
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
-- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml

View File

@@ -0,0 +1,26 @@
[0.009s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[0.059s] Consolidate compiler generated dependencies of target turtle_contrl
[0.081s] [ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[4.241s] [100%] Linking CXX executable turtle_contrl
[4.461s] [100%] Built target turtle_contrl
[4.474s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[4.486s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[4.494s] -- Install configuration: ""
[4.494s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
[4.495s] -- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
[4.495s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
[4.495s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
[4.495s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
[4.496s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
[4.496s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
[4.496s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
[4.496s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
[4.496s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
[4.496s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
[4.496s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
[4.496s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
[4.496s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
[4.497s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
[4.497s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
[4.497s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml
[4.498s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server

View File

@@ -0,0 +1,114 @@
[0.000000] (-) TimerEvent: {}
[0.000183] (service_server) JobQueued: {'identifier': 'service_server', 'dependencies': OrderedDict()}
[0.000214] (service_server) JobStarted: {'identifier': 'service_server'}
[0.008561] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'cmake'}
[0.009900] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'build'}
[0.009981] (service_server) Command: {'cmd': ['/usr/bin/cmake', '--build', '/home/quella/ROS2Demo/service/service_server/build/service_server', '--', '-j16', '-l16'], 'cwd': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'env': OrderedDict([('LESSOPEN', '| /usr/bin/lesspipe %s'), ('LANGUAGE', 'zh_CN:en'), ('USER', 'quella'), ('SSH_CLIENT', '192.168.138.1 56885 22'), ('LC_TIME', 'zh_CN.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('GIT_ASKPASS', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass.sh'), ('SHLVL', '1'), ('LD_LIBRARY_PATH', '/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib'), ('BROWSER', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/helpers/browser.sh'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/quella'), ('OLDPWD', '/home/quella/ROS2Demo/service'), ('TERM_PROGRAM_VERSION', '1.102.3'), ('VSCODE_IPC_HOOK_CLI', '/run/user/1000/vscode-ipc-701649cf-a59b-4d57-8f34-46f3987c9e4c.sock'), ('ROS_PYTHON_VERSION', '3'), ('VSCODE_GIT_ASKPASS_MAIN', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass-main.js'), ('LC_MONETARY', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_NODE', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/node'), ('SSL_CERT_FILE', '/usr/lib/ssl/certs/ca-certificates.crt'), ('DBUS_SESSION_BUS_ADDRESS', 'unix:path=/run/user/1000/bus'), ('COLORTERM', 'truecolor'), ('ROS_DISTRO', 'humble'), ('LOGNAME', 'quella'), ('_', '/usr/bin/colcon'), ('ROS_VERSION', '2'), ('XDG_SESSION_CLASS', 'user'), ('TERM', 'xterm-256color'), ('XDG_SESSION_ID', '48'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/remote-cli:/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/quella/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand'), ('PAPERSIZE', 'a4'), ('LC_ADDRESS', 'zh_CN.UTF-8'), ('XDG_RUNTIME_DIR', '/run/user/1000'), ('SSL_CERT_DIR', '/usr/lib/ssl/certs'), ('LANG', 'zh_CN.UTF-8'), ('LC_TELEPHONE', 'zh_CN.UTF-8'), ('LS_COLORS', 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'), ('VSCODE_GIT_IPC_HANDLE', '/run/user/1000/vscode-git-f2cad408e9.sock'), ('TERM_PROGRAM', 'vscode'), ('AMENT_PREFIX_PATH', '/opt/ros/humble'), ('SHELL', '/bin/bash'), ('LC_NAME', 'zh_CN.UTF-8'), ('LESSCLOSE', '/usr/bin/lesspipe %s %s'), ('LC_MEASUREMENT', 'zh_CN.UTF-8'), ('LC_IDENTIFICATION', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_EXTRA_ARGS', ''), ('PWD', '/home/quella/ROS2Demo/service/service_server/build/service_server'), ('SSH_CONNECTION', '192.168.138.1 56885 192.168.138.137 22'), ('XDG_DATA_DIRS', '/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop'), ('PYTHONPATH', '/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages'), ('LC_NUMERIC', 'zh_CN.UTF-8'), ('LC_PAPER', 'zh_CN.UTF-8'), ('COLCON', '1'), ('CMAKE_PREFIX_PATH', '/opt/ros/humble')]), 'shell': False}
[0.061592] (service_server) StdoutLine: {'line': b'\x1b[35m\x1b[1mConsolidate compiler generated dependencies of target turtle_contrl\x1b[0m\n'}
[0.084324] (service_server) StdoutLine: {'line': b'[ 50%] \x1b[32mBuilding CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o\x1b[0m\n'}
[0.098966] (-) TimerEvent: {}
[0.199432] (-) TimerEvent: {}
[0.299967] (-) TimerEvent: {}
[0.400350] (-) TimerEvent: {}
[0.500966] (-) TimerEvent: {}
[0.601752] (-) TimerEvent: {}
[0.702193] (-) TimerEvent: {}
[0.802728] (-) TimerEvent: {}
[0.903900] (-) TimerEvent: {}
[1.004344] (-) TimerEvent: {}
[1.104994] (-) TimerEvent: {}
[1.206199] (-) TimerEvent: {}
[1.307016] (-) TimerEvent: {}
[1.407796] (-) TimerEvent: {}
[1.508355] (-) TimerEvent: {}
[1.608949] (-) TimerEvent: {}
[1.709335] (-) TimerEvent: {}
[1.809710] (-) TimerEvent: {}
[1.910547] (-) TimerEvent: {}
[2.010934] (-) TimerEvent: {}
[2.111968] (-) TimerEvent: {}
[2.212807] (-) TimerEvent: {}
[2.313643] (-) TimerEvent: {}
[2.414060] (-) TimerEvent: {}
[2.514620] (-) TimerEvent: {}
[2.615208] (-) TimerEvent: {}
[2.715775] (-) TimerEvent: {}
[2.816582] (-) TimerEvent: {}
[2.916972] (-) TimerEvent: {}
[3.017709] (-) TimerEvent: {}
[3.118105] (-) TimerEvent: {}
[3.218645] (-) TimerEvent: {}
[3.319186] (-) TimerEvent: {}
[3.419993] (-) TimerEvent: {}
[3.520396] (-) TimerEvent: {}
[3.621364] (-) TimerEvent: {}
[3.722009] (-) TimerEvent: {}
[3.822696] (-) TimerEvent: {}
[3.923355] (-) TimerEvent: {}
[4.024165] (-) TimerEvent: {}
[4.124742] (-) TimerEvent: {}
[4.225591] (-) TimerEvent: {}
[4.326102] (-) TimerEvent: {}
[4.426956] (-) TimerEvent: {}
[4.527413] (-) TimerEvent: {}
[4.628138] (-) TimerEvent: {}
[4.728515] (-) TimerEvent: {}
[4.829024] (-) TimerEvent: {}
[4.930021] (-) TimerEvent: {}
[5.030771] (-) TimerEvent: {}
[5.131561] (-) TimerEvent: {}
[5.231978] (-) TimerEvent: {}
[5.332423] (-) TimerEvent: {}
[5.433634] (-) TimerEvent: {}
[5.534096] (-) TimerEvent: {}
[5.634850] (-) TimerEvent: {}
[5.735270] (-) TimerEvent: {}
[5.836132] (-) TimerEvent: {}
[5.936815] (-) TimerEvent: {}
[6.037299] (-) TimerEvent: {}
[6.137671] (-) TimerEvent: {}
[6.238374] (-) TimerEvent: {}
[6.339158] (-) TimerEvent: {}
[6.439768] (-) TimerEvent: {}
[6.540159] (-) TimerEvent: {}
[6.640666] (-) TimerEvent: {}
[6.741372] (-) TimerEvent: {}
[6.841855] (-) TimerEvent: {}
[6.942464] (-) TimerEvent: {}
[7.043185] (-) TimerEvent: {}
[7.144038] (-) TimerEvent: {}
[7.245261] (-) TimerEvent: {}
[7.346081] (-) TimerEvent: {}
[7.446486] (-) TimerEvent: {}
[7.547201] (-) TimerEvent: {}
[7.596552] (service_server) StdoutLine: {'line': b'[100%] \x1b[32m\x1b[1mLinking CXX executable turtle_contrl\x1b[0m\n'}
[7.647419] (-) TimerEvent: {}
[7.747972] (-) TimerEvent: {}
[7.848318] (-) TimerEvent: {}
[7.949189] (-) TimerEvent: {}
[8.049953] (-) TimerEvent: {}
[8.052584] (service_server) StdoutLine: {'line': b'[100%] Built target turtle_contrl\n'}
[8.065481] (service_server) CommandEnded: {'returncode': 0}
[8.066696] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'install'}
[8.078753] (service_server) Command: {'cmd': ['/usr/bin/cmake', '--install', '/home/quella/ROS2Demo/service/service_server/build/service_server'], 'cwd': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'env': OrderedDict([('LESSOPEN', '| /usr/bin/lesspipe %s'), ('LANGUAGE', 'zh_CN:en'), ('USER', 'quella'), ('SSH_CLIENT', '192.168.138.1 56885 22'), ('LC_TIME', 'zh_CN.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('GIT_ASKPASS', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass.sh'), ('SHLVL', '1'), ('LD_LIBRARY_PATH', '/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib'), ('BROWSER', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/helpers/browser.sh'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/quella'), ('OLDPWD', '/home/quella/ROS2Demo/service'), ('TERM_PROGRAM_VERSION', '1.102.3'), ('VSCODE_IPC_HOOK_CLI', '/run/user/1000/vscode-ipc-701649cf-a59b-4d57-8f34-46f3987c9e4c.sock'), ('ROS_PYTHON_VERSION', '3'), ('VSCODE_GIT_ASKPASS_MAIN', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/extensions/git/dist/askpass-main.js'), ('LC_MONETARY', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_NODE', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/node'), ('SSL_CERT_FILE', '/usr/lib/ssl/certs/ca-certificates.crt'), ('DBUS_SESSION_BUS_ADDRESS', 'unix:path=/run/user/1000/bus'), ('COLORTERM', 'truecolor'), ('ROS_DISTRO', 'humble'), ('LOGNAME', 'quella'), ('_', '/usr/bin/colcon'), ('ROS_VERSION', '2'), ('XDG_SESSION_CLASS', 'user'), ('TERM', 'xterm-256color'), ('XDG_SESSION_ID', '48'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/quella/.vscode-server/cli/servers/Stable-488a1f239235055e34e673291fb8d8c810886f81/server/bin/remote-cli:/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/quella/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand'), ('PAPERSIZE', 'a4'), ('LC_ADDRESS', 'zh_CN.UTF-8'), ('XDG_RUNTIME_DIR', '/run/user/1000'), ('SSL_CERT_DIR', '/usr/lib/ssl/certs'), ('LANG', 'zh_CN.UTF-8'), ('LC_TELEPHONE', 'zh_CN.UTF-8'), ('LS_COLORS', 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'), ('VSCODE_GIT_IPC_HANDLE', '/run/user/1000/vscode-git-f2cad408e9.sock'), ('TERM_PROGRAM', 'vscode'), ('AMENT_PREFIX_PATH', '/opt/ros/humble'), ('SHELL', '/bin/bash'), ('LC_NAME', 'zh_CN.UTF-8'), ('LESSCLOSE', '/usr/bin/lesspipe %s %s'), ('LC_MEASUREMENT', 'zh_CN.UTF-8'), ('LC_IDENTIFICATION', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_EXTRA_ARGS', ''), ('PWD', '/home/quella/ROS2Demo/service/service_server/build/service_server'), ('SSH_CONNECTION', '192.168.138.1 56885 192.168.138.137 22'), ('XDG_DATA_DIRS', '/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop'), ('PYTHONPATH', '/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages'), ('LC_NUMERIC', 'zh_CN.UTF-8'), ('LC_PAPER', 'zh_CN.UTF-8'), ('COLCON', '1'), ('CMAKE_PREFIX_PATH', '/opt/ros/humble')]), 'shell': False}
[8.086468] (service_server) StdoutLine: {'line': b'-- Install configuration: ""\n'}
[8.086794] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl\n'}
[8.091514] (service_server) StdoutLine: {'line': b'-- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""\n'}
[8.091747] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server\n'}
[8.091834] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server\n'}
[8.091882] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh\n'}
[8.092104] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv\n'}
[8.092187] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh\n'}
[8.092295] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv\n'}
[8.092341] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash\n'}
[8.092381] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh\n'}
[8.092424] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh\n'}
[8.092467] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv\n'}
[8.092510] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv\n'}
[8.092616] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server\n'}
[8.092742] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake\n'}
[8.092800] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake\n'}
[8.092843] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml\n'}
[8.095033] (service_server) CommandEnded: {'returncode': 0}
[8.111404] (service_server) JobEnded: {'identifier': 'service_server', 'rc': 0}
[8.112485] (-) EventReactorShutdown: {}

View File

@@ -0,0 +1,103 @@
[0.081s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.081s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=16, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x73791f22ada0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x73791f22a830>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x73791f22a830>>)
[0.205s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.205s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.205s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.205s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.205s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.205s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.205s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/quella/ROS2Demo/service/service_server'
[0.205s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.205s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.205s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.205s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.205s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.205s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.205s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.205s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.205s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.216s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_cmake' and name 'service_server'
[0.216s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.216s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.217s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.217s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.217s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.231s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.231s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.233s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 271 installed packages in /opt/ros/humble
[0.234s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.270s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_args' from command line to 'None'
[0.270s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target' from command line to 'None'
[0.270s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.270s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_cache' from command line to 'False'
[0.270s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_first' from command line to 'False'
[0.270s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_force_configure' from command line to 'False'
[0.270s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'ament_cmake_args' from command line to 'None'
[0.270s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_cmake_args' from command line to 'None'
[0.270s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.270s] DEBUG:colcon.colcon_core.verb:Building package 'service_server' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/quella/ROS2Demo/service/service_server/install/service_server', 'merge_install': False, 'path': '/home/quella/ROS2Demo/service/service_server', 'symlink_install': False, 'test_result_base': None}
[0.271s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.272s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.272s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/quella/ROS2Demo/service/service_server' with build type 'ament_cmake'
[0.272s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/quella/ROS2Demo/service/service_server'
[0.274s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.274s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.274s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[0.283s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[8.338s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[8.351s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[8.367s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[8.368s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[8.370s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[8.370s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[8.370s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[8.370s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[8.371s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[8.372s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[8.373s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[8.373s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[8.373s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[8.373s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[8.373s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[8.373s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[8.374s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[8.375s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[8.375s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[8.376s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[8.377s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[8.378s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[8.378s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[8.378s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[8.378s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[8.379s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[8.379s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[8.380s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[8.380s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[8.380s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[8.380s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[8.381s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[8.381s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[8.381s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[8.382s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[8.382s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[8.383s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[8.383s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[8.384s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[8.384s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[8.385s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[8.385s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '0'
[8.385s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[8.389s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[8.389s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[8.389s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[8.402s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[8.402s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.ps1'
[8.404s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_ps1.py'
[8.406s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.ps1'
[8.407s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.sh'
[8.408s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_sh.py'
[8.409s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.sh'
[8.410s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.bash'
[8.410s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.bash'
[8.411s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.zsh'
[8.412s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.zsh'

View File

@@ -0,0 +1,4 @@
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server

View File

@@ -0,0 +1,22 @@
Consolidate compiler generated dependencies of target turtle_contrl
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[100%] Linking CXX executable turtle_contrl
[100%] Built target turtle_contrl
-- Install configuration: ""
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
-- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml

View File

@@ -0,0 +1,22 @@
Consolidate compiler generated dependencies of target turtle_contrl
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[100%] Linking CXX executable turtle_contrl
[100%] Built target turtle_contrl
-- Install configuration: ""
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
-- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml

View File

@@ -0,0 +1,26 @@
[0.010s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[0.062s] Consolidate compiler generated dependencies of target turtle_contrl
[0.084s] [ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[7.596s] [100%] Linking CXX executable turtle_contrl
[8.052s] [100%] Built target turtle_contrl
[8.065s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[8.079s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[8.086s] -- Install configuration: ""
[8.087s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
[8.091s] -- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
[8.092s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
[8.092s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
[8.092s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
[8.092s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
[8.092s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
[8.092s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
[8.092s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
[8.092s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
[8.092s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
[8.092s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
[8.092s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
[8.092s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
[8.093s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
[8.093s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
[8.093s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml
[8.095s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,105 @@
[0.082s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.082s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=16, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x7814f6f2afe0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x7814f6f2aa70>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x7814f6f2aa70>>)
[0.225s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.225s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.225s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.225s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.225s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.225s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.225s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/quella/ROS2Demo/service/service_server'
[0.225s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.225s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.225s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.225s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.225s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.225s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.225s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.225s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.225s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.236s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_cmake' and name 'service_server'
[0.236s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.236s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.236s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.236s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.236s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.251s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.251s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.263s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 1 installed packages in /home/quella/ROS2Demo/service/service_interfaces/install
[0.263s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 1 installed packages in /home/quella/ROS2Demo/service/service_server/install
[0.264s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 271 installed packages in /opt/ros/humble
[0.266s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.302s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_args' from command line to 'None'
[0.302s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target' from command line to 'None'
[0.302s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.302s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_cache' from command line to 'False'
[0.302s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_first' from command line to 'False'
[0.302s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_force_configure' from command line to 'False'
[0.302s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'ament_cmake_args' from command line to 'None'
[0.302s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_cmake_args' from command line to 'None'
[0.302s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.302s] DEBUG:colcon.colcon_core.verb:Building package 'service_server' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/quella/ROS2Demo/service/service_server/install/service_server', 'merge_install': False, 'path': '/home/quella/ROS2Demo/service/service_server', 'symlink_install': False, 'test_result_base': None}
[0.302s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.303s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.303s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/quella/ROS2Demo/service/service_server' with build type 'ament_cmake'
[0.303s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/quella/ROS2Demo/service/service_server'
[0.306s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.306s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.306s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[0.315s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[8.156s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[8.170s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[8.185s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[8.186s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[8.188s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[8.188s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[8.188s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[8.189s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[8.189s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[8.190s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[8.190s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[8.191s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[8.191s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[8.191s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[8.191s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[8.191s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[8.192s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[8.193s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[8.193s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[8.194s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[8.194s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[8.195s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[8.195s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[8.196s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[8.196s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[8.196s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[8.196s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[8.197s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[8.198s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[8.198s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[8.198s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[8.198s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[8.198s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[8.198s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[8.199s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[8.200s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[8.200s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[8.200s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[8.201s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[8.201s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[8.201s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[8.202s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '0'
[8.202s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[8.207s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[8.207s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[8.207s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[8.224s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[8.225s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.ps1'
[8.226s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_ps1.py'
[8.227s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.ps1'
[8.228s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.sh'
[8.229s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_sh.py'
[8.229s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.sh'
[8.230s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.bash'
[8.231s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.bash'
[8.232s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.zsh'
[8.233s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.zsh'

View File

@@ -0,0 +1,4 @@
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server

View File

@@ -0,0 +1,22 @@
Consolidate compiler generated dependencies of target turtle_contrl
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[100%] Linking CXX executable turtle_contrl
[100%] Built target turtle_contrl
-- Install configuration: ""
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
-- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml

View File

@@ -0,0 +1,22 @@
Consolidate compiler generated dependencies of target turtle_contrl
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[100%] Linking CXX executable turtle_contrl
[100%] Built target turtle_contrl
-- Install configuration: ""
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
-- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml

View File

@@ -0,0 +1,26 @@
[0.010s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[0.060s] Consolidate compiler generated dependencies of target turtle_contrl
[0.081s] [ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[7.429s] [100%] Linking CXX executable turtle_contrl
[7.839s] [100%] Built target turtle_contrl
[7.852s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[7.865s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[7.873s] -- Install configuration: ""
[7.874s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
[7.878s] -- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
[7.878s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
[7.878s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
[7.878s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
[7.878s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
[7.879s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
[7.879s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
[7.879s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
[7.879s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
[7.879s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
[7.879s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
[7.879s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
[7.879s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
[7.879s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
[7.879s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
[7.879s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml
[7.881s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,105 @@
[0.079s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.079s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=16, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0x786a4ca2afe0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x786a4ca2aa70>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x786a4ca2aa70>>)
[0.200s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.200s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.200s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.200s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.200s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.200s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.200s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/quella/ROS2Demo/service/service_server'
[0.200s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.200s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.200s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.201s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.201s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.201s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.201s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.201s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.201s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.211s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_cmake' and name 'service_server'
[0.211s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.211s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.211s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.211s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.211s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.226s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.226s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.227s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 1 installed packages in /home/quella/ROS2Demo/service/service_interfaces/install
[0.228s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 1 installed packages in /home/quella/ROS2Demo/service/service_server/install
[0.229s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 271 installed packages in /opt/ros/humble
[0.230s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.265s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_args' from command line to 'None'
[0.265s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target' from command line to 'None'
[0.265s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.265s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_cache' from command line to 'False'
[0.265s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_first' from command line to 'False'
[0.265s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_force_configure' from command line to 'False'
[0.266s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'ament_cmake_args' from command line to 'None'
[0.266s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_cmake_args' from command line to 'None'
[0.266s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.266s] DEBUG:colcon.colcon_core.verb:Building package 'service_server' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/quella/ROS2Demo/service/service_server/build/service_server', 'catkin_cmake_args': None, 'catkin_skip_building_tests': False, 'cmake_args': None, 'cmake_clean_cache': False, 'cmake_clean_first': False, 'cmake_force_configure': False, 'cmake_target': None, 'cmake_target_skip_unavailable': False, 'install_base': '/home/quella/ROS2Demo/service/service_server/install/service_server', 'merge_install': False, 'path': '/home/quella/ROS2Demo/service/service_server', 'symlink_install': False, 'test_result_base': None}
[0.266s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.267s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.267s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/quella/ROS2Demo/service/service_server' with build type 'ament_cmake'
[0.267s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/quella/ROS2Demo/service/service_server'
[0.270s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.270s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.270s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[0.282s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[8.393s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[8.406s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[8.422s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[8.423s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[8.425s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[8.426s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[8.426s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[8.426s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[8.427s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[8.427s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[8.428s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[8.429s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[8.429s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[8.429s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[8.429s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[8.430s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[8.430s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[8.431s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[8.431s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[8.432s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[8.433s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[8.434s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[8.434s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[8.434s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[8.435s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[8.436s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.ps1'
[8.437s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.dsv'
[8.437s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/hook/cmake_prefix_path.sh'
[8.438s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[8.438s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[8.438s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[8.439s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[8.439s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[8.440s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[8.440s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[8.441s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[8.442s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[8.442s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[8.443s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/quella/ROS2Demo/service/service_server/install/service_server/share/colcon-core/packages/service_server)
[8.443s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[8.444s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[8.444s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '0'
[8.444s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[8.449s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[8.449s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[8.449s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[8.463s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[8.463s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.ps1'
[8.464s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_ps1.py'
[8.466s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.ps1'
[8.467s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.sh'
[8.468s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_sh.py'
[8.469s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.sh'
[8.470s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.bash'
[8.471s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.bash'
[8.472s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.zsh'
[8.472s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.zsh'

View File

@@ -0,0 +1,4 @@
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server

View File

@@ -0,0 +1,22 @@
Consolidate compiler generated dependencies of target turtle_contrl
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[100%] Linking CXX executable turtle_contrl
[100%] Built target turtle_contrl
-- Install configuration: ""
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
-- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml

View File

@@ -0,0 +1,22 @@
Consolidate compiler generated dependencies of target turtle_contrl
[ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[100%] Linking CXX executable turtle_contrl
[100%] Built target turtle_contrl
-- Install configuration: ""
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
-- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml

View File

@@ -0,0 +1,26 @@
[0.013s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[0.059s] Consolidate compiler generated dependencies of target turtle_contrl
[0.079s] [ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[7.652s] [100%] Linking CXX executable turtle_contrl
[8.109s] [100%] Built target turtle_contrl
[8.124s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/quella/ROS2Demo/service/service_server/build/service_server -- -j16 -l16
[8.137s] Invoking command in '/home/quella/ROS2Demo/service/service_server/build/service_server': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server
[8.145s] -- Install configuration: ""
[8.146s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
[8.151s] -- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
[8.151s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
[8.151s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
[8.151s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
[8.151s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
[8.151s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
[8.151s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
[8.151s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
[8.151s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
[8.151s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
[8.152s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
[8.152s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
[8.152s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
[8.152s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
[8.152s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
[8.152s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml
[8.154s] Invoked command in '/home/quella/ROS2Demo/service/service_server/build/service_server' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/quella/ROS2Demo/service/service_server/build/service_server

View File

@@ -1 +1 @@
build_2025-08-18_16-34-51
build_2025-08-24_15-51-47

View File

@@ -1,44 +1,98 @@
#include <rclcpp/rclcpp.hpp>
#include <geometry_msgs/msg/twist.hpp>
#include <turtlesim/msg/pose.hpp>
#include <iostream>
#include "service_interfaces/srv/patrol.hpp"
using namespace std;
using twist = geometry_msgs::msg::Twist;
using Patrol = service_interfaces::srv::Patrol;
// 服务端
class TurtleController : public rclcpp::Node
{
public:
TurtleController(const string &NodeName) : Node(NodeName)
{
patrol_server_ = this->create_service<Patrol>("patrol", bind(&TurtleController::callback, this, placeholders::_1, placeholders::_2));
patrol_server_ = this->create_service<Patrol>("Patrol", bind(&TurtleController::CallBack, this, placeholders::_1, placeholders::_2));
pub_ = this->create_publisher<twist>("/turtle1/cmd_vel", 10);
sub_ = this->create_subscription<turtlesim::msg::Pose>("/turtle1/pose", 10, bind(&TurtleController::PubPos, this, placeholders::_1));
}
private:
void callback(const shared_ptr<Patrol::Request> request, shared_ptr<Patrol::Response> response)
void PubPos(const turtlesim::msg::Pose::SharedPtr pose)
{
if ((0 < request->target_x && request->target_x < 12) && (0 < request->target_y && request->target_y < 12))
// 获取当前的位置
auto msg = geometry_msgs::msg::Twist();
auto current_x = pose->x;
auto current_y = pose->y;
// 打印输出
RCLCPP_INFO(get_logger(), "当前位置 x:%f,y:%f", current_x, current_y);
// 计算当前与目标位置之间的距离差和角度差
auto distance = sqrt(pow(target_x - current_x, 2) + pow(target_y - current_y, 2));
// 计算:目标点相对于当前点的角度差
auto angle = atan2(target_y - current_y, target_x - current_x) - pose->theta;
//
if (distance > 0.1)
{
if (fabs(angle) > 0.2)
{
msg.angular.z = fabs(angle);
}
else
{
msg.linear.x = k_ * distance;
}
}
// 限制线速度最大值
if (msg.linear.x > max_speed)
msg.linear.x = max_speed;
// 发布位置
pub_->publish(msg);
}
void CallBack(const shared_ptr<Patrol::Request> request, shared_ptr<Patrol::Response> response)
{
if ((0 < request->target_x && request->target_x) && (0 < request->target_y && request->target_y < 12))
{
target_x = request->target_x;
tartget_y = request->target_y;
// 返回成功
target_y = request->target_y;
response->result = Patrol::Response::SUCCESS;
}
else
{
// 返回失败
response->result = Patrol::Response::FAIL;
}
}
// 创建服务对象共享指针
rclcpp::Service<Patrol>::SharedPtr patrol_server_;
double target_x{1.0};
double tartget_y{1.0};
// 发布话题,使小海龟运动
rclcpp::Publisher<twist>::SharedPtr pub_;
// 订阅话题,获取小海龟位置
rclcpp::Subscription<turtlesim::msg::Pose>::SharedPtr sub_;
double k_ = 1.0; // 比例系数
double max_speed = 3.0; // 最大速度
double target_x{0.0};
double target_y{0.0};
};
int main(int argc, char **argv)
{
rclcpp::init(argc, argv);
auto node = make_shared<TurtleController>("Quella");
rclcpp::spin(node);
rclcpp::shutdown();
return 0;
}