This commit is contained in:
Quella777
2025-08-25 14:35:29 +08:00
parent d33f2de9ff
commit e6afa915b4
28 changed files with 1110 additions and 17 deletions

View File

@@ -1,11 +1,11 @@
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
BROWSER=/home/quella/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/server/bin/helpers/browser.sh
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:/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
GIT_ASKPASS=/home/quella/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/server/extensions/git/dist/askpass.sh
HOME=/home/quella
LANG=zh_CN.UTF-8
LANGUAGE=zh_CN:en
@@ -26,7 +26,7 @@ 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
MOTD_SHOWN=pam
OLDPWD=/home/quella/ROS2Demo/service
PAPERSIZE=a4
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
PATH=/home/quella/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/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;c:\Users\36331\AppData\Roaming\Code\User\globalStorage\github.copilot-chat\debugCommand
PWD=/home/quella/ROS2Demo/service/service_server/build/service_server
PYTHONPATH=/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/local/lib/python3.10/dist-packages:/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/local/lib/python3.10/dist-packages
ROS_DISTRO=humble
@@ -35,22 +35,22 @@ ROS_PYTHON_VERSION=3
ROS_VERSION=2
SHELL=/bin/bash
SHLVL=1
SSH_CLIENT=192.168.138.1 56885 22
SSH_CONNECTION=192.168.138.1 56885 192.168.138.137 22
SSH_CLIENT=192.168.231.1 2078 22
SSH_CONNECTION=192.168.231.1 2078 192.168.231.129 22
SSL_CERT_DIR=/usr/lib/ssl/certs
SSL_CERT_FILE=/usr/lib/ssl/certs/ca-certificates.crt
TERM=xterm-256color
TERM_PROGRAM=vscode
TERM_PROGRAM_VERSION=1.102.3
TERM_PROGRAM_VERSION=1.103.2
USER=quella
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-701649cf-a59b-4d57-8f34-46f3987c9e4c.sock
VSCODE_GIT_ASKPASS_MAIN=/home/quella/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/server/extensions/git/dist/askpass-main.js
VSCODE_GIT_ASKPASS_NODE=/home/quella/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/server/node
VSCODE_GIT_IPC_HANDLE=/run/user/1000/vscode-git-812dff5387.sock
VSCODE_IPC_HOOK_CLI=/run/user/1000/vscode-ipc-31e13217-e189-4386-b95a-6d9dd93015cb.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=48
XDG_SESSION_ID=2
XDG_SESSION_TYPE=tty
_=/usr/bin/colcon

View File

@@ -0,0 +1,169 @@
[0.000000] (-) TimerEvent: {}
[0.000509] (service_server) JobQueued: {'identifier': 'service_server', 'dependencies': OrderedDict()}
[0.000757] (service_server) JobStarted: {'identifier': 'service_server'}
[0.018554] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'cmake'}
[0.020760] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'build'}
[0.021638] (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.231.1 2078 22'), ('LC_TIME', 'zh_CN.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('GIT_ASKPASS', '/home/quella/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/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-6f17636121051a53c88d3e605c491d22af2ba755/server/bin/helpers/browser.sh'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/quella'), ('OLDPWD', '/home/quella/ROS2Demo/service'), ('TERM_PROGRAM_VERSION', '1.103.2'), ('VSCODE_IPC_HOOK_CLI', '/run/user/1000/vscode-ipc-31e13217-e189-4386-b95a-6d9dd93015cb.sock'), ('ROS_PYTHON_VERSION', '3'), ('VSCODE_GIT_ASKPASS_MAIN', '/home/quella/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/server/extensions/git/dist/askpass-main.js'), ('LC_MONETARY', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_NODE', '/home/quella/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/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', '2'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/quella/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/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;c:\\Users\\36331\\AppData\\Roaming\\Code\\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-812dff5387.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.231.1 2078 192.168.231.129 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.099572] (-) TimerEvent: {}
[0.116818] (service_server) StdoutLine: {'line': b'-- Found ament_cmake: 1.3.12 (/opt/ros/humble/share/ament_cmake/cmake)\n'}
[0.199724] (-) TimerEvent: {}
[0.300413] (-) TimerEvent: {}
[0.350678] (service_server) StdoutLine: {'line': b'-- Found rclcpp: 16.0.14 (/opt/ros/humble/share/rclcpp/cmake)\n'}
[0.400844] (-) TimerEvent: {}
[0.444471] (service_server) StdoutLine: {'line': b'-- Found rosidl_generator_c: 3.1.7 (/opt/ros/humble/share/rosidl_generator_c/cmake)\n'}
[0.453988] (service_server) StdoutLine: {'line': b'-- Found rosidl_adapter: 3.1.7 (/opt/ros/humble/share/rosidl_adapter/cmake)\n'}
[0.476874] (service_server) StdoutLine: {'line': b'-- Found rosidl_generator_cpp: 3.1.7 (/opt/ros/humble/share/rosidl_generator_cpp/cmake)\n'}
[0.501307] (-) TimerEvent: {}
[0.519759] (service_server) StdoutLine: {'line': b'-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c\n'}
[0.560026] (service_server) StdoutLine: {'line': b'-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp\n'}
[0.601463] (-) TimerEvent: {}
[0.666318] (service_server) StdoutLine: {'line': b'-- Found rmw_implementation_cmake: 6.1.2 (/opt/ros/humble/share/rmw_implementation_cmake/cmake)\n'}
[0.674169] (service_server) StdoutLine: {'line': b'-- Found rmw_fastrtps_cpp: 6.2.8 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake)\n'}
[0.701947] (-) TimerEvent: {}
[0.802853] (-) TimerEvent: {}
[0.842202] (service_server) StdoutLine: {'line': b"-- Using RMW implementation 'rmw_fastrtps_cpp' as default\n"}
[0.903062] (-) TimerEvent: {}
[0.929493] (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'}
[0.998199] (service_server) StdoutLine: {'line': b'-- Found turtlesim: 1.4.2 (/opt/ros/humble/share/turtlesim/cmake)\n'}
[1.003969] (-) TimerEvent: {}
[1.060378] (service_server) StdoutLine: {'line': b'-- Found ament_lint_auto: 0.12.14 (/opt/ros/humble/share/ament_lint_auto/cmake)\n'}
[1.104339] (-) TimerEvent: {}
[1.159970] (service_server) StdoutLine: {'line': b"-- Added test 'cppcheck' to perform static code analysis on C / C++ code\n"}
[1.160246] (service_server) StdoutLine: {'line': b'-- Configured cppcheck include dirs: \n'}
[1.160325] (service_server) StdoutLine: {'line': b'-- Configured cppcheck exclude dirs and/or files: \n'}
[1.163993] (service_server) StdoutLine: {'line': b"-- Added test 'flake8' to check Python code syntax and style conventions\n"}
[1.170536] (service_server) StdoutLine: {'line': b"-- Added test 'lint_cmake' to check CMake code style\n"}
[1.174030] (service_server) StdoutLine: {'line': b"-- Added test 'pep257' to check Python code against some of the docstring style conventions in PEP 257\n"}
[1.194479] (service_server) StdoutLine: {'line': b"-- Added test 'uncrustify' to check C / C++ code style\n"}
[1.194704] (service_server) StdoutLine: {'line': b'-- Configured uncrustify additional arguments: \n'}
[1.198023] (service_server) StdoutLine: {'line': b"-- Added test 'xmllint' to check XML markup files\n"}
[1.200797] (service_server) StdoutLine: {'line': b'-- Configuring done\n'}
[1.204497] (-) TimerEvent: {}
[1.222893] (service_server) StdoutLine: {'line': b'-- Generating done\n'}
[1.230182] (service_server) StdoutLine: {'line': b'-- Build files have been written to: /home/quella/ROS2Demo/service/service_server/build/service_server\n'}
[1.263121] (service_server) StdoutLine: {'line': b'\x1b[35m\x1b[1mConsolidate compiler generated dependencies of target turtle_contrl\x1b[0m\n'}
[1.285562] (service_server) StdoutLine: {'line': b'[ 50%] \x1b[32mBuilding CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o\x1b[0m\n'}
[1.304726] (-) TimerEvent: {}
[1.405548] (-) TimerEvent: {}
[1.505948] (-) TimerEvent: {}
[1.606629] (-) TimerEvent: {}
[1.707108] (-) TimerEvent: {}
[1.807600] (-) TimerEvent: {}
[1.908872] (-) TimerEvent: {}
[2.009436] (-) TimerEvent: {}
[2.110327] (-) TimerEvent: {}
[2.211051] (-) TimerEvent: {}
[2.311913] (-) TimerEvent: {}
[2.412994] (-) TimerEvent: {}
[2.513567] (-) TimerEvent: {}
[2.614289] (-) TimerEvent: {}
[2.714947] (-) TimerEvent: {}
[2.816284] (-) TimerEvent: {}
[2.916765] (-) TimerEvent: {}
[3.018035] (-) TimerEvent: {}
[3.118862] (-) TimerEvent: {}
[3.220090] (-) TimerEvent: {}
[3.320583] (-) TimerEvent: {}
[3.421296] (-) TimerEvent: {}
[3.522632] (-) TimerEvent: {}
[3.623250] (-) TimerEvent: {}
[3.724212] (-) TimerEvent: {}
[3.824643] (-) TimerEvent: {}
[3.925856] (-) TimerEvent: {}
[4.027204] (-) TimerEvent: {}
[4.127776] (-) TimerEvent: {}
[4.228531] (-) TimerEvent: {}
[4.329451] (-) TimerEvent: {}
[4.430053] (-) TimerEvent: {}
[4.530899] (-) TimerEvent: {}
[4.631687] (-) TimerEvent: {}
[4.732799] (-) TimerEvent: {}
[4.833665] (-) TimerEvent: {}
[4.934580] (-) TimerEvent: {}
[5.035516] (-) TimerEvent: {}
[5.136284] (-) TimerEvent: {}
[5.236705] (-) TimerEvent: {}
[5.337583] (-) TimerEvent: {}
[5.438875] (-) TimerEvent: {}
[5.539822] (-) TimerEvent: {}
[5.640781] (-) TimerEvent: {}
[5.741644] (-) TimerEvent: {}
[5.842293] (-) TimerEvent: {}
[5.943068] (-) TimerEvent: {}
[6.043542] (-) TimerEvent: {}
[6.144545] (-) TimerEvent: {}
[6.245299] (-) TimerEvent: {}
[6.346496] (-) TimerEvent: {}
[6.447294] (-) TimerEvent: {}
[6.548300] (-) TimerEvent: {}
[6.649788] (-) TimerEvent: {}
[6.750375] (-) TimerEvent: {}
[6.850981] (-) TimerEvent: {}
[6.951853] (-) TimerEvent: {}
[7.052389] (-) TimerEvent: {}
[7.152860] (-) TimerEvent: {}
[7.253708] (-) TimerEvent: {}
[7.354881] (-) TimerEvent: {}
[7.455494] (-) TimerEvent: {}
[7.556433] (-) TimerEvent: {}
[7.657296] (-) TimerEvent: {}
[7.758289] (-) TimerEvent: {}
[7.859041] (-) TimerEvent: {}
[7.959926] (-) TimerEvent: {}
[8.060705] (-) TimerEvent: {}
[8.161994] (-) TimerEvent: {}
[8.262636] (-) TimerEvent: {}
[8.364000] (-) TimerEvent: {}
[8.464706] (-) TimerEvent: {}
[8.565694] (-) TimerEvent: {}
[8.666746] (-) TimerEvent: {}
[8.767244] (-) TimerEvent: {}
[8.868434] (-) TimerEvent: {}
[8.968910] (-) TimerEvent: {}
[9.069688] (-) TimerEvent: {}
[9.170485] (-) TimerEvent: {}
[9.271221] (-) TimerEvent: {}
[9.372274] (-) TimerEvent: {}
[9.472919] (-) TimerEvent: {}
[9.573843] (-) TimerEvent: {}
[9.674606] (-) TimerEvent: {}
[9.775494] (-) TimerEvent: {}
[9.876706] (-) TimerEvent: {}
[9.977669] (-) TimerEvent: {}
[10.078453] (-) TimerEvent: {}
[10.179615] (-) TimerEvent: {}
[10.280453] (-) TimerEvent: {}
[10.381230] (-) TimerEvent: {}
[10.460841] (service_server) StdoutLine: {'line': b'[100%] \x1b[32m\x1b[1mLinking CXX executable turtle_contrl\x1b[0m\n'}
[10.481585] (-) TimerEvent: {}
[10.582968] (-) TimerEvent: {}
[10.683939] (-) TimerEvent: {}
[10.786200] (-) TimerEvent: {}
[10.886667] (-) TimerEvent: {}
[10.987860] (-) TimerEvent: {}
[11.044109] (service_server) StdoutLine: {'line': b'[100%] Built target turtle_contrl\n'}
[11.059764] (service_server) CommandEnded: {'returncode': 0}
[11.072717] (service_server) JobProgress: {'identifier': 'service_server', 'progress': 'install'}
[11.083391] (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.231.1 2078 22'), ('LC_TIME', 'zh_CN.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('GIT_ASKPASS', '/home/quella/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/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-6f17636121051a53c88d3e605c491d22af2ba755/server/bin/helpers/browser.sh'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/quella'), ('OLDPWD', '/home/quella/ROS2Demo/service'), ('TERM_PROGRAM_VERSION', '1.103.2'), ('VSCODE_IPC_HOOK_CLI', '/run/user/1000/vscode-ipc-31e13217-e189-4386-b95a-6d9dd93015cb.sock'), ('ROS_PYTHON_VERSION', '3'), ('VSCODE_GIT_ASKPASS_MAIN', '/home/quella/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/server/extensions/git/dist/askpass-main.js'), ('LC_MONETARY', 'zh_CN.UTF-8'), ('VSCODE_GIT_ASKPASS_NODE', '/home/quella/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/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', '2'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/quella/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/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;c:\\Users\\36331\\AppData\\Roaming\\Code\\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-812dff5387.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.231.1 2078 192.168.231.129 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}
[11.088104] (-) TimerEvent: {}
[11.091797] (service_server) StdoutLine: {'line': b'-- Install configuration: ""\n'}
[11.093373] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl\n'}
[11.100155] (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'}
[11.100423] (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'}
[11.100656] (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'}
[11.100997] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh\n'}
[11.101173] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv\n'}
[11.101295] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh\n'}
[11.101437] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv\n'}
[11.101857] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash\n'}
[11.102094] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh\n'}
[11.102283] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh\n'}
[11.102448] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv\n'}
[11.102742] (service_server) StdoutLine: {'line': b'-- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv\n'}
[11.102871] (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'}
[11.102975] (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'}
[11.103057] (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'}
[11.103132] (service_server) StdoutLine: {'line': b'-- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml\n'}
[11.105162] (service_server) CommandEnded: {'returncode': 0}
[11.137775] (service_server) JobEnded: {'identifier': 'service_server', 'rc': 0}
[11.139074] (-) EventReactorShutdown: {}

View File

@@ -0,0 +1,104 @@
[0.344s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.344s] 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 0x7d0764d2ad70>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x7d0764d2a800>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x7d0764d2a800>>)
[0.632s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.632s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.632s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.632s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.632s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.632s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.632s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/quella/ROS2Demo/service/service_server'
[0.632s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.632s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.633s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.633s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.633s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.633s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.633s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.633s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.633s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.673s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_cmake' and name 'service_server'
[0.674s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.674s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.674s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.674s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.674s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.714s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.714s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.720s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 271 installed packages in /opt/ros/humble
[0.722s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.776s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_args' from command line to 'None'
[0.776s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target' from command line to 'None'
[0.776s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.776s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_cache' from command line to 'False'
[0.776s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_first' from command line to 'False'
[0.776s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_force_configure' from command line to 'False'
[0.776s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'ament_cmake_args' from command line to 'None'
[0.776s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_cmake_args' from command line to 'None'
[0.776s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.776s] 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.776s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.778s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.778s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/quella/ROS2Demo/service/service_server' with build type 'ament_cmake'
[0.778s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/quella/ROS2Demo/service/service_server'
[0.788s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.788s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.789s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[0.801s] 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
[11.838s] 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
[11.862s] 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
[11.883s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[11.883s] 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
[11.893s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[11.894s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[11.894s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[11.894s] 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'
[11.896s] 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'
[11.897s] 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'
[11.898s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[11.898s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[11.898s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[11.899s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[11.899s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[11.899s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[11.901s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[11.902s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[11.903s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[11.905s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[11.907s] 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)
[11.907s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[11.908s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[11.908s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[11.909s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[11.909s] 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'
[11.909s] 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'
[11.910s] 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'
[11.911s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[11.911s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[11.911s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[11.911s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[11.911s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[11.912s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[11.912s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[11.913s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[11.914s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[11.914s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[11.915s] 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)
[11.915s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[11.916s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[11.917s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '0'
[11.917s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[11.923s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[11.924s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[11.924s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[11.925s] 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
[11.926s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[11.926s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.ps1'
[11.928s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_ps1.py'
[11.931s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.ps1'
[11.933s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.sh'
[11.934s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_sh.py'
[11.935s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.sh'
[11.936s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.bash'
[11.937s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.bash'
[11.939s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.zsh'
[11.940s] 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,47 @@
-- 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
[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
-- Installing: /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
-- Installing: /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,47 @@
-- 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
[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
-- Installing: /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
-- Installing: /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,51 @@
[0.022s] 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.116s] -- Found ament_cmake: 1.3.12 (/opt/ros/humble/share/ament_cmake/cmake)
[0.350s] -- Found rclcpp: 16.0.14 (/opt/ros/humble/share/rclcpp/cmake)
[0.444s] -- Found rosidl_generator_c: 3.1.7 (/opt/ros/humble/share/rosidl_generator_c/cmake)
[0.453s] -- Found rosidl_adapter: 3.1.7 (/opt/ros/humble/share/rosidl_adapter/cmake)
[0.476s] -- Found rosidl_generator_cpp: 3.1.7 (/opt/ros/humble/share/rosidl_generator_cpp/cmake)
[0.519s] -- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c
[0.559s] -- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp
[0.666s] -- Found rmw_implementation_cmake: 6.1.2 (/opt/ros/humble/share/rmw_implementation_cmake/cmake)
[0.674s] -- Found rmw_fastrtps_cpp: 6.2.8 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake)
[0.842s] -- Using RMW implementation 'rmw_fastrtps_cpp' as default
[0.929s] -- Found service_interfaces: 0.0.0 (/home/quella/ROS2Demo/service/service_interfaces/install/service_interfaces/share/service_interfaces/cmake)
[0.998s] -- Found turtlesim: 1.4.2 (/opt/ros/humble/share/turtlesim/cmake)
[1.060s] -- Found ament_lint_auto: 0.12.14 (/opt/ros/humble/share/ament_lint_auto/cmake)
[1.159s] -- Added test 'cppcheck' to perform static code analysis on C / C++ code
[1.160s] -- Configured cppcheck include dirs:
[1.160s] -- Configured cppcheck exclude dirs and/or files:
[1.163s] -- Added test 'flake8' to check Python code syntax and style conventions
[1.170s] -- Added test 'lint_cmake' to check CMake code style
[1.173s] -- Added test 'pep257' to check Python code against some of the docstring style conventions in PEP 257
[1.194s] -- Added test 'uncrustify' to check C / C++ code style
[1.194s] -- Configured uncrustify additional arguments:
[1.197s] -- Added test 'xmllint' to check XML markup files
[1.200s] -- Configuring done
[1.222s] -- Generating done
[1.230s] -- Build files have been written to: /home/quella/ROS2Demo/service/service_server/build/service_server
[1.262s] Consolidate compiler generated dependencies of target turtle_contrl
[1.285s] [ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[10.460s] [100%] Linking CXX executable turtle_contrl
[11.044s] [100%] Built target turtle_contrl
[11.059s] 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
[11.084s] 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
[11.091s] -- Install configuration: ""
[11.093s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
[11.100s] -- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
[11.100s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
[11.100s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
[11.100s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
[11.100s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
[11.101s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
[11.101s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
[11.101s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
[11.101s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
[11.102s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
[11.102s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
[11.102s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
[11.102s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
[11.102s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
[11.102s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
[11.102s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml
[11.105s] 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.093s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.093s] 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 0x7ab0d3d2afb0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x7ab0d3d2aa40>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x7ab0d3d2aa40>>)
[0.231s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.231s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.231s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.231s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.231s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.231s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.231s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/quella/ROS2Demo/service/service_server'
[0.232s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.232s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.232s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.232s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.232s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.232s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.232s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.232s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.232s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.244s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_cmake' and name 'service_server'
[0.244s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.244s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.245s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.245s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.245s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.261s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.261s] 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.264s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 1 installed packages in /home/quella/ROS2Demo/service/service_server/install
[0.265s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 271 installed packages in /opt/ros/humble
[0.267s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.313s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_args' from command line to 'None'
[0.314s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target' from command line to 'None'
[0.314s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.314s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_cache' from command line to 'False'
[0.314s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_first' from command line to 'False'
[0.314s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_force_configure' from command line to 'False'
[0.314s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'ament_cmake_args' from command line to 'None'
[0.314s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_cmake_args' from command line to 'None'
[0.314s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.314s] 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.314s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.316s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.316s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/quella/ROS2Demo/service/service_server' with build type 'ament_cmake'
[0.316s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/quella/ROS2Demo/service/service_server'
[0.318s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.318s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.318s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[0.330s] 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
[11.654s] 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
[11.667s] 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
[11.687s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[11.688s] 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
[11.691s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[11.691s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[11.691s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[11.692s] 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'
[11.693s] 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'
[11.694s] 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'
[11.695s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[11.695s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[11.695s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[11.695s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[11.696s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[11.696s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[11.697s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[11.697s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[11.698s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[11.699s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[11.700s] 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)
[11.701s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[11.701s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[11.701s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[11.702s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[11.702s] 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'
[11.702s] 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'
[11.703s] 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'
[11.704s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[11.704s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[11.704s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[11.704s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[11.704s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[11.705s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[11.706s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[11.706s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[11.707s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[11.708s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[11.708s] 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)
[11.709s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[11.709s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[11.710s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '0'
[11.710s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[11.716s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[11.716s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[11.716s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[11.744s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[11.744s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.ps1'
[11.745s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_ps1.py'
[11.747s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.ps1'
[11.748s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.sh'
[11.749s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_sh.py'
[11.750s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.sh'
[11.751s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.bash'
[11.752s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.bash'
[11.753s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.zsh'
[11.754s] 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.014s] 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.061s] Consolidate compiler generated dependencies of target turtle_contrl
[0.084s] [ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[10.815s] [100%] Linking CXX executable turtle_contrl
[11.322s] [100%] Built target turtle_contrl
[11.338s] 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
[11.351s] 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
[11.359s] -- Install configuration: ""
[11.359s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
[11.367s] -- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
[11.367s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
[11.367s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
[11.368s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
[11.368s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
[11.368s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
[11.368s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
[11.368s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
[11.368s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
[11.368s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
[11.368s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
[11.368s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
[11.368s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
[11.369s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
[11.369s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
[11.369s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml
[11.372s] 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.095s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build']
[0.095s] 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 0x739cc7b2afb0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0x739cc7b2aa40>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0x739cc7b2aa40>>)
[0.235s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters
[0.235s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters
[0.235s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters
[0.235s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters
[0.235s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover
[0.235s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover
[0.235s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/quella/ROS2Demo/service/service_server'
[0.236s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install']
[0.236s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore'
[0.236s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install'
[0.236s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg']
[0.236s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg'
[0.236s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta']
[0.236s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta'
[0.236s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros']
[0.236s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros'
[0.248s] DEBUG:colcon.colcon_core.package_identification:Package '.' with type 'ros.ament_cmake' and name 'service_server'
[0.248s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults
[0.249s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover
[0.249s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults
[0.249s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover
[0.249s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults
[0.266s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters
[0.266s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover
[0.267s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 1 installed packages in /home/quella/ROS2Demo/service/service_interfaces/install
[0.268s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 1 installed packages in /home/quella/ROS2Demo/service/service_server/install
[0.269s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 271 installed packages in /opt/ros/humble
[0.271s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults
[0.312s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_args' from command line to 'None'
[0.312s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target' from command line to 'None'
[0.312s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_target_skip_unavailable' from command line to 'False'
[0.312s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_cache' from command line to 'False'
[0.312s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_clean_first' from command line to 'False'
[0.312s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'cmake_force_configure' from command line to 'False'
[0.312s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'ament_cmake_args' from command line to 'None'
[0.312s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_cmake_args' from command line to 'None'
[0.312s] Level 5:colcon.colcon_core.verb:set package 'service_server' build argument 'catkin_skip_building_tests' from command line to 'False'
[0.312s] 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.312s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor
[0.314s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete
[0.314s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/quella/ROS2Demo/service/service_server' with build type 'ament_cmake'
[0.314s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/quella/ROS2Demo/service/service_server'
[0.316s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems
[0.317s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell
[0.317s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment
[0.327s] 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
[10.190s] 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
[10.204s] 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
[10.224s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[10.225s] 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
[10.227s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[10.227s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[10.227s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[10.228s] 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'
[10.229s] 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'
[10.229s] 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'
[10.230s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[10.230s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[10.231s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[10.231s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[10.231s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[10.231s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[10.232s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[10.233s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[10.234s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[10.235s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[10.235s] 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)
[10.236s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(service_server)
[10.237s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake module files
[10.237s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server' for CMake config files
[10.238s] Level 1:colcon.colcon_core.shell:create_environment_hook('service_server', 'cmake_prefix_path')
[10.238s] 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'
[10.239s] 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'
[10.239s] 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'
[10.240s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib'
[10.240s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[10.240s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/pkgconfig/service_server.pc'
[10.240s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/lib/python3.10/site-packages'
[10.241s] Level 1:colcon.colcon_core.environment:checking '/home/quella/ROS2Demo/service/service_server/install/service_server/bin'
[10.241s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.ps1'
[10.242s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv'
[10.242s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.sh'
[10.243s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.bash'
[10.243s] INFO:colcon.colcon_core.shell:Creating package script '/home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.zsh'
[10.244s] 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)
[10.244s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop
[10.245s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed
[10.245s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '0'
[10.245s] DEBUG:colcon.colcon_core.event_reactor:joining thread
[10.250s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems
[10.250s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems
[10.250s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2'
[10.267s] DEBUG:colcon.colcon_core.event_reactor:joined thread
[10.268s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.ps1'
[10.269s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_ps1.py'
[10.271s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.ps1'
[10.272s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.sh'
[10.272s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/quella/ROS2Demo/service/service_server/install/_local_setup_util_sh.py'
[10.273s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.sh'
[10.275s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.bash'
[10.275s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/quella/ROS2Demo/service/service_server/install/setup.bash'
[10.276s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/quella/ROS2Demo/service/service_server/install/local_setup.zsh'
[10.277s] 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.011s] 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.071s] Consolidate compiler generated dependencies of target turtle_contrl
[0.093s] [ 50%] Building CXX object CMakeFiles/turtle_contrl.dir/src/turtle_contrl.cpp.o
[9.368s] [100%] Linking CXX executable turtle_contrl
[9.860s] [100%] Built target turtle_contrl
[9.875s] 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
[9.888s] 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
[9.898s] -- Install configuration: ""
[9.898s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl
[9.905s] -- Set runtime path of "/home/quella/ROS2Demo/service/service_server/install/service_server/lib/service_server/turtle_contrl" to ""
[9.906s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/package_run_dependencies/service_server
[9.906s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/parent_prefix_path/service_server
[9.906s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.sh
[9.906s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/ament_prefix_path.dsv
[9.906s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.sh
[9.906s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/environment/path.dsv
[9.907s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.bash
[9.907s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.sh
[9.907s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.zsh
[9.907s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/local_setup.dsv
[9.907s] -- Installing: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.dsv
[9.907s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/ament_index/resource_index/packages/service_server
[9.907s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig.cmake
[9.907s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/cmake/service_serverConfig-version.cmake
[9.907s] -- Up-to-date: /home/quella/ROS2Demo/service/service_server/install/service_server/share/service_server/package.xml
[9.910s] 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-24_15-51-47
build_2025-08-25_14-31-48

View File

@@ -3,16 +3,48 @@
#include <turtlesim/msg/pose.hpp>
#include <iostream>
#include "service_interfaces/srv/patrol.hpp"
// 提供ROS2参数动态设置时的结果消息类型
#include <rcl_interfaces/msg/set_parameters_result.hpp>
using namespace std;
using twist = geometry_msgs::msg::Twist;
using Patrol = service_interfaces::srv::Patrol;
using SetParametersResult = rcl_interfaces::msg::SetParametersResult;
class TurtleController : public rclcpp::Node
{
public:
TurtleController(const string &NodeName) : Node(NodeName)
{
// 声明参数
this->declare_parameter("k", 1.0);
this->declare_parameter("max_speed", 3.0);
// 获取参数
this->get_parameter("k", k_);
this->get_parameter("max_speed", max_speed_);
parameter_callback_handle_ = this->add_on_set_parameters_callback([this](const std::vector<rclcpp::Parameter> &parameters) -> rcl_interfaces::msg::SetParametersResult
{
for(const auto & parameter : parameters)
{
// 打印参数名和新值
RCLCPP_INFO(this->get_logger(),"更新参数 %s 的值为: %f",parameter.get_name().c_str(),parameter.as_double());
// 判断参数名并更新对应成员变量
if(parameter.get_name() == "k")
{
k_ = parameter.as_double();
}
else if(parameter.get_name() == "max_speed")
{
max_speed_ = parameter.as_double();
}
}
// 构造返回结果,表示参数设置成功
auto result = SetParametersResult();
result.successful = true;
return result; });
// 创建服务和话题
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));
@@ -49,8 +81,8 @@ private:
}
// 限制线速度最大值
if (msg.linear.x > max_speed)
msg.linear.x = max_speed;
if (msg.linear.x > max_speed_)
msg.linear.x = max_speed_;
// 发布位置
pub_->publish(msg);
@@ -69,16 +101,19 @@ private:
{
response->result = Patrol::Response::FAIL;
}
// 额外调用我们添加的回调函数,做到第一时间更新参数
}
rclcpp::Service<Patrol>::SharedPtr patrol_server_;
OnSetParametersCallbackHandle::SharedPtr parameter_callback_handle_;
rclcpp::Service<Patrol>::SharedPtr patrol_server_;
// 发布话题,使小海龟运动
rclcpp::Publisher<twist>::SharedPtr pub_;
// 订阅话题,获取小海龟位置
rclcpp::Subscription<turtlesim::msg::Pose>::SharedPtr sub_;
double k_ = 1.0; // 比例系数
double max_speed = 3.0; // 最大速度
double k_ = 1.0; // 比例系数
double max_speed_ = 3.0; // 最大速度
double target_x{0.0};
double target_y{0.0};