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

@@ -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