From 35e28ca6d4156d7fa96c0aec8ee0235bda3ba475 Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Wed, 19 Apr 2023 10:14:50 +0000 Subject: [PATCH] add package again --- build/beacon_positioning/CMakeCache.txt | 144 +++++++++++++- build/beacon_positioning/colcon_build.rc | 2 +- .../colcon_command_prefix_build.sh.env | 2 +- .../share/beacon_positioning/package.bash | 8 + .../share/beacon_positioning/package.dsv | 5 + .../share/beacon_positioning/package.ps1 | 7 + .../share/beacon_positioning/package.sh | 34 ++++ .../share/beacon_positioning/package.zsh | 8 + .../beacon_positioning/command.log | 2 + .../beacon_positioning/stderr.log | 17 ++ .../beacon_positioning/stdout.log | 12 ++ .../beacon_positioning/stdout_stderr.log | 29 +++ .../beacon_positioning/streams.log | 31 +++ log/build_2023-04-19_10-12-24/events.log | 64 ++++++ log/build_2023-04-19_10-12-24/logger_all.log | 151 +++++++++++++++ .../beacon_positioning/command.log | 4 + .../beacon_positioning/stderr.log | 8 + .../beacon_positioning/stdout.log | 46 +++++ .../beacon_positioning/stdout_stderr.log | 54 ++++++ .../beacon_positioning/streams.log | 58 ++++++ log/build_2023-04-19_10-13-18/events.log | 133 +++++++++++++ log/build_2023-04-19_10-13-18/logger_all.log | 153 +++++++++++++++ log/latest_build | 2 +- src/beacon_positioning/CMakeLists.txt | 61 ++++++ .../launch/beacon_positioning_launch.py | 27 +++ .../msg/TrackerPosition.msg | 5 + src/beacon_positioning/package.xml | 24 +++ .../src/tracker_position.cpp | 183 ++++++++++++++++++ 28 files changed, 1269 insertions(+), 5 deletions(-) create mode 100644 log/build_2023-04-19_10-12-24/beacon_positioning/command.log create mode 100644 log/build_2023-04-19_10-12-24/beacon_positioning/stderr.log create mode 100644 log/build_2023-04-19_10-12-24/beacon_positioning/stdout.log create mode 100644 log/build_2023-04-19_10-12-24/beacon_positioning/stdout_stderr.log create mode 100644 log/build_2023-04-19_10-12-24/beacon_positioning/streams.log create mode 100644 log/build_2023-04-19_10-12-24/events.log create mode 100644 log/build_2023-04-19_10-12-24/logger_all.log create mode 100644 log/build_2023-04-19_10-13-18/beacon_positioning/command.log create mode 100644 log/build_2023-04-19_10-13-18/beacon_positioning/stderr.log create mode 100644 log/build_2023-04-19_10-13-18/beacon_positioning/stdout.log create mode 100644 log/build_2023-04-19_10-13-18/beacon_positioning/stdout_stderr.log create mode 100644 log/build_2023-04-19_10-13-18/beacon_positioning/streams.log create mode 100644 log/build_2023-04-19_10-13-18/events.log create mode 100644 log/build_2023-04-19_10-13-18/logger_all.log create mode 100644 src/beacon_positioning/CMakeLists.txt create mode 100644 src/beacon_positioning/launch/beacon_positioning_launch.py create mode 100644 src/beacon_positioning/msg/TrackerPosition.msg create mode 100644 src/beacon_positioning/package.xml create mode 100644 src/beacon_positioning/src/tracker_position.cpp diff --git a/build/beacon_positioning/CMakeCache.txt b/build/beacon_positioning/CMakeCache.txt index d8aa0e5d..d1806f33 100644 --- a/build/beacon_positioning/CMakeCache.txt +++ b/build/beacon_positioning/CMakeCache.txt @@ -34,6 +34,11 @@ AMENT_CMAKE_UNINSTALL_TARGET:BOOL=ON //The path where test results are generated AMENT_TEST_RESULTS_DIR:PATH=/home/ubuntu/ros2_ws/build/beacon_positioning/test_results +//Global flag to cause add_library() to create shared libraries +// if on. If set to true, this will cause all libraries to be built +// shared unless the library was explicitly added as a static library. +BUILD_SHARED_LIBS:BOOL=ON + //Build the testing tree. BUILD_TESTING:BOOL=ON @@ -262,6 +267,15 @@ PKG_CONFIG_EXECUTABLE:FILEPATH=/usr/bin/pkg-config //Path to a program. PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 +//Path to a file. +PYTHON_INCLUDE_DIR:PATH=/usr/include/python3.8 + +//Path to a library. +PYTHON_LIBRARY:FILEPATH=/usr/lib/aarch64-linux-gnu/libpython3.8.so + +//Path to a library. +PYTHON_LIBRARY_DEBUG:FILEPATH=PYTHON_LIBRARY_DEBUG-NOTFOUND + //Specify specific Python version to use ('major.minor' or 'major') PYTHON_VERSION:STRING= @@ -274,12 +288,24 @@ TinyXML2_DIR:PATH=TinyXML2_DIR-NOTFOUND //Path to a library. _lib:FILEPATH=/opt/ros/foxy/lib/librosgraph_msgs__rosidl_typesupport_fastrtps_cpp.so +//Path to a file. +_numpy_h:FILEPATH=/usr/include/python3.8/numpy/numpyconfig.h + //The directory containing a CMake configuration file for ament_cmake. ament_cmake_DIR:PATH=/opt/ros/foxy/share/ament_cmake/cmake +//The directory containing a CMake configuration file for ament_cmake_copyright. +ament_cmake_copyright_DIR:PATH=/opt/ros/foxy/share/ament_cmake_copyright/cmake + //The directory containing a CMake configuration file for ament_cmake_core. ament_cmake_core_DIR:PATH=/opt/ros/foxy/share/ament_cmake_core/cmake +//The directory containing a CMake configuration file for ament_cmake_cppcheck. +ament_cmake_cppcheck_DIR:PATH=/opt/ros/foxy/share/ament_cmake_cppcheck/cmake + +//The directory containing a CMake configuration file for ament_cmake_cpplint. +ament_cmake_cpplint_DIR:PATH=/opt/ros/foxy/share/ament_cmake_cpplint/cmake + //The directory containing a CMake configuration file for ament_cmake_export_definitions. ament_cmake_export_definitions_DIR:PATH=/opt/ros/foxy/share/ament_cmake_export_definitions/cmake @@ -301,24 +327,81 @@ ament_cmake_export_link_flags_DIR:PATH=/opt/ros/foxy/share/ament_cmake_export_li //The directory containing a CMake configuration file for ament_cmake_export_targets. ament_cmake_export_targets_DIR:PATH=/opt/ros/foxy/share/ament_cmake_export_targets/cmake +//The directory containing a CMake configuration file for ament_cmake_flake8. +ament_cmake_flake8_DIR:PATH=/opt/ros/foxy/share/ament_cmake_flake8/cmake + +//The directory containing a CMake configuration file for ament_cmake_gmock. +ament_cmake_gmock_DIR:PATH=/opt/ros/foxy/share/ament_cmake_gmock/cmake + +//The directory containing a CMake configuration file for ament_cmake_gtest. +ament_cmake_gtest_DIR:PATH=/opt/ros/foxy/share/ament_cmake_gtest/cmake + //The directory containing a CMake configuration file for ament_cmake_include_directories. ament_cmake_include_directories_DIR:PATH=/opt/ros/foxy/share/ament_cmake_include_directories/cmake //The directory containing a CMake configuration file for ament_cmake_libraries. ament_cmake_libraries_DIR:PATH=/opt/ros/foxy/share/ament_cmake_libraries/cmake +//The directory containing a CMake configuration file for ament_cmake_lint_cmake. +ament_cmake_lint_cmake_DIR:PATH=/opt/ros/foxy/share/ament_cmake_lint_cmake/cmake + +//The directory containing a CMake configuration file for ament_cmake_pep257. +ament_cmake_pep257_DIR:PATH=/opt/ros/foxy/share/ament_cmake_pep257/cmake + +//The directory containing a CMake configuration file for ament_cmake_pytest. +ament_cmake_pytest_DIR:PATH=/opt/ros/foxy/share/ament_cmake_pytest/cmake + //The directory containing a CMake configuration file for ament_cmake_python. ament_cmake_python_DIR:PATH=/opt/ros/foxy/share/ament_cmake_python/cmake +//The directory containing a CMake configuration file for ament_cmake_ros. +ament_cmake_ros_DIR:PATH=/opt/ros/foxy/share/ament_cmake_ros/cmake + //The directory containing a CMake configuration file for ament_cmake_target_dependencies. ament_cmake_target_dependencies_DIR:PATH=/opt/ros/foxy/share/ament_cmake_target_dependencies/cmake //The directory containing a CMake configuration file for ament_cmake_test. ament_cmake_test_DIR:PATH=/opt/ros/foxy/share/ament_cmake_test/cmake +//The directory containing a CMake configuration file for ament_cmake_uncrustify. +ament_cmake_uncrustify_DIR:PATH=/opt/ros/foxy/share/ament_cmake_uncrustify/cmake + //The directory containing a CMake configuration file for ament_cmake_version. ament_cmake_version_DIR:PATH=/opt/ros/foxy/share/ament_cmake_version/cmake +//The directory containing a CMake configuration file for ament_cmake_xmllint. +ament_cmake_xmllint_DIR:PATH=/opt/ros/foxy/share/ament_cmake_xmllint/cmake + +//Path to a program. +ament_copyright_BIN:FILEPATH=/opt/ros/foxy/bin/ament_copyright + +//Path to a program. +ament_cppcheck_BIN:FILEPATH=/opt/ros/foxy/bin/ament_cppcheck + +//Path to a program. +ament_cpplint_BIN:FILEPATH=/opt/ros/foxy/bin/ament_cpplint + +//Path to a program. +ament_flake8_BIN:FILEPATH=/opt/ros/foxy/bin/ament_flake8 + +//The directory containing a CMake configuration file for ament_lint_auto. +ament_lint_auto_DIR:PATH=/opt/ros/foxy/share/ament_lint_auto/cmake + +//Path to a program. +ament_lint_cmake_BIN:FILEPATH=/opt/ros/foxy/bin/ament_lint_cmake + +//The directory containing a CMake configuration file for ament_lint_common. +ament_lint_common_DIR:PATH=/opt/ros/foxy/share/ament_lint_common/cmake + +//Path to a program. +ament_pep257_BIN:FILEPATH=/opt/ros/foxy/bin/ament_pep257 + +//Path to a program. +ament_uncrustify_BIN:FILEPATH=/opt/ros/foxy/bin/ament_uncrustify + +//Path to a program. +ament_xmllint_BIN:FILEPATH=/opt/ros/foxy/bin/ament_xmllint + //Value Computed by CMake beacon_positioning_BINARY_DIR:STATIC=/home/ubuntu/ros2_ws/build/beacon_positioning @@ -328,6 +411,39 @@ beacon_positioning_DIR:PATH=beacon_positioning_DIR-NOTFOUND //Value Computed by CMake beacon_positioning_SOURCE_DIR:STATIC=/home/ubuntu/ros2_ws/src/beacon_positioning +//Dependencies for the target +beacon_positioning__python_LIB_DEPENDS:STATIC=general;beacon_positioning__rosidl_generator_c;general;/usr/lib/aarch64-linux-gnu/libpython3.8.so;general;beacon_positioning__rosidl_typesupport_c; + +//Dependencies for the target +beacon_positioning__rosidl_generator_c_LIB_DEPENDS:STATIC=general;rosidl_runtime_c::rosidl_runtime_c;general;rcutils::rcutils; + +//Dependencies for the target +beacon_positioning__rosidl_typesupport_c_LIB_DEPENDS:STATIC=general;rosidl_runtime_c::rosidl_runtime_c;general;rosidl_typesupport_c::rosidl_typesupport_c; + +//Dependencies for the target +beacon_positioning__rosidl_typesupport_c__pyext_LIB_DEPENDS:STATIC=general;beacon_positioning__python;general;/usr/lib/aarch64-linux-gnu/libpython3.8.so;general;beacon_positioning__rosidl_typesupport_c;general;beacon_positioning__rosidl_typesupport_c;general;rosidl_runtime_c::rosidl_runtime_c;general;rosidl_typesupport_c::rosidl_typesupport_c;general;rosidl_runtime_c::rosidl_runtime_c;general;/opt/ros/foxy/lib/librmw.so;general;rosidl_runtime_c::rosidl_runtime_c;general;/opt/ros/foxy/lib/librosidl_runtime_c.so;general;rcutils::rcutils; + +//Dependencies for the target +beacon_positioning__rosidl_typesupport_cpp_LIB_DEPENDS:STATIC=general;rosidl_runtime_c::rosidl_runtime_c;general;rosidl_typesupport_cpp::rosidl_typesupport_cpp; + +//Dependencies for the target +beacon_positioning__rosidl_typesupport_fastrtps_c_LIB_DEPENDS:STATIC=general;rmw::rmw;general;rosidl_runtime_c::rosidl_runtime_c;general;rosidl_typesupport_fastrtps_cpp::rosidl_typesupport_fastrtps_cpp;general;rosidl_typesupport_fastrtps_c::rosidl_typesupport_fastrtps_c;general;rosidl_typesupport_fastrtps_cpp::rosidl_typesupport_fastrtps_cpp;general;rosidl_typesupport_fastrtps_c::rosidl_typesupport_fastrtps_c;general;beacon_positioning__rosidl_generator_c;general;beacon_positioning__rosidl_typesupport_fastrtps_cpp; + +//Dependencies for the target +beacon_positioning__rosidl_typesupport_fastrtps_c__pyext_LIB_DEPENDS:STATIC=general;beacon_positioning__python;general;/usr/lib/aarch64-linux-gnu/libpython3.8.so;general;beacon_positioning__rosidl_typesupport_fastrtps_c;general;beacon_positioning__rosidl_typesupport_c;general;rosidl_runtime_c::rosidl_runtime_c;general;rosidl_typesupport_c::rosidl_typesupport_c;general;rosidl_runtime_c::rosidl_runtime_c;general;/opt/ros/foxy/lib/librmw.so;general;rosidl_runtime_c::rosidl_runtime_c;general;/opt/ros/foxy/lib/librosidl_runtime_c.so;general;rcutils::rcutils; + +//Dependencies for the target +beacon_positioning__rosidl_typesupport_fastrtps_cpp_LIB_DEPENDS:STATIC=general;rmw::rmw;general;rosidl_runtime_c::rosidl_runtime_c;general;rosidl_typesupport_fastrtps_cpp::rosidl_typesupport_fastrtps_cpp;general;beacon_positioning__rosidl_generator_cpp;general;fastrtps;general;fastcdr; + +//Dependencies for the target +beacon_positioning__rosidl_typesupport_introspection_c_LIB_DEPENDS:STATIC=general;beacon_positioning__rosidl_generator_c;general;rosidl_typesupport_introspection_c::rosidl_typesupport_introspection_c; + +//Dependencies for the target +beacon_positioning__rosidl_typesupport_introspection_c__pyext_LIB_DEPENDS:STATIC=general;beacon_positioning__python;general;/usr/lib/aarch64-linux-gnu/libpython3.8.so;general;beacon_positioning__rosidl_typesupport_introspection_c;general;beacon_positioning__rosidl_typesupport_c;general;rosidl_runtime_c::rosidl_runtime_c;general;rosidl_typesupport_c::rosidl_typesupport_c;general;rosidl_runtime_c::rosidl_runtime_c;general;/opt/ros/foxy/lib/librmw.so;general;rosidl_runtime_c::rosidl_runtime_c;general;/opt/ros/foxy/lib/librosidl_runtime_c.so;general;rcutils::rcutils; + +//Dependencies for the target +beacon_positioning__rosidl_typesupport_introspection_cpp_LIB_DEPENDS:STATIC=general;rosidl_runtime_c::rosidl_runtime_c;general;rosidl_typesupport_introspection_cpp::rosidl_typesupport_introspection_cpp; + //The directory containing a CMake configuration file for builtin_interfaces. builtin_interfaces_DIR:PATH=/opt/ros/foxy/share/builtin_interfaces/cmake @@ -358,6 +474,9 @@ pkgcfg_lib__OPENSSL_ssl:FILEPATH=/usr/lib/aarch64-linux-gnu/libssl.so //The directory containing a CMake configuration file for positioning_systems_api. positioning_systems_api_DIR:PATH=/usr/local/lib/cmake/positioning_systems_api +//The directory containing a CMake configuration file for python_cmake_module. +python_cmake_module_DIR:PATH=/opt/ros/foxy/share/python_cmake_module/cmake + //The directory containing a CMake configuration file for rcl. rcl_DIR:PATH=/opt/ros/foxy/share/rcl/cmake @@ -454,6 +573,9 @@ std_msgs_DIR:PATH=/opt/ros/foxy/share/std_msgs/cmake //The directory containing a CMake configuration file for tracetools. tracetools_DIR:PATH=/opt/ros/foxy/share/tracetools/cmake +//Path to a program. +xmllint_BIN:FILEPATH=/usr/bin/xmllint + //The directory containing a CMake configuration file for yaml. yaml_DIR:PATH=/opt/ros/foxy/cmake @@ -570,7 +692,7 @@ CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_NM CMAKE_NM-ADVANCED:INTERNAL=1 //number of local generators -CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=2 //ADVANCED property for variable: CMAKE_OBJCOPY CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_OBJDUMP @@ -617,8 +739,12 @@ CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 FIND_PACKAGE_MESSAGE_DETAILS_FastRTPS:INTERNAL=[/opt/ros/foxy/include][/opt/ros/foxy/lib/libfastrtps.so;/opt/ros/foxy/lib/libfastcdr.so][v()] //Details about finding OpenSSL FIND_PACKAGE_MESSAGE_DETAILS_OpenSSL:INTERNAL=[/usr/lib/aarch64-linux-gnu/libcrypto.so][/usr/include][c ][v1.1.1f()] +//Details about finding PythonExtra +FIND_PACKAGE_MESSAGE_DETAILS_PythonExtra:INTERNAL=[.so][/usr/include/python3.8][/usr/lib/aarch64-linux-gnu/libpython3.8.so][.cpython-38-aarch64-linux-gnu][v()] //Details about finding PythonInterp -FIND_PACKAGE_MESSAGE_DETAILS_PythonInterp:INTERNAL=[/usr/bin/python3][v3.8.10(3)] +FIND_PACKAGE_MESSAGE_DETAILS_PythonInterp:INTERNAL=[/usr/bin/python3][v3.8.10(3.5)] +//Details about finding PythonLibs +FIND_PACKAGE_MESSAGE_DETAILS_PythonLibs:INTERNAL=[/usr/lib/aarch64-linux-gnu/libpython3.8.so][/usr/include/python3.8][v3.8.10(3.5)] //Details about finding Threads FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()] //ADVANCED property for variable: OPENSSL_CRYPTO_LIBRARY @@ -631,6 +757,20 @@ OPENSSL_SSL_LIBRARY-ADVANCED:INTERNAL=1 PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_EXECUTABLE PYTHON_EXECUTABLE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: PYTHON_INCLUDE_DIR +PYTHON_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//The directory for Python library installation. This needs to +// be in PYTHONPATH when 'setup.py install' is called. +PYTHON_INSTALL_DIR:INTERNAL=lib/python3.8/site-packages +//ADVANCED property for variable: PYTHON_LIBRARY +PYTHON_LIBRARY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: PYTHON_LIBRARY_DEBUG +PYTHON_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//The SOABI suffix for Python native extensions. See PEP-3149: +// https://www.python.org/dev/peps/pep-3149/. +PYTHON_SOABI:INTERNAL=cpython-38-aarch64-linux-gnu +//The full suffix for Python native extensions. See PEP-3149: https://www.python.org/dev/peps/pep-3149/. +PythonExtra_EXTENSION_SUFFIX:INTERNAL=.cpython-38-aarch64-linux-gnu _OPENSSL_CFLAGS:INTERNAL= _OPENSSL_CFLAGS_I:INTERNAL= _OPENSSL_CFLAGS_OTHER:INTERNAL= diff --git a/build/beacon_positioning/colcon_build.rc b/build/beacon_positioning/colcon_build.rc index d00491fd..0cfbf088 100644 --- a/build/beacon_positioning/colcon_build.rc +++ b/build/beacon_positioning/colcon_build.rc @@ -1 +1 @@ -1 +2 diff --git a/build/beacon_positioning/colcon_command_prefix_build.sh.env b/build/beacon_positioning/colcon_command_prefix_build.sh.env index ce90b3e8..e035145c 100644 --- a/build/beacon_positioning/colcon_command_prefix_build.sh.env +++ b/build/beacon_positioning/colcon_command_prefix_build.sh.env @@ -21,7 +21,7 @@ LESSOPEN=| /usr/bin/lesspipe %s LOGNAME=ubuntu 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:*.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: MOTD_SHOWN=pam -OLDPWD=/home/ubuntu/ros2_ws/src/beacon_positioning +OLDPWD=/home/ubuntu/ros2_ws/src PATH=/home/ubuntu/.local/bin:/home/ubuntu/ros2_ws/install/px4_ros_com/bin:/opt/ros/foxy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=/home/ubuntu/ros2_ws/build/beacon_positioning PYTHONPATH=/home/ubuntu/ros2_ws/install/px4_msgs/lib/python3.8/site-packages:/opt/ros/foxy/lib/python3.8/site-packages diff --git a/install/beacon_positioning/share/beacon_positioning/package.bash b/install/beacon_positioning/share/beacon_positioning/package.bash index 0bbba285..7d9ce6e4 100644 --- a/install/beacon_positioning/share/beacon_positioning/package.bash +++ b/install/beacon_positioning/share/beacon_positioning/package.bash @@ -27,5 +27,13 @@ _colcon_package_bash_source_script() { # source sh script of this package _colcon_package_bash_source_script "$_colcon_package_bash_COLCON_CURRENT_PREFIX/share/beacon_positioning/package.sh" +# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced scripts +COLCON_CURRENT_PREFIX="$_colcon_package_bash_COLCON_CURRENT_PREFIX" + +# source bash hooks +_colcon_package_bash_source_script "$COLCON_CURRENT_PREFIX/share/beacon_positioning/local_setup.bash" + +unset COLCON_CURRENT_PREFIX + unset _colcon_package_bash_source_script unset _colcon_package_bash_COLCON_CURRENT_PREFIX diff --git a/install/beacon_positioning/share/beacon_positioning/package.dsv b/install/beacon_positioning/share/beacon_positioning/package.dsv index e69de29b..3a9b2b21 100644 --- a/install/beacon_positioning/share/beacon_positioning/package.dsv +++ b/install/beacon_positioning/share/beacon_positioning/package.dsv @@ -0,0 +1,5 @@ +source;share/beacon_positioning/local_setup.bash +source;share/beacon_positioning/local_setup.dsv +source;share/beacon_positioning/local_setup.ps1 +source;share/beacon_positioning/local_setup.sh +source;share/beacon_positioning/local_setup.zsh diff --git a/install/beacon_positioning/share/beacon_positioning/package.ps1 b/install/beacon_positioning/share/beacon_positioning/package.ps1 index 4198e42e..d8b7c944 100644 --- a/install/beacon_positioning/share/beacon_positioning/package.ps1 +++ b/install/beacon_positioning/share/beacon_positioning/package.ps1 @@ -106,3 +106,10 @@ function colcon_package_source_powershell_script { } +# a powershell script is able to determine its own path +# the prefix is two levels up from the package specific share directory +$env:COLCON_CURRENT_PREFIX=(Get-Item $PSCommandPath).Directory.Parent.Parent.FullName + +colcon_package_source_powershell_script "$env:COLCON_CURRENT_PREFIX\share/beacon_positioning/local_setup.ps1" + +Remove-Item Env:\COLCON_CURRENT_PREFIX diff --git a/install/beacon_positioning/share/beacon_positioning/package.sh b/install/beacon_positioning/share/beacon_positioning/package.sh index 7d7278e5..cbc83508 100644 --- a/install/beacon_positioning/share/beacon_positioning/package.sh +++ b/install/beacon_positioning/share/beacon_positioning/package.sh @@ -49,4 +49,38 @@ _colcon_prepend_unique_value() { unset _listname } +# since a plain shell script can't determine its own path when being sourced +# either use the provided COLCON_CURRENT_PREFIX +# or fall back to the build time prefix (if it exists) +_colcon_package_sh_COLCON_CURRENT_PREFIX="/home/ubuntu/ros2_ws/install/beacon_positioning" +if [ -z "$COLCON_CURRENT_PREFIX" ]; then + if [ ! -d "$_colcon_package_sh_COLCON_CURRENT_PREFIX" ]; then + echo "The build time path \"$_colcon_package_sh_COLCON_CURRENT_PREFIX\" doesn't exist. Either source a script for a different shell or set the environment variable \"COLCON_CURRENT_PREFIX\" explicitly." 1>&2 + unset _colcon_package_sh_COLCON_CURRENT_PREFIX + return 1 + fi + COLCON_CURRENT_PREFIX="$_colcon_package_sh_COLCON_CURRENT_PREFIX" +fi +unset _colcon_package_sh_COLCON_CURRENT_PREFIX + +# function to source another script with conditional trace output +# first argument: the path of the script +# additional arguments: arguments to the script +_colcon_package_sh_source_script() { + if [ -f "$1" ]; then + if [ -n "$COLCON_TRACE" ]; then + echo "# . \"$1\"" + fi + . "$@" + else + echo "not found: \"$1\"" 1>&2 + fi +} + +# source sh hooks +_colcon_package_sh_source_script "$COLCON_CURRENT_PREFIX/share/beacon_positioning/local_setup.sh" + +unset _colcon_package_sh_source_script +unset COLCON_CURRENT_PREFIX + # do not unset _colcon_prepend_unique_value since it might be used by non-primary shell hooks diff --git a/install/beacon_positioning/share/beacon_positioning/package.zsh b/install/beacon_positioning/share/beacon_positioning/package.zsh index 6985a441..2b891613 100644 --- a/install/beacon_positioning/share/beacon_positioning/package.zsh +++ b/install/beacon_positioning/share/beacon_positioning/package.zsh @@ -38,5 +38,13 @@ colcon_zsh_convert_to_array() { _colcon_package_zsh_source_script "$_colcon_package_zsh_COLCON_CURRENT_PREFIX/share/beacon_positioning/package.sh" unset convert_zsh_to_array +# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced scripts +COLCON_CURRENT_PREFIX="$_colcon_package_zsh_COLCON_CURRENT_PREFIX" + +# source zsh hooks +_colcon_package_zsh_source_script "$COLCON_CURRENT_PREFIX/share/beacon_positioning/local_setup.zsh" + +unset COLCON_CURRENT_PREFIX + unset _colcon_package_zsh_source_script unset _colcon_package_zsh_COLCON_CURRENT_PREFIX diff --git a/log/build_2023-04-19_10-12-24/beacon_positioning/command.log b/log/build_2023-04-19_10-12-24/beacon_positioning/command.log new file mode 100644 index 00000000..927396e2 --- /dev/null +++ b/log/build_2023-04-19_10-12-24/beacon_positioning/command.log @@ -0,0 +1,2 @@ +Invoking command in '/home/ubuntu/ros2_ws/build/beacon_positioning': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake /home/ubuntu/ros2_ws/src/beacon_positioning -DCMAKE_INSTALL_PREFIX=/home/ubuntu/ros2_ws/install/beacon_positioning +Invoked command in '/home/ubuntu/ros2_ws/build/beacon_positioning' returned '1': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake /home/ubuntu/ros2_ws/src/beacon_positioning -DCMAKE_INSTALL_PREFIX=/home/ubuntu/ros2_ws/install/beacon_positioning diff --git a/log/build_2023-04-19_10-12-24/beacon_positioning/stderr.log b/log/build_2023-04-19_10-12-24/beacon_positioning/stderr.log new file mode 100644 index 00000000..373f22e0 --- /dev/null +++ b/log/build_2023-04-19_10-12-24/beacon_positioning/stderr.log @@ -0,0 +1,17 @@ +CMake Error at CMakeLists.txt:27 (find_package): + By not providing "Findbeacon_positioning.cmake" in CMAKE_MODULE_PATH this + project has asked CMake to find a package configuration file provided by + "beacon_positioning", but CMake did not find one. + + Could not find a package configuration file provided by + "beacon_positioning" with any of the following names: + + beacon_positioningConfig.cmake + beacon_positioning-config.cmake + + Add the installation prefix of "beacon_positioning" to CMAKE_PREFIX_PATH or + set "beacon_positioning_DIR" to a directory containing one of the above + files. If "beacon_positioning" provides a separate development package or + SDK, be sure it has been installed. + + diff --git a/log/build_2023-04-19_10-12-24/beacon_positioning/stdout.log b/log/build_2023-04-19_10-12-24/beacon_positioning/stdout.log new file mode 100644 index 00000000..803526b3 --- /dev/null +++ b/log/build_2023-04-19_10-12-24/beacon_positioning/stdout.log @@ -0,0 +1,12 @@ +-- Found ament_cmake: 0.9.11 (/opt/ros/foxy/share/ament_cmake/cmake) +-- Using PYTHON_EXECUTABLE: /usr/bin/python3 +-- Found rclcpp: 2.4.2 (/opt/ros/foxy/share/rclcpp/cmake) +-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c +-- Found rosidl_adapter: 1.3.0 (/opt/ros/foxy/share/rosidl_adapter/cmake) +-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp +-- Found rmw_implementation_cmake: 1.0.4 (/opt/ros/foxy/share/rmw_implementation_cmake/cmake) +-- Using RMW implementation 'rmw_fastrtps_cpp' as default +-- Found rosidl_default_generators: 1.0.1 (/opt/ros/foxy/share/rosidl_default_generators/cmake) +-- Configuring incomplete, errors occurred! +See also "/home/ubuntu/ros2_ws/build/beacon_positioning/CMakeFiles/CMakeOutput.log". +See also "/home/ubuntu/ros2_ws/build/beacon_positioning/CMakeFiles/CMakeError.log". diff --git a/log/build_2023-04-19_10-12-24/beacon_positioning/stdout_stderr.log b/log/build_2023-04-19_10-12-24/beacon_positioning/stdout_stderr.log new file mode 100644 index 00000000..f8fdfe7b --- /dev/null +++ b/log/build_2023-04-19_10-12-24/beacon_positioning/stdout_stderr.log @@ -0,0 +1,29 @@ +-- Found ament_cmake: 0.9.11 (/opt/ros/foxy/share/ament_cmake/cmake) +-- Using PYTHON_EXECUTABLE: /usr/bin/python3 +-- Found rclcpp: 2.4.2 (/opt/ros/foxy/share/rclcpp/cmake) +-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c +-- Found rosidl_adapter: 1.3.0 (/opt/ros/foxy/share/rosidl_adapter/cmake) +-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp +-- Found rmw_implementation_cmake: 1.0.4 (/opt/ros/foxy/share/rmw_implementation_cmake/cmake) +-- Using RMW implementation 'rmw_fastrtps_cpp' as default +-- Found rosidl_default_generators: 1.0.1 (/opt/ros/foxy/share/rosidl_default_generators/cmake) +CMake Error at CMakeLists.txt:27 (find_package): + By not providing "Findbeacon_positioning.cmake" in CMAKE_MODULE_PATH this + project has asked CMake to find a package configuration file provided by + "beacon_positioning", but CMake did not find one. + + Could not find a package configuration file provided by + "beacon_positioning" with any of the following names: + + beacon_positioningConfig.cmake + beacon_positioning-config.cmake + + Add the installation prefix of "beacon_positioning" to CMAKE_PREFIX_PATH or + set "beacon_positioning_DIR" to a directory containing one of the above + files. If "beacon_positioning" provides a separate development package or + SDK, be sure it has been installed. + + +-- Configuring incomplete, errors occurred! +See also "/home/ubuntu/ros2_ws/build/beacon_positioning/CMakeFiles/CMakeOutput.log". +See also "/home/ubuntu/ros2_ws/build/beacon_positioning/CMakeFiles/CMakeError.log". diff --git a/log/build_2023-04-19_10-12-24/beacon_positioning/streams.log b/log/build_2023-04-19_10-12-24/beacon_positioning/streams.log new file mode 100644 index 00000000..50b15d66 --- /dev/null +++ b/log/build_2023-04-19_10-12-24/beacon_positioning/streams.log @@ -0,0 +1,31 @@ +[0.114s] Invoking command in '/home/ubuntu/ros2_ws/build/beacon_positioning': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake /home/ubuntu/ros2_ws/src/beacon_positioning -DCMAKE_INSTALL_PREFIX=/home/ubuntu/ros2_ws/install/beacon_positioning +[0.172s] -- Found ament_cmake: 0.9.11 (/opt/ros/foxy/share/ament_cmake/cmake) +[0.264s] -- Using PYTHON_EXECUTABLE: /usr/bin/python3 +[0.950s] -- Found rclcpp: 2.4.2 (/opt/ros/foxy/share/rclcpp/cmake) +[1.081s] -- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c +[1.093s] -- Found rosidl_adapter: 1.3.0 (/opt/ros/foxy/share/rosidl_adapter/cmake) +[1.582s] -- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp +[1.754s] -- Found rmw_implementation_cmake: 1.0.4 (/opt/ros/foxy/share/rmw_implementation_cmake/cmake) +[1.760s] -- Using RMW implementation 'rmw_fastrtps_cpp' as default +[2.264s] -- Found rosidl_default_generators: 1.0.1 (/opt/ros/foxy/share/rosidl_default_generators/cmake) +[2.356s] CMake Error at CMakeLists.txt:27 (find_package): +[2.356s] By not providing "Findbeacon_positioning.cmake" in CMAKE_MODULE_PATH this +[2.356s] project has asked CMake to find a package configuration file provided by +[2.357s] "beacon_positioning", but CMake did not find one. +[2.357s] +[2.357s] Could not find a package configuration file provided by +[2.357s] "beacon_positioning" with any of the following names: +[2.358s] +[2.358s] beacon_positioningConfig.cmake +[2.358s] beacon_positioning-config.cmake +[2.358s] +[2.359s] Add the installation prefix of "beacon_positioning" to CMAKE_PREFIX_PATH or +[2.359s] set "beacon_positioning_DIR" to a directory containing one of the above +[2.359s] files. If "beacon_positioning" provides a separate development package or +[2.359s] SDK, be sure it has been installed. +[2.360s] +[2.360s] +[2.368s] -- Configuring incomplete, errors occurred! +[2.369s] See also "/home/ubuntu/ros2_ws/build/beacon_positioning/CMakeFiles/CMakeOutput.log". +[2.369s] See also "/home/ubuntu/ros2_ws/build/beacon_positioning/CMakeFiles/CMakeError.log". +[2.388s] Invoked command in '/home/ubuntu/ros2_ws/build/beacon_positioning' returned '1': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake /home/ubuntu/ros2_ws/src/beacon_positioning -DCMAKE_INSTALL_PREFIX=/home/ubuntu/ros2_ws/install/beacon_positioning diff --git a/log/build_2023-04-19_10-12-24/events.log b/log/build_2023-04-19_10-12-24/events.log new file mode 100644 index 00000000..99c863d8 --- /dev/null +++ b/log/build_2023-04-19_10-12-24/events.log @@ -0,0 +1,64 @@ +[0.000000] (-) TimerEvent: {} +[0.000914] (-) JobUnselected: {'identifier': 'px4_msgs'} +[0.001266] (-) JobUnselected: {'identifier': 'px4_ros_com'} +[0.001918] (beacon_positioning) JobQueued: {'identifier': 'beacon_positioning', 'dependencies': OrderedDict()} +[0.002400] (beacon_positioning) JobStarted: {'identifier': 'beacon_positioning'} +[0.099346] (-) TimerEvent: {} +[0.110032] (beacon_positioning) JobProgress: {'identifier': 'beacon_positioning', 'progress': 'cmake'} +[0.113181] (beacon_positioning) Command: {'cmd': ['/usr/bin/cmake', '/home/ubuntu/ros2_ws/src/beacon_positioning', '-DCMAKE_INSTALL_PREFIX=/home/ubuntu/ros2_ws/install/beacon_positioning'], 'cwd': '/home/ubuntu/ros2_ws/build/beacon_positioning', 'env': OrderedDict([('LESSOPEN', '| /usr/bin/lesspipe %s'), ('USER', 'ubuntu'), ('SSH_CLIENT', '10.10.10.31 43340 22'), ('LC_TIME', 'nl_NL.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('SHLVL', '1'), ('LD_LIBRARY_PATH', '/home/ubuntu/ros2_ws/install/px4_ros_com/lib:/home/ubuntu/ros2_ws/install/px4_msgs/lib:/opt/ros/foxy/opt/yaml_cpp_vendor/lib:/opt/ros/foxy/lib/aarch64-linux-gnu:/opt/ros/foxy/lib'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/ubuntu'), ('OLDPWD', '/home/ubuntu/ros2_ws/src'), ('SSH_TTY', '/dev/pts/0'), ('ROS_PYTHON_VERSION', '3'), ('LC_MONETARY', 'nl_NL.UTF-8'), ('DBUS_SESSION_BUS_ADDRESS', 'unix:path=/run/user/1000/bus'), ('_colcon_cd_root', '/opt/ros/foxy/'), ('COLCON_PREFIX_PATH', '/home/ubuntu/ros2_ws/install'), ('ROS_DISTRO', 'foxy'), ('LOGNAME', 'ubuntu'), ('_', '/home/ubuntu/.local/bin/colcon'), ('ROS_VERSION', '2'), ('XDG_SESSION_CLASS', 'user'), ('TERM', 'xterm-256color'), ('XDG_SESSION_ID', '1'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/ubuntu/.local/bin:/home/ubuntu/ros2_ws/install/px4_ros_com/bin:/opt/ros/foxy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'), ('LC_ADDRESS', 'nl_NL.UTF-8'), ('XDG_RUNTIME_DIR', '/run/user/1000'), ('LANG', 'en_US.UTF-8'), ('LC_TELEPHONE', 'nl_NL.UTF-8'), ('RMW_IMPLEMENTATION', 'rmw_fastrtps_cpp'), ('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:*.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:'), ('AMENT_PREFIX_PATH', '/home/ubuntu/ros2_ws/install/px4_ros_com:/home/ubuntu/ros2_ws/install/px4_msgs:/home/ubuntu/ros2_ws/install/drone_sensors:/home/ubuntu/ros2_ws/install/beacon_positioning:/opt/ros/foxy'), ('SHELL', '/bin/bash'), ('LC_NAME', 'nl_NL.UTF-8'), ('LESSCLOSE', '/usr/bin/lesspipe %s %s'), ('LC_MEASUREMENT', 'nl_NL.UTF-8'), ('LC_IDENTIFICATION', 'nl_NL.UTF-8'), ('PWD', '/home/ubuntu/ros2_ws/build/beacon_positioning'), ('LC_ALL', 'en_US.UTF-8'), ('SSH_CONNECTION', '10.10.10.31 43340 10.10.10.33 22'), ('XDG_DATA_DIRS', '/usr/local/share:/usr/share:/var/lib/snapd/desktop'), ('PYTHONPATH', '/home/ubuntu/ros2_ws/install/px4_msgs/lib/python3.8/site-packages:/opt/ros/foxy/lib/python3.8/site-packages'), ('LC_NUMERIC', 'nl_NL.UTF-8'), ('LC_PAPER', 'nl_NL.UTF-8'), ('COLCON', '1'), ('CMAKE_PREFIX_PATH', '/home/ubuntu/ros2_ws/install/px4_ros_com:/home/ubuntu/ros2_ws/install/px4_msgs:/home/ubuntu/ros2_ws/install/drone_sensors:/home/ubuntu/ros2_ws/install/beacon_positioning:/opt/ros/foxy')]), 'shell': False} +[0.174555] (beacon_positioning) StdoutLine: {'line': b'-- Found ament_cmake: 0.9.11 (/opt/ros/foxy/share/ament_cmake/cmake)\n'} +[0.199429] (-) TimerEvent: {} +[0.267291] (beacon_positioning) StdoutLine: {'line': b'-- Using PYTHON_EXECUTABLE: /usr/bin/python3\n'} +[0.299579] (-) TimerEvent: {} +[0.400227] (-) TimerEvent: {} +[0.500838] (-) TimerEvent: {} +[0.601427] (-) TimerEvent: {} +[0.701989] (-) TimerEvent: {} +[0.802564] (-) TimerEvent: {} +[0.903291] (-) TimerEvent: {} +[0.952947] (beacon_positioning) StdoutLine: {'line': b'-- Found rclcpp: 2.4.2 (/opt/ros/foxy/share/rclcpp/cmake)\n'} +[1.003449] (-) TimerEvent: {} +[1.083382] (beacon_positioning) StdoutLine: {'line': b'-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c\n'} +[1.095637] (beacon_positioning) StdoutLine: {'line': b'-- Found rosidl_adapter: 1.3.0 (/opt/ros/foxy/share/rosidl_adapter/cmake)\n'} +[1.103594] (-) TimerEvent: {} +[1.204272] (-) TimerEvent: {} +[1.304929] (-) TimerEvent: {} +[1.405698] (-) TimerEvent: {} +[1.506443] (-) TimerEvent: {} +[1.584940] (beacon_positioning) StdoutLine: {'line': b'-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp\n'} +[1.606589] (-) TimerEvent: {} +[1.707263] (-) TimerEvent: {} +[1.757340] (beacon_positioning) StdoutLine: {'line': b'-- Found rmw_implementation_cmake: 1.0.4 (/opt/ros/foxy/share/rmw_implementation_cmake/cmake)\n'} +[1.762693] (beacon_positioning) StdoutLine: {'line': b"-- Using RMW implementation 'rmw_fastrtps_cpp' as default\n"} +[1.807419] (-) TimerEvent: {} +[1.908071] (-) TimerEvent: {} +[2.008714] (-) TimerEvent: {} +[2.109386] (-) TimerEvent: {} +[2.210013] (-) TimerEvent: {} +[2.267080] (beacon_positioning) StdoutLine: {'line': b'-- Found rosidl_default_generators: 1.0.1 (/opt/ros/foxy/share/rosidl_default_generators/cmake)\n'} +[2.310158] (-) TimerEvent: {} +[2.358354] (beacon_positioning) StderrLine: {'line': b'CMake Error at CMakeLists.txt:27 (find_package):\n'} +[2.359083] (beacon_positioning) StderrLine: {'line': b' By not providing "Findbeacon_positioning.cmake" in CMAKE_MODULE_PATH this\n'} +[2.359383] (beacon_positioning) StderrLine: {'line': b' project has asked CMake to find a package configuration file provided by\n'} +[2.359645] (beacon_positioning) StderrLine: {'line': b' "beacon_positioning", but CMake did not find one.\n'} +[2.359894] (beacon_positioning) StderrLine: {'line': b'\n'} +[2.360138] (beacon_positioning) StderrLine: {'line': b' Could not find a package configuration file provided by\n'} +[2.360385] (beacon_positioning) StderrLine: {'line': b' "beacon_positioning" with any of the following names:\n'} +[2.360628] (beacon_positioning) StderrLine: {'line': b'\n'} +[2.360936] (beacon_positioning) StderrLine: {'line': b' beacon_positioningConfig.cmake\n'} +[2.361190] (beacon_positioning) StderrLine: {'line': b' beacon_positioning-config.cmake\n'} +[2.361431] (beacon_positioning) StderrLine: {'line': b'\n'} +[2.361672] (beacon_positioning) StderrLine: {'line': b' Add the installation prefix of "beacon_positioning" to CMAKE_PREFIX_PATH or\n'} +[2.361915] (beacon_positioning) StderrLine: {'line': b' set "beacon_positioning_DIR" to a directory containing one of the above\n'} +[2.362157] (beacon_positioning) StderrLine: {'line': b' files. If "beacon_positioning" provides a separate development package or\n'} +[2.362399] (beacon_positioning) StderrLine: {'line': b' SDK, be sure it has been installed.\n'} +[2.362638] (beacon_positioning) StderrLine: {'line': b'\n'} +[2.362875] (beacon_positioning) StderrLine: {'line': b'\n'} +[2.371207] (beacon_positioning) StdoutLine: {'line': b'-- Configuring incomplete, errors occurred!\n'} +[2.371742] (beacon_positioning) StdoutLine: {'line': b'See also "/home/ubuntu/ros2_ws/build/beacon_positioning/CMakeFiles/CMakeOutput.log".\n'} +[2.372048] (beacon_positioning) StdoutLine: {'line': b'See also "/home/ubuntu/ros2_ws/build/beacon_positioning/CMakeFiles/CMakeError.log".\n'} +[2.390600] (beacon_positioning) CommandEnded: {'returncode': 1} +[2.410539] (-) TimerEvent: {} +[2.513786] (-) TimerEvent: {} +[2.528818] (beacon_positioning) JobEnded: {'identifier': 'beacon_positioning', 'rc': 1} +[2.540203] (-) EventReactorShutdown: {} diff --git a/log/build_2023-04-19_10-12-24/logger_all.log b/log/build_2023-04-19_10-12-24/logger_all.log new file mode 100644 index 00000000..dbe666de --- /dev/null +++ b/log/build_2023-04-19_10-12-24/logger_all.log @@ -0,0 +1,151 @@ +[1.687s] DEBUG:colcon:Command line arguments: ['/home/ubuntu/.local/bin/colcon', 'build', '--packages-select', 'beacon_positioning'] +[1.687s] DEBUG:colcon:Parsed command line arguments: Namespace(allow_overriding=[], ament_cmake_args=None, base_paths=['.'], build_base='build', 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, continue_on_error=False, event_handlers=None, executor='parallel', ignore_user_meta=False, install_base='install', log_base=None, log_level=None, main=>, merge_install=False, metas=['./colcon.meta'], packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_end=None, packages_ignore=None, packages_ignore_regex=None, packages_select=['beacon_positioning'], packages_select_build_failed=False, packages_select_by_dep=None, packages_select_regex=None, packages_select_test_failures=False, packages_skip=None, packages_skip_build_finished=False, packages_skip_by_dep=None, packages_skip_regex=None, packages_skip_test_passed=False, packages_skip_up_to=None, packages_start=None, packages_up_to=None, packages_up_to_regex=None, parallel_workers=4, paths=None, symlink_install=False, test_result_base=None, verb_extension=, verb_name='build', verb_parser=) +[1.887s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters +[1.887s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters +[1.887s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters +[1.887s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters +[1.887s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover +[1.888s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover +[1.888s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/ubuntu/ros2_ws' +[1.888s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install'] +[1.889s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore' +[1.889s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install' +[1.889s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg'] +[1.889s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg' +[1.889s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta'] +[1.889s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta' +[1.890s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros'] +[1.890s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros' +[1.971s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['cmake', 'python'] +[1.971s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'cmake' +[1.971s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'python' +[1.971s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['python_setup_py'] +[1.971s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'python_setup_py' +[1.972s] Level 1:colcon.colcon_core.package_identification:_identify(build) by extensions ['ignore', 'ignore_ament_install'] +[1.972s] Level 1:colcon.colcon_core.package_identification:_identify(build) by extension 'ignore' +[1.972s] Level 1:colcon.colcon_core.package_identification:_identify(build) ignored +[1.973s] Level 1:colcon.colcon_core.package_identification:_identify(install) by extensions ['ignore', 'ignore_ament_install'] +[1.973s] Level 1:colcon.colcon_core.package_identification:_identify(install) by extension 'ignore' +[1.973s] Level 1:colcon.colcon_core.package_identification:_identify(install) ignored +[1.974s] Level 1:colcon.colcon_core.package_identification:_identify(log) by extensions ['ignore', 'ignore_ament_install'] +[1.974s] Level 1:colcon.colcon_core.package_identification:_identify(log) by extension 'ignore' +[1.974s] Level 1:colcon.colcon_core.package_identification:_identify(log) ignored +[1.975s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['ignore', 'ignore_ament_install'] +[1.975s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ignore' +[1.975s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ignore_ament_install' +[1.975s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['colcon_pkg'] +[1.975s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'colcon_pkg' +[1.975s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['colcon_meta'] +[1.976s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'colcon_meta' +[1.976s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['ros'] +[1.976s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ros' +[1.976s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['cmake', 'python'] +[1.976s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'cmake' +[1.976s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'python' +[1.976s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['python_setup_py'] +[1.977s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'python_setup_py' +[1.977s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extensions ['ignore', 'ignore_ament_install'] +[1.977s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extension 'ignore' +[1.978s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extension 'ignore_ament_install' +[1.978s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extensions ['colcon_pkg'] +[1.978s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extension 'colcon_pkg' +[1.978s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extensions ['colcon_meta'] +[1.978s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extension 'colcon_meta' +[1.978s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extensions ['ros'] +[1.978s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extension 'ros' +[1.987s] DEBUG:colcon.colcon_core.package_identification:Package 'src/beacon_positioning' with type 'ros.ament_cmake' and name 'beacon_positioning' +[1.987s] Level 1:colcon.colcon_core.package_identification:_identify(src/build) by extensions ['ignore', 'ignore_ament_install'] +[1.988s] Level 1:colcon.colcon_core.package_identification:_identify(src/build) by extension 'ignore' +[1.988s] Level 1:colcon.colcon_core.package_identification:_identify(src/build) ignored +[1.988s] Level 1:colcon.colcon_core.package_identification:_identify(src/install) by extensions ['ignore', 'ignore_ament_install'] +[1.989s] Level 1:colcon.colcon_core.package_identification:_identify(src/install) by extension 'ignore' +[1.989s] Level 1:colcon.colcon_core.package_identification:_identify(src/install) ignored +[1.989s] Level 1:colcon.colcon_core.package_identification:_identify(src/log) by extensions ['ignore', 'ignore_ament_install'] +[1.989s] Level 1:colcon.colcon_core.package_identification:_identify(src/log) by extension 'ignore' +[1.990s] Level 1:colcon.colcon_core.package_identification:_identify(src/log) ignored +[1.990s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extensions ['ignore', 'ignore_ament_install'] +[1.990s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extension 'ignore' +[1.990s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extension 'ignore_ament_install' +[1.991s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extensions ['colcon_pkg'] +[1.991s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extension 'colcon_pkg' +[1.991s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extensions ['colcon_meta'] +[1.991s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extension 'colcon_meta' +[1.991s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extensions ['ros'] +[1.991s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extension 'ros' +[1.994s] DEBUG:colcon.colcon_core.package_identification:Package 'src/px4_msgs' with type 'ros.ament_cmake' and name 'px4_msgs' +[1.995s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extensions ['ignore', 'ignore_ament_install'] +[1.995s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extension 'ignore' +[1.995s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extension 'ignore_ament_install' +[1.996s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extensions ['colcon_pkg'] +[1.996s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extension 'colcon_pkg' +[1.996s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extensions ['colcon_meta'] +[1.996s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extension 'colcon_meta' +[1.996s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extensions ['ros'] +[1.996s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extension 'ros' +[2.001s] DEBUG:colcon.colcon_core.package_identification:Package 'src/px4_ros_com' with type 'ros.ament_cmake' and name 'px4_ros_com' +[2.001s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults +[2.001s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover +[2.001s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults +[2.001s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover +[2.002s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults +[2.173s] INFO:colcon.colcon_core.package_selection:Skipping not selected package 'px4_msgs' in 'src/px4_msgs' +[2.173s] INFO:colcon.colcon_core.package_selection:Skipping not selected package 'px4_ros_com' in 'src/px4_ros_com' +[2.176s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters +[2.176s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover +[2.199s] WARNING:colcon.colcon_ros.prefix_path.ament:The path '/home/ubuntu/ros2_ws/install/drone_sensors' in the environment variable AMENT_PREFIX_PATH doesn't exist +[2.200s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path '/home/ubuntu/ros2_ws/install/drone_sensors' in the environment variable CMAKE_PREFIX_PATH doesn't exist +[2.218s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 3 installed packages in /home/ubuntu/ros2_ws/install +[2.237s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 168 installed packages in /opt/ros/foxy +[2.241s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults +[2.393s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'cmake_args' from command line to 'None' +[2.393s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'cmake_target' from command line to 'None' +[2.393s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'cmake_target_skip_unavailable' from command line to 'False' +[2.394s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'cmake_clean_cache' from command line to 'False' +[2.394s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'cmake_clean_first' from command line to 'False' +[2.394s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'cmake_force_configure' from command line to 'False' +[2.394s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'ament_cmake_args' from command line to 'None' +[2.394s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'catkin_cmake_args' from command line to 'None' +[2.394s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'catkin_skip_building_tests' from command line to 'False' +[2.394s] DEBUG:colcon.colcon_core.verb:Building package 'beacon_positioning' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/ubuntu/ros2_ws/build/beacon_positioning', '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/ubuntu/ros2_ws/install/beacon_positioning', 'merge_install': False, 'path': '/home/ubuntu/ros2_ws/src/beacon_positioning', 'symlink_install': False, 'test_result_base': None} +[2.402s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor +[2.457s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete +[2.458s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/ubuntu/ros2_ws/src/beacon_positioning' with build type 'ament_cmake' +[2.458s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/ubuntu/ros2_ws/src/beacon_positioning' +[2.493s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems +[2.493s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell +[2.494s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment +[2.574s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/ubuntu/ros2_ws/build/beacon_positioning': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake /home/ubuntu/ros2_ws/src/beacon_positioning -DCMAKE_INSTALL_PREFIX=/home/ubuntu/ros2_ws/install/beacon_positioning +[4.848s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/ubuntu/ros2_ws/build/beacon_positioning' returned '1': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake /home/ubuntu/ros2_ws/src/beacon_positioning -DCMAKE_INSTALL_PREFIX=/home/ubuntu/ros2_ws/install/beacon_positioning +[4.898s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(beacon_positioning) +[4.941s] Level 1:colcon.colcon_core.environment:checking '/home/ubuntu/ros2_ws/install/beacon_positioning' for CMake module files +[4.943s] Level 1:colcon.colcon_core.environment:checking '/home/ubuntu/ros2_ws/install/beacon_positioning' for CMake config files +[4.945s] Level 1:colcon.colcon_core.environment:checking '/home/ubuntu/ros2_ws/install/beacon_positioning/bin' +[4.946s] Level 1:colcon.colcon_core.environment:checking '/home/ubuntu/ros2_ws/install/beacon_positioning/lib/pkgconfig/beacon_positioning.pc' +[4.946s] Level 1:colcon.colcon_core.environment:checking '/home/ubuntu/ros2_ws/install/beacon_positioning/lib/python3.8/site-packages' +[4.947s] Level 1:colcon.colcon_core.environment:checking '/home/ubuntu/ros2_ws/install/beacon_positioning/bin' +[4.970s] INFO:colcon.colcon_core.shell:Creating package script '/home/ubuntu/ros2_ws/install/beacon_positioning/share/beacon_positioning/package.ps1' +[4.974s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/ubuntu/ros2_ws/install/beacon_positioning/share/beacon_positioning/package.dsv' +[4.975s] INFO:colcon.colcon_core.shell:Creating package script '/home/ubuntu/ros2_ws/install/beacon_positioning/share/beacon_positioning/package.sh' +[4.978s] INFO:colcon.colcon_core.shell:Creating package script '/home/ubuntu/ros2_ws/install/beacon_positioning/share/beacon_positioning/package.bash' +[4.981s] INFO:colcon.colcon_core.shell:Creating package script '/home/ubuntu/ros2_ws/install/beacon_positioning/share/beacon_positioning/package.zsh' +[4.983s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/ubuntu/ros2_ws/install/beacon_positioning/share/colcon-core/packages/beacon_positioning) +[4.995s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop +[4.996s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed +[4.996s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '1' +[4.996s] DEBUG:colcon.colcon_core.event_reactor:joining thread +[5.039s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.notify_send': Could not find 'notify-send' +[5.039s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems +[5.040s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems +[5.040s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2' +[5.042s] 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 +[5.042s] DEBUG:colcon.colcon_core.event_reactor:joined thread +[5.069s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/ubuntu/ros2_ws/install/local_setup.ps1' +[5.072s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/ubuntu/ros2_ws/install/_local_setup_util_ps1.py' +[5.077s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/ubuntu/ros2_ws/install/setup.ps1' +[5.098s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/ubuntu/ros2_ws/install/local_setup.sh' +[5.100s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/ubuntu/ros2_ws/install/_local_setup_util_sh.py' +[5.103s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/ubuntu/ros2_ws/install/setup.sh' +[5.124s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/ubuntu/ros2_ws/install/local_setup.bash' +[5.126s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/ubuntu/ros2_ws/install/setup.bash' +[5.148s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/ubuntu/ros2_ws/install/local_setup.zsh' +[5.150s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/ubuntu/ros2_ws/install/setup.zsh' diff --git a/log/build_2023-04-19_10-13-18/beacon_positioning/command.log b/log/build_2023-04-19_10-13-18/beacon_positioning/command.log new file mode 100644 index 00000000..d4f57b36 --- /dev/null +++ b/log/build_2023-04-19_10-13-18/beacon_positioning/command.log @@ -0,0 +1,4 @@ +Invoking command in '/home/ubuntu/ros2_ws/build/beacon_positioning': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake /home/ubuntu/ros2_ws/src/beacon_positioning -DCMAKE_INSTALL_PREFIX=/home/ubuntu/ros2_ws/install/beacon_positioning +Invoked command in '/home/ubuntu/ros2_ws/build/beacon_positioning' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake /home/ubuntu/ros2_ws/src/beacon_positioning -DCMAKE_INSTALL_PREFIX=/home/ubuntu/ros2_ws/install/beacon_positioning +Invoking command in '/home/ubuntu/ros2_ws/build/beacon_positioning': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake --build /home/ubuntu/ros2_ws/build/beacon_positioning -- -j4 -l4 +Invoked command in '/home/ubuntu/ros2_ws/build/beacon_positioning' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake --build /home/ubuntu/ros2_ws/build/beacon_positioning -- -j4 -l4 diff --git a/log/build_2023-04-19_10-13-18/beacon_positioning/stderr.log b/log/build_2023-04-19_10-13-18/beacon_positioning/stderr.log new file mode 100644 index 00000000..8514f955 --- /dev/null +++ b/log/build_2023-04-19_10-13-18/beacon_positioning/stderr.log @@ -0,0 +1,8 @@ +/home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:6:10: fatal error: beacon_positioning/msg/tracker_position.hpp: No such file or directory + 6 | #include "beacon_positioning/msg/tracker_position.hpp" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [CMakeFiles/tracker_position.dir/build.make:63: CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:123: CMakeFiles/tracker_position.dir/all] Error 2 +make[1]: *** Waiting for unfinished jobs.... +make: *** [Makefile:141: all] Error 2 diff --git a/log/build_2023-04-19_10-13-18/beacon_positioning/stdout.log b/log/build_2023-04-19_10-13-18/beacon_positioning/stdout.log new file mode 100644 index 00000000..5774b4be --- /dev/null +++ b/log/build_2023-04-19_10-13-18/beacon_positioning/stdout.log @@ -0,0 +1,46 @@ +-- Found ament_cmake: 0.9.11 (/opt/ros/foxy/share/ament_cmake/cmake) +-- Using PYTHON_EXECUTABLE: /usr/bin/python3 +-- Found rclcpp: 2.4.2 (/opt/ros/foxy/share/rclcpp/cmake) +-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c +-- Found rosidl_adapter: 1.3.0 (/opt/ros/foxy/share/rosidl_adapter/cmake) +-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp +-- Found rmw_implementation_cmake: 1.0.4 (/opt/ros/foxy/share/rmw_implementation_cmake/cmake) +-- Using RMW implementation 'rmw_fastrtps_cpp' as default +-- Found rosidl_default_generators: 1.0.1 (/opt/ros/foxy/share/rosidl_default_generators/cmake) +-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10") +-- Found ament_cmake_ros: 0.9.2 (/opt/ros/foxy/share/ament_cmake_ros/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 PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3.5") +-- Found python_cmake_module: 0.8.1 (/opt/ros/foxy/share/python_cmake_module/cmake) +-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.8.so (found suitable version "3.8.10", minimum required is "3.5") +-- Using PYTHON_EXECUTABLE: /usr/bin/python3 +-- Using PYTHON_INCLUDE_DIRS: /usr/include/python3.8 +-- Using PYTHON_LIBRARIES: /usr/lib/aarch64-linux-gnu/libpython3.8.so +-- Found PythonExtra: .so +-- Found ament_lint_auto: 0.9.8 (/opt/ros/foxy/share/ament_lint_auto/cmake) +-- Added test 'copyright' to check source files copyright and LICENSE +-- 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 'cpplint' to check C / C++ code against the Google style +-- Configured cpplint 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 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/ubuntu/ros2_ws/build/beacon_positioning +Scanning dependencies of target beacon_positioning__cpp +Scanning dependencies of target tracker_position +[ 3%] Generating C code for ROS interfaces +[ 6%] Generating C++ code for ROS interfaces +[ 9%] Building CXX object CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o +[ 9%] Built target beacon_positioning__cpp +Scanning dependencies of target beacon_positioning__rosidl_generator_c +[ 12%] Building C object CMakeFiles/beacon_positioning__rosidl_generator_c.dir/rosidl_generator_c/beacon_positioning/msg/detail/tracker_position__functions.c.o +[ 15%] Linking C shared library libbeacon_positioning__rosidl_generator_c.so +[ 15%] Built target beacon_positioning__rosidl_generator_c diff --git a/log/build_2023-04-19_10-13-18/beacon_positioning/stdout_stderr.log b/log/build_2023-04-19_10-13-18/beacon_positioning/stdout_stderr.log new file mode 100644 index 00000000..3aaf86e9 --- /dev/null +++ b/log/build_2023-04-19_10-13-18/beacon_positioning/stdout_stderr.log @@ -0,0 +1,54 @@ +-- Found ament_cmake: 0.9.11 (/opt/ros/foxy/share/ament_cmake/cmake) +-- Using PYTHON_EXECUTABLE: /usr/bin/python3 +-- Found rclcpp: 2.4.2 (/opt/ros/foxy/share/rclcpp/cmake) +-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c +-- Found rosidl_adapter: 1.3.0 (/opt/ros/foxy/share/rosidl_adapter/cmake) +-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp +-- Found rmw_implementation_cmake: 1.0.4 (/opt/ros/foxy/share/rmw_implementation_cmake/cmake) +-- Using RMW implementation 'rmw_fastrtps_cpp' as default +-- Found rosidl_default_generators: 1.0.1 (/opt/ros/foxy/share/rosidl_default_generators/cmake) +-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10") +-- Found ament_cmake_ros: 0.9.2 (/opt/ros/foxy/share/ament_cmake_ros/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 PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3.5") +-- Found python_cmake_module: 0.8.1 (/opt/ros/foxy/share/python_cmake_module/cmake) +-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.8.so (found suitable version "3.8.10", minimum required is "3.5") +-- Using PYTHON_EXECUTABLE: /usr/bin/python3 +-- Using PYTHON_INCLUDE_DIRS: /usr/include/python3.8 +-- Using PYTHON_LIBRARIES: /usr/lib/aarch64-linux-gnu/libpython3.8.so +-- Found PythonExtra: .so +-- Found ament_lint_auto: 0.9.8 (/opt/ros/foxy/share/ament_lint_auto/cmake) +-- Added test 'copyright' to check source files copyright and LICENSE +-- 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 'cpplint' to check C / C++ code against the Google style +-- Configured cpplint 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 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/ubuntu/ros2_ws/build/beacon_positioning +Scanning dependencies of target beacon_positioning__cpp +Scanning dependencies of target tracker_position +[ 3%] Generating C code for ROS interfaces +[ 6%] Generating C++ code for ROS interfaces +[ 9%] Building CXX object CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o +/home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:6:10: fatal error: beacon_positioning/msg/tracker_position.hpp: No such file or directory + 6 | #include "beacon_positioning/msg/tracker_position.hpp" + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [CMakeFiles/tracker_position.dir/build.make:63: CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:123: CMakeFiles/tracker_position.dir/all] Error 2 +make[1]: *** Waiting for unfinished jobs.... +[ 9%] Built target beacon_positioning__cpp +Scanning dependencies of target beacon_positioning__rosidl_generator_c +[ 12%] Building C object CMakeFiles/beacon_positioning__rosidl_generator_c.dir/rosidl_generator_c/beacon_positioning/msg/detail/tracker_position__functions.c.o +[ 15%] Linking C shared library libbeacon_positioning__rosidl_generator_c.so +[ 15%] Built target beacon_positioning__rosidl_generator_c +make: *** [Makefile:141: all] Error 2 diff --git a/log/build_2023-04-19_10-13-18/beacon_positioning/streams.log b/log/build_2023-04-19_10-13-18/beacon_positioning/streams.log new file mode 100644 index 00000000..e7918d08 --- /dev/null +++ b/log/build_2023-04-19_10-13-18/beacon_positioning/streams.log @@ -0,0 +1,58 @@ +[0.114s] Invoking command in '/home/ubuntu/ros2_ws/build/beacon_positioning': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake /home/ubuntu/ros2_ws/src/beacon_positioning -DCMAKE_INSTALL_PREFIX=/home/ubuntu/ros2_ws/install/beacon_positioning +[0.174s] -- Found ament_cmake: 0.9.11 (/opt/ros/foxy/share/ament_cmake/cmake) +[0.266s] -- Using PYTHON_EXECUTABLE: /usr/bin/python3 +[0.935s] -- Found rclcpp: 2.4.2 (/opt/ros/foxy/share/rclcpp/cmake) +[1.064s] -- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c +[1.076s] -- Found rosidl_adapter: 1.3.0 (/opt/ros/foxy/share/rosidl_adapter/cmake) +[1.563s] -- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp +[1.733s] -- Found rmw_implementation_cmake: 1.0.4 (/opt/ros/foxy/share/rmw_implementation_cmake/cmake) +[1.739s] -- Using RMW implementation 'rmw_fastrtps_cpp' as default +[2.238s] -- Found rosidl_default_generators: 1.0.1 (/opt/ros/foxy/share/rosidl_default_generators/cmake) +[2.364s] -- Found PythonInterp: /usr/bin/python3 (found version "3.8.10") +[2.898s] -- Found ament_cmake_ros: 0.9.2 (/opt/ros/foxy/share/ament_cmake_ros/cmake) +[3.339s] -- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c +[3.366s] -- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp +[3.462s] -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3.5") +[3.477s] -- Found python_cmake_module: 0.8.1 (/opt/ros/foxy/share/python_cmake_module/cmake) +[3.585s] -- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.8.so (found suitable version "3.8.10", minimum required is "3.5") +[3.585s] -- Using PYTHON_EXECUTABLE: /usr/bin/python3 +[3.586s] -- Using PYTHON_INCLUDE_DIRS: /usr/include/python3.8 +[3.586s] -- Using PYTHON_LIBRARIES: /usr/lib/aarch64-linux-gnu/libpython3.8.so +[3.677s] -- Found PythonExtra: .so +[4.211s] -- Found ament_lint_auto: 0.9.8 (/opt/ros/foxy/share/ament_lint_auto/cmake) +[4.346s] -- Added test 'copyright' to check source files copyright and LICENSE +[4.354s] -- Added test 'cppcheck' to perform static code analysis on C / C++ code +[4.357s] -- Configured cppcheck include dirs: +[4.357s] -- Configured cppcheck exclude dirs and/or files: +[4.364s] -- Added test 'cpplint' to check C / C++ code against the Google style +[4.365s] -- Configured cpplint exclude dirs and/or files: +[4.367s] -- Added test 'flake8' to check Python code syntax and style conventions +[4.370s] -- Added test 'lint_cmake' to check CMake code style +[4.373s] -- Added test 'pep257' to check Python code against some of the style conventions in PEP 257 +[4.379s] -- Added test 'uncrustify' to check C / C++ code style +[4.380s] -- Configured uncrustify additional arguments: +[4.382s] -- Added test 'xmllint' to check XML markup files +[4.414s] -- Configuring done +[4.556s] -- Generating done +[4.568s] -- Build files have been written to: /home/ubuntu/ros2_ws/build/beacon_positioning +[4.596s] Invoked command in '/home/ubuntu/ros2_ws/build/beacon_positioning' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake /home/ubuntu/ros2_ws/src/beacon_positioning -DCMAKE_INSTALL_PREFIX=/home/ubuntu/ros2_ws/install/beacon_positioning +[4.606s] Invoking command in '/home/ubuntu/ros2_ws/build/beacon_positioning': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake --build /home/ubuntu/ros2_ws/build/beacon_positioning -- -j4 -l4 +[4.776s] Scanning dependencies of target beacon_positioning__cpp +[4.777s] Scanning dependencies of target tracker_position +[4.778s] [ 3%] Generating C code for ROS interfaces +[4.822s] [ 6%] Generating C++ code for ROS interfaces +[4.948s] [ 9%] Building CXX object CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o +[5.408s] /home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:6:10: fatal error: beacon_positioning/msg/tracker_position.hpp: No such file or directory +[5.409s] 6 | #include "beacon_positioning/msg/tracker_position.hpp" +[5.410s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[5.411s] compilation terminated. +[5.418s] make[2]: *** [CMakeFiles/tracker_position.dir/build.make:63: CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o] Error 1 +[5.419s] make[1]: *** [CMakeFiles/Makefile2:123: CMakeFiles/tracker_position.dir/all] Error 2 +[5.419s] make[1]: *** Waiting for unfinished jobs.... +[5.857s] [ 9%] Built target beacon_positioning__cpp +[5.903s] Scanning dependencies of target beacon_positioning__rosidl_generator_c +[5.948s] [ 12%] Building C object CMakeFiles/beacon_positioning__rosidl_generator_c.dir/rosidl_generator_c/beacon_positioning/msg/detail/tracker_position__functions.c.o +[6.135s] [ 15%] Linking C shared library libbeacon_positioning__rosidl_generator_c.so +[6.300s] [ 15%] Built target beacon_positioning__rosidl_generator_c +[6.304s] make: *** [Makefile:141: all] Error 2 +[6.309s] Invoked command in '/home/ubuntu/ros2_ws/build/beacon_positioning' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake --build /home/ubuntu/ros2_ws/build/beacon_positioning -- -j4 -l4 diff --git a/log/build_2023-04-19_10-13-18/events.log b/log/build_2023-04-19_10-13-18/events.log new file mode 100644 index 00000000..393d8cf2 --- /dev/null +++ b/log/build_2023-04-19_10-13-18/events.log @@ -0,0 +1,133 @@ +[0.000000] (-) TimerEvent: {} +[0.000519] (-) JobUnselected: {'identifier': 'px4_msgs'} +[0.000746] (-) JobUnselected: {'identifier': 'px4_ros_com'} +[0.001188] (beacon_positioning) JobQueued: {'identifier': 'beacon_positioning', 'dependencies': OrderedDict()} +[0.002047] (beacon_positioning) JobStarted: {'identifier': 'beacon_positioning'} +[0.099390] (-) TimerEvent: {} +[0.110760] (beacon_positioning) JobProgress: {'identifier': 'beacon_positioning', 'progress': 'cmake'} +[0.113491] (beacon_positioning) Command: {'cmd': ['/usr/bin/cmake', '/home/ubuntu/ros2_ws/src/beacon_positioning', '-DCMAKE_INSTALL_PREFIX=/home/ubuntu/ros2_ws/install/beacon_positioning'], 'cwd': '/home/ubuntu/ros2_ws/build/beacon_positioning', 'env': OrderedDict([('LESSOPEN', '| /usr/bin/lesspipe %s'), ('USER', 'ubuntu'), ('SSH_CLIENT', '10.10.10.31 43340 22'), ('LC_TIME', 'nl_NL.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('SHLVL', '1'), ('LD_LIBRARY_PATH', '/home/ubuntu/ros2_ws/install/px4_ros_com/lib:/home/ubuntu/ros2_ws/install/px4_msgs/lib:/opt/ros/foxy/opt/yaml_cpp_vendor/lib:/opt/ros/foxy/lib/aarch64-linux-gnu:/opt/ros/foxy/lib'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/ubuntu'), ('OLDPWD', '/home/ubuntu/ros2_ws/src'), ('SSH_TTY', '/dev/pts/0'), ('ROS_PYTHON_VERSION', '3'), ('LC_MONETARY', 'nl_NL.UTF-8'), ('DBUS_SESSION_BUS_ADDRESS', 'unix:path=/run/user/1000/bus'), ('_colcon_cd_root', '/opt/ros/foxy/'), ('COLCON_PREFIX_PATH', '/home/ubuntu/ros2_ws/install'), ('ROS_DISTRO', 'foxy'), ('LOGNAME', 'ubuntu'), ('_', '/home/ubuntu/.local/bin/colcon'), ('ROS_VERSION', '2'), ('XDG_SESSION_CLASS', 'user'), ('TERM', 'xterm-256color'), ('XDG_SESSION_ID', '1'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/ubuntu/.local/bin:/home/ubuntu/ros2_ws/install/px4_ros_com/bin:/opt/ros/foxy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'), ('LC_ADDRESS', 'nl_NL.UTF-8'), ('XDG_RUNTIME_DIR', '/run/user/1000'), ('LANG', 'en_US.UTF-8'), ('LC_TELEPHONE', 'nl_NL.UTF-8'), ('RMW_IMPLEMENTATION', 'rmw_fastrtps_cpp'), ('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:*.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:'), ('AMENT_PREFIX_PATH', '/home/ubuntu/ros2_ws/install/px4_ros_com:/home/ubuntu/ros2_ws/install/px4_msgs:/home/ubuntu/ros2_ws/install/drone_sensors:/home/ubuntu/ros2_ws/install/beacon_positioning:/opt/ros/foxy'), ('SHELL', '/bin/bash'), ('LC_NAME', 'nl_NL.UTF-8'), ('LESSCLOSE', '/usr/bin/lesspipe %s %s'), ('LC_MEASUREMENT', 'nl_NL.UTF-8'), ('LC_IDENTIFICATION', 'nl_NL.UTF-8'), ('PWD', '/home/ubuntu/ros2_ws/build/beacon_positioning'), ('LC_ALL', 'en_US.UTF-8'), ('SSH_CONNECTION', '10.10.10.31 43340 10.10.10.33 22'), ('XDG_DATA_DIRS', '/usr/local/share:/usr/share:/var/lib/snapd/desktop'), ('PYTHONPATH', '/home/ubuntu/ros2_ws/install/px4_msgs/lib/python3.8/site-packages:/opt/ros/foxy/lib/python3.8/site-packages'), ('LC_NUMERIC', 'nl_NL.UTF-8'), ('LC_PAPER', 'nl_NL.UTF-8'), ('COLCON', '1'), ('CMAKE_PREFIX_PATH', '/home/ubuntu/ros2_ws/install/px4_ros_com:/home/ubuntu/ros2_ws/install/px4_msgs:/home/ubuntu/ros2_ws/install/drone_sensors:/home/ubuntu/ros2_ws/install/beacon_positioning:/opt/ros/foxy')]), 'shell': False} +[0.175946] (beacon_positioning) StdoutLine: {'line': b'-- Found ament_cmake: 0.9.11 (/opt/ros/foxy/share/ament_cmake/cmake)\n'} +[0.199508] (-) TimerEvent: {} +[0.267657] (beacon_positioning) StdoutLine: {'line': b'-- Using PYTHON_EXECUTABLE: /usr/bin/python3\n'} +[0.299658] (-) TimerEvent: {} +[0.400292] (-) TimerEvent: {} +[0.500911] (-) TimerEvent: {} +[0.601510] (-) TimerEvent: {} +[0.702080] (-) TimerEvent: {} +[0.802626] (-) TimerEvent: {} +[0.903274] (-) TimerEvent: {} +[0.936963] (beacon_positioning) StdoutLine: {'line': b'-- Found rclcpp: 2.4.2 (/opt/ros/foxy/share/rclcpp/cmake)\n'} +[1.003420] (-) TimerEvent: {} +[1.066345] (beacon_positioning) StdoutLine: {'line': b'-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c\n'} +[1.078337] (beacon_positioning) StdoutLine: {'line': b'-- Found rosidl_adapter: 1.3.0 (/opt/ros/foxy/share/rosidl_adapter/cmake)\n'} +[1.103563] (-) TimerEvent: {} +[1.204205] (-) TimerEvent: {} +[1.304848] (-) TimerEvent: {} +[1.405518] (-) TimerEvent: {} +[1.506168] (-) TimerEvent: {} +[1.565356] (beacon_positioning) StdoutLine: {'line': b'-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp\n'} +[1.606316] (-) TimerEvent: {} +[1.706980] (-) TimerEvent: {} +[1.735474] (beacon_positioning) StdoutLine: {'line': b'-- Found rmw_implementation_cmake: 1.0.4 (/opt/ros/foxy/share/rmw_implementation_cmake/cmake)\n'} +[1.740751] (beacon_positioning) StdoutLine: {'line': b"-- Using RMW implementation 'rmw_fastrtps_cpp' as default\n"} +[1.807130] (-) TimerEvent: {} +[1.907783] (-) TimerEvent: {} +[2.008427] (-) TimerEvent: {} +[2.109033] (-) TimerEvent: {} +[2.209675] (-) TimerEvent: {} +[2.240212] (beacon_positioning) StdoutLine: {'line': b'-- Found rosidl_default_generators: 1.0.1 (/opt/ros/foxy/share/rosidl_default_generators/cmake)\n'} +[2.309828] (-) TimerEvent: {} +[2.365955] (beacon_positioning) StdoutLine: {'line': b'-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10") \n'} +[2.410027] (-) TimerEvent: {} +[2.510704] (-) TimerEvent: {} +[2.611321] (-) TimerEvent: {} +[2.711968] (-) TimerEvent: {} +[2.812589] (-) TimerEvent: {} +[2.900269] (beacon_positioning) StdoutLine: {'line': b'-- Found ament_cmake_ros: 0.9.2 (/opt/ros/foxy/share/ament_cmake_ros/cmake)\n'} +[2.912773] (-) TimerEvent: {} +[3.013432] (-) TimerEvent: {} +[3.114173] (-) TimerEvent: {} +[3.214909] (-) TimerEvent: {} +[3.315634] (-) TimerEvent: {} +[3.340919] (beacon_positioning) StdoutLine: {'line': b'-- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c\n'} +[3.368361] (beacon_positioning) StdoutLine: {'line': b'-- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp\n'} +[3.415774] (-) TimerEvent: {} +[3.464391] (beacon_positioning) StdoutLine: {'line': b'-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3.5") \n'} +[3.478822] (beacon_positioning) StdoutLine: {'line': b'-- Found python_cmake_module: 0.8.1 (/opt/ros/foxy/share/python_cmake_module/cmake)\n'} +[3.515923] (-) TimerEvent: {} +[3.586501] (beacon_positioning) StdoutLine: {'line': b'-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.8.so (found suitable version "3.8.10", minimum required is "3.5") \n'} +[3.587436] (beacon_positioning) StdoutLine: {'line': b'-- Using PYTHON_EXECUTABLE: /usr/bin/python3\n'} +[3.587970] (beacon_positioning) StdoutLine: {'line': b'-- Using PYTHON_INCLUDE_DIRS: /usr/include/python3.8\n'} +[3.588429] (beacon_positioning) StdoutLine: {'line': b'-- Using PYTHON_LIBRARIES: /usr/lib/aarch64-linux-gnu/libpython3.8.so\n'} +[3.616064] (-) TimerEvent: {} +[3.679345] (beacon_positioning) StdoutLine: {'line': b'-- Found PythonExtra: .so \n'} +[3.716247] (-) TimerEvent: {} +[3.816866] (-) TimerEvent: {} +[3.917604] (-) TimerEvent: {} +[4.018628] (-) TimerEvent: {} +[4.119320] (-) TimerEvent: {} +[4.212903] (beacon_positioning) StdoutLine: {'line': b'-- Found ament_lint_auto: 0.9.8 (/opt/ros/foxy/share/ament_lint_auto/cmake)\n'} +[4.219440] (-) TimerEvent: {} +[4.320057] (-) TimerEvent: {} +[4.348227] (beacon_positioning) StdoutLine: {'line': b"-- Added test 'copyright' to check source files copyright and LICENSE\n"} +[4.355910] (beacon_positioning) StdoutLine: {'line': b"-- Added test 'cppcheck' to perform static code analysis on C / C++ code\n"} +[4.359119] (beacon_positioning) StdoutLine: {'line': b'-- Configured cppcheck include dirs: \n'} +[4.359582] (beacon_positioning) StdoutLine: {'line': b'-- Configured cppcheck exclude dirs and/or files: \n'} +[4.366355] (beacon_positioning) StdoutLine: {'line': b"-- Added test 'cpplint' to check C / C++ code against the Google style\n"} +[4.366880] (beacon_positioning) StdoutLine: {'line': b'-- Configured cpplint exclude dirs and/or files: \n'} +[4.369093] (beacon_positioning) StdoutLine: {'line': b"-- Added test 'flake8' to check Python code syntax and style conventions\n"} +[4.372226] (beacon_positioning) StdoutLine: {'line': b"-- Added test 'lint_cmake' to check CMake code style\n"} +[4.374740] (beacon_positioning) StdoutLine: {'line': b"-- Added test 'pep257' to check Python code against some of the style conventions in PEP 257\n"} +[4.381387] (beacon_positioning) StdoutLine: {'line': b"-- Added test 'uncrustify' to check C / C++ code style\n"} +[4.381927] (beacon_positioning) StdoutLine: {'line': b'-- Configured uncrustify additional arguments: \n'} +[4.384085] (beacon_positioning) StdoutLine: {'line': b"-- Added test 'xmllint' to check XML markup files\n"} +[4.416279] (beacon_positioning) StdoutLine: {'line': b'-- Configuring done\n'} +[4.420224] (-) TimerEvent: {} +[4.520907] (-) TimerEvent: {} +[4.558472] (beacon_positioning) StdoutLine: {'line': b'-- Generating done\n'} +[4.570323] (beacon_positioning) StdoutLine: {'line': b'-- Build files have been written to: /home/ubuntu/ros2_ws/build/beacon_positioning\n'} +[4.598007] (beacon_positioning) CommandEnded: {'returncode': 0} +[4.599915] (beacon_positioning) JobProgress: {'identifier': 'beacon_positioning', 'progress': 'build'} +[4.602387] (beacon_positioning) Command: {'cmd': ['/usr/bin/cmake', '--build', '/home/ubuntu/ros2_ws/build/beacon_positioning', '--', '-j4', '-l4'], 'cwd': '/home/ubuntu/ros2_ws/build/beacon_positioning', 'env': OrderedDict([('LESSOPEN', '| /usr/bin/lesspipe %s'), ('USER', 'ubuntu'), ('SSH_CLIENT', '10.10.10.31 43340 22'), ('LC_TIME', 'nl_NL.UTF-8'), ('XDG_SESSION_TYPE', 'tty'), ('SHLVL', '1'), ('LD_LIBRARY_PATH', '/home/ubuntu/ros2_ws/install/px4_ros_com/lib:/home/ubuntu/ros2_ws/install/px4_msgs/lib:/opt/ros/foxy/opt/yaml_cpp_vendor/lib:/opt/ros/foxy/lib/aarch64-linux-gnu:/opt/ros/foxy/lib'), ('MOTD_SHOWN', 'pam'), ('HOME', '/home/ubuntu'), ('OLDPWD', '/home/ubuntu/ros2_ws/src'), ('SSH_TTY', '/dev/pts/0'), ('ROS_PYTHON_VERSION', '3'), ('LC_MONETARY', 'nl_NL.UTF-8'), ('DBUS_SESSION_BUS_ADDRESS', 'unix:path=/run/user/1000/bus'), ('_colcon_cd_root', '/opt/ros/foxy/'), ('COLCON_PREFIX_PATH', '/home/ubuntu/ros2_ws/install'), ('ROS_DISTRO', 'foxy'), ('LOGNAME', 'ubuntu'), ('_', '/home/ubuntu/.local/bin/colcon'), ('ROS_VERSION', '2'), ('XDG_SESSION_CLASS', 'user'), ('TERM', 'xterm-256color'), ('XDG_SESSION_ID', '1'), ('ROS_LOCALHOST_ONLY', '0'), ('PATH', '/home/ubuntu/.local/bin:/home/ubuntu/ros2_ws/install/px4_ros_com/bin:/opt/ros/foxy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'), ('LC_ADDRESS', 'nl_NL.UTF-8'), ('XDG_RUNTIME_DIR', '/run/user/1000'), ('LANG', 'en_US.UTF-8'), ('LC_TELEPHONE', 'nl_NL.UTF-8'), ('RMW_IMPLEMENTATION', 'rmw_fastrtps_cpp'), ('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:*.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:'), ('AMENT_PREFIX_PATH', '/home/ubuntu/ros2_ws/install/px4_ros_com:/home/ubuntu/ros2_ws/install/px4_msgs:/home/ubuntu/ros2_ws/install/drone_sensors:/home/ubuntu/ros2_ws/install/beacon_positioning:/opt/ros/foxy'), ('SHELL', '/bin/bash'), ('LC_NAME', 'nl_NL.UTF-8'), ('LESSCLOSE', '/usr/bin/lesspipe %s %s'), ('LC_MEASUREMENT', 'nl_NL.UTF-8'), ('LC_IDENTIFICATION', 'nl_NL.UTF-8'), ('PWD', '/home/ubuntu/ros2_ws/build/beacon_positioning'), ('LC_ALL', 'en_US.UTF-8'), ('SSH_CONNECTION', '10.10.10.31 43340 10.10.10.33 22'), ('XDG_DATA_DIRS', '/usr/local/share:/usr/share:/var/lib/snapd/desktop'), ('PYTHONPATH', '/home/ubuntu/ros2_ws/install/px4_msgs/lib/python3.8/site-packages:/opt/ros/foxy/lib/python3.8/site-packages'), ('LC_NUMERIC', 'nl_NL.UTF-8'), ('LC_PAPER', 'nl_NL.UTF-8'), ('COLCON', '1'), ('CMAKE_PREFIX_PATH', '/home/ubuntu/ros2_ws/install/px4_ros_com:/home/ubuntu/ros2_ws/install/px4_msgs:/home/ubuntu/ros2_ws/install/drone_sensors:/home/ubuntu/ros2_ws/install/beacon_positioning:/opt/ros/foxy')]), 'shell': False} +[4.621151] (-) TimerEvent: {} +[4.722016] (-) TimerEvent: {} +[4.777929] (beacon_positioning) StdoutLine: {'line': b'\x1b[35m\x1b[1mScanning dependencies of target beacon_positioning__cpp\x1b[0m\n'} +[4.778748] (beacon_positioning) StdoutLine: {'line': b'\x1b[35m\x1b[1mScanning dependencies of target tracker_position\x1b[0m\n'} +[4.779830] (beacon_positioning) StdoutLine: {'line': b'[ 3%] \x1b[34m\x1b[1mGenerating C code for ROS interfaces\x1b[0m\n'} +[4.822213] (-) TimerEvent: {} +[4.823672] (beacon_positioning) StdoutLine: {'line': b'[ 6%] \x1b[34m\x1b[1mGenerating C++ code for ROS interfaces\x1b[0m\n'} +[4.922469] (-) TimerEvent: {} +[4.949867] (beacon_positioning) StdoutLine: {'line': b'[ 9%] \x1b[32mBuilding CXX object CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o\x1b[0m\n'} +[5.022814] (-) TimerEvent: {} +[5.124338] (-) TimerEvent: {} +[5.225459] (-) TimerEvent: {} +[5.326707] (-) TimerEvent: {} +[5.410032] (beacon_positioning) StderrLine: {'line': b'\x1b[01m\x1b[K/home/ubuntu/ros2_ws/src/beacon_positioning/src/tracker_position.cpp:6:10:\x1b[m\x1b[K \x1b[01;31m\x1b[Kfatal error: \x1b[m\x1b[Kbeacon_positioning/msg/tracker_position.hpp: No such file or directory\n'} +[5.411105] (beacon_positioning) StderrLine: {'line': b' 6 | #include \x1b[01;31m\x1b[K"beacon_positioning/msg/tracker_position.hpp"\x1b[m\x1b[K\n'} +[5.412209] (beacon_positioning) StderrLine: {'line': b' | \x1b[01;31m\x1b[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\x1b[m\x1b[K\n'} +[5.413024] (beacon_positioning) StderrLine: {'line': b'compilation terminated.\n'} +[5.419996] (beacon_positioning) StderrLine: {'line': b'make[2]: *** [CMakeFiles/tracker_position.dir/build.make:63: CMakeFiles/tracker_position.dir/src/tracker_position.cpp.o] Error 1\n'} +[5.420866] (beacon_positioning) StderrLine: {'line': b'make[1]: *** [CMakeFiles/Makefile2:123: CMakeFiles/tracker_position.dir/all] Error 2\n'} +[5.421291] (beacon_positioning) StderrLine: {'line': b'make[1]: *** Waiting for unfinished jobs....\n'} +[5.426829] (-) TimerEvent: {} +[5.527500] (-) TimerEvent: {} +[5.628160] (-) TimerEvent: {} +[5.728966] (-) TimerEvent: {} +[5.830451] (-) TimerEvent: {} +[5.858698] (beacon_positioning) StdoutLine: {'line': b'[ 9%] Built target beacon_positioning__cpp\n'} +[5.905211] (beacon_positioning) StdoutLine: {'line': b'\x1b[35m\x1b[1mScanning dependencies of target beacon_positioning__rosidl_generator_c\x1b[0m\n'} +[5.930632] (-) TimerEvent: {} +[5.949802] (beacon_positioning) StdoutLine: {'line': b'[ 12%] \x1b[32mBuilding C object CMakeFiles/beacon_positioning__rosidl_generator_c.dir/rosidl_generator_c/beacon_positioning/msg/detail/tracker_position__functions.c.o\x1b[0m\n'} +[6.030814] (-) TimerEvent: {} +[6.131517] (-) TimerEvent: {} +[6.136768] (beacon_positioning) StdoutLine: {'line': b'[ 15%] \x1b[32m\x1b[1mLinking C shared library libbeacon_positioning__rosidl_generator_c.so\x1b[0m\n'} +[6.231708] (-) TimerEvent: {} +[6.302078] (beacon_positioning) StdoutLine: {'line': b'[ 15%] Built target beacon_positioning__rosidl_generator_c\n'} +[6.305256] (beacon_positioning) StderrLine: {'line': b'make: *** [Makefile:141: all] Error 2\n'} +[6.310403] (beacon_positioning) CommandEnded: {'returncode': 2} +[6.332087] (-) TimerEvent: {} +[6.433106] (-) TimerEvent: {} +[6.533892] (-) TimerEvent: {} +[6.640280] (-) TimerEvent: {} +[6.727777] (beacon_positioning) JobEnded: {'identifier': 'beacon_positioning', 'rc': 2} +[6.739040] (-) EventReactorShutdown: {} diff --git a/log/build_2023-04-19_10-13-18/logger_all.log b/log/build_2023-04-19_10-13-18/logger_all.log new file mode 100644 index 00000000..93ad92ec --- /dev/null +++ b/log/build_2023-04-19_10-13-18/logger_all.log @@ -0,0 +1,153 @@ +[1.689s] DEBUG:colcon:Command line arguments: ['/home/ubuntu/.local/bin/colcon', 'build', '--packages-select', 'beacon_positioning'] +[1.689s] DEBUG:colcon:Parsed command line arguments: Namespace(allow_overriding=[], ament_cmake_args=None, base_paths=['.'], build_base='build', 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, continue_on_error=False, event_handlers=None, executor='parallel', ignore_user_meta=False, install_base='install', log_base=None, log_level=None, main=>, merge_install=False, metas=['./colcon.meta'], packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_end=None, packages_ignore=None, packages_ignore_regex=None, packages_select=['beacon_positioning'], packages_select_build_failed=False, packages_select_by_dep=None, packages_select_regex=None, packages_select_test_failures=False, packages_skip=None, packages_skip_build_finished=False, packages_skip_by_dep=None, packages_skip_regex=None, packages_skip_test_passed=False, packages_skip_up_to=None, packages_start=None, packages_up_to=None, packages_up_to_regex=None, parallel_workers=4, paths=None, symlink_install=False, test_result_base=None, verb_extension=, verb_name='build', verb_parser=) +[1.888s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters +[1.889s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters +[1.889s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters +[1.889s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters +[1.889s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover +[1.889s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover +[1.889s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/ubuntu/ros2_ws' +[1.890s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install'] +[1.890s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore' +[1.890s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install' +[1.891s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg'] +[1.891s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg' +[1.891s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta'] +[1.891s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta' +[1.891s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros'] +[1.891s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros' +[1.972s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['cmake', 'python'] +[1.973s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'cmake' +[1.973s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'python' +[1.973s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['python_setup_py'] +[1.973s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'python_setup_py' +[1.973s] Level 1:colcon.colcon_core.package_identification:_identify(build) by extensions ['ignore', 'ignore_ament_install'] +[1.974s] Level 1:colcon.colcon_core.package_identification:_identify(build) by extension 'ignore' +[1.974s] Level 1:colcon.colcon_core.package_identification:_identify(build) ignored +[1.974s] Level 1:colcon.colcon_core.package_identification:_identify(install) by extensions ['ignore', 'ignore_ament_install'] +[1.975s] Level 1:colcon.colcon_core.package_identification:_identify(install) by extension 'ignore' +[1.975s] Level 1:colcon.colcon_core.package_identification:_identify(install) ignored +[1.975s] Level 1:colcon.colcon_core.package_identification:_identify(log) by extensions ['ignore', 'ignore_ament_install'] +[1.976s] Level 1:colcon.colcon_core.package_identification:_identify(log) by extension 'ignore' +[1.976s] Level 1:colcon.colcon_core.package_identification:_identify(log) ignored +[1.976s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['ignore', 'ignore_ament_install'] +[1.976s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ignore' +[1.977s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ignore_ament_install' +[1.977s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['colcon_pkg'] +[1.977s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'colcon_pkg' +[1.977s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['colcon_meta'] +[1.977s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'colcon_meta' +[1.977s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['ros'] +[1.977s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ros' +[1.978s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['cmake', 'python'] +[1.978s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'cmake' +[1.978s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'python' +[1.978s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['python_setup_py'] +[1.978s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'python_setup_py' +[1.979s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extensions ['ignore', 'ignore_ament_install'] +[1.979s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extension 'ignore' +[1.979s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extension 'ignore_ament_install' +[1.979s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extensions ['colcon_pkg'] +[1.979s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extension 'colcon_pkg' +[1.979s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extensions ['colcon_meta'] +[1.980s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extension 'colcon_meta' +[1.980s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extensions ['ros'] +[1.980s] Level 1:colcon.colcon_core.package_identification:_identify(src/beacon_positioning) by extension 'ros' +[1.988s] DEBUG:colcon.colcon_core.package_identification:Package 'src/beacon_positioning' with type 'ros.ament_cmake' and name 'beacon_positioning' +[1.989s] Level 1:colcon.colcon_core.package_identification:_identify(src/build) by extensions ['ignore', 'ignore_ament_install'] +[1.989s] Level 1:colcon.colcon_core.package_identification:_identify(src/build) by extension 'ignore' +[1.989s] Level 1:colcon.colcon_core.package_identification:_identify(src/build) ignored +[1.990s] Level 1:colcon.colcon_core.package_identification:_identify(src/install) by extensions ['ignore', 'ignore_ament_install'] +[1.990s] Level 1:colcon.colcon_core.package_identification:_identify(src/install) by extension 'ignore' +[1.990s] Level 1:colcon.colcon_core.package_identification:_identify(src/install) ignored +[1.990s] Level 1:colcon.colcon_core.package_identification:_identify(src/log) by extensions ['ignore', 'ignore_ament_install'] +[1.991s] Level 1:colcon.colcon_core.package_identification:_identify(src/log) by extension 'ignore' +[1.991s] Level 1:colcon.colcon_core.package_identification:_identify(src/log) ignored +[1.991s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extensions ['ignore', 'ignore_ament_install'] +[1.992s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extension 'ignore' +[1.992s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extension 'ignore_ament_install' +[1.992s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extensions ['colcon_pkg'] +[1.992s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extension 'colcon_pkg' +[1.992s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extensions ['colcon_meta'] +[1.992s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extension 'colcon_meta' +[1.993s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extensions ['ros'] +[1.993s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_msgs) by extension 'ros' +[1.995s] DEBUG:colcon.colcon_core.package_identification:Package 'src/px4_msgs' with type 'ros.ament_cmake' and name 'px4_msgs' +[1.996s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extensions ['ignore', 'ignore_ament_install'] +[1.996s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extension 'ignore' +[1.997s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extension 'ignore_ament_install' +[1.997s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extensions ['colcon_pkg'] +[1.997s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extension 'colcon_pkg' +[1.997s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extensions ['colcon_meta'] +[1.997s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extension 'colcon_meta' +[1.997s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extensions ['ros'] +[1.998s] Level 1:colcon.colcon_core.package_identification:_identify(src/px4_ros_com) by extension 'ros' +[2.002s] DEBUG:colcon.colcon_core.package_identification:Package 'src/px4_ros_com' with type 'ros.ament_cmake' and name 'px4_ros_com' +[2.002s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults +[2.002s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover +[2.003s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults +[2.003s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover +[2.003s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults +[2.175s] INFO:colcon.colcon_core.package_selection:Skipping not selected package 'px4_msgs' in 'src/px4_msgs' +[2.175s] INFO:colcon.colcon_core.package_selection:Skipping not selected package 'px4_ros_com' in 'src/px4_ros_com' +[2.178s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters +[2.178s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover +[2.200s] WARNING:colcon.colcon_ros.prefix_path.ament:The path '/home/ubuntu/ros2_ws/install/drone_sensors' in the environment variable AMENT_PREFIX_PATH doesn't exist +[2.201s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path '/home/ubuntu/ros2_ws/install/drone_sensors' in the environment variable CMAKE_PREFIX_PATH doesn't exist +[2.219s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 3 installed packages in /home/ubuntu/ros2_ws/install +[2.239s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 168 installed packages in /opt/ros/foxy +[2.243s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults +[2.393s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'cmake_args' from command line to 'None' +[2.394s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'cmake_target' from command line to 'None' +[2.394s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'cmake_target_skip_unavailable' from command line to 'False' +[2.394s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'cmake_clean_cache' from command line to 'False' +[2.394s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'cmake_clean_first' from command line to 'False' +[2.394s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'cmake_force_configure' from command line to 'False' +[2.394s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'ament_cmake_args' from command line to 'None' +[2.394s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'catkin_cmake_args' from command line to 'None' +[2.394s] Level 5:colcon.colcon_core.verb:set package 'beacon_positioning' build argument 'catkin_skip_building_tests' from command line to 'False' +[2.394s] DEBUG:colcon.colcon_core.verb:Building package 'beacon_positioning' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/ubuntu/ros2_ws/build/beacon_positioning', '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/ubuntu/ros2_ws/install/beacon_positioning', 'merge_install': False, 'path': '/home/ubuntu/ros2_ws/src/beacon_positioning', 'symlink_install': False, 'test_result_base': None} +[2.403s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor +[2.458s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete +[2.459s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/ubuntu/ros2_ws/src/beacon_positioning' with build type 'ament_cmake' +[2.459s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/ubuntu/ros2_ws/src/beacon_positioning' +[2.494s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems +[2.494s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell +[2.495s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment +[2.575s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/ubuntu/ros2_ws/build/beacon_positioning': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake /home/ubuntu/ros2_ws/src/beacon_positioning -DCMAKE_INSTALL_PREFIX=/home/ubuntu/ros2_ws/install/beacon_positioning +[7.056s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/ubuntu/ros2_ws/build/beacon_positioning' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake /home/ubuntu/ros2_ws/src/beacon_positioning -DCMAKE_INSTALL_PREFIX=/home/ubuntu/ros2_ws/install/beacon_positioning +[7.067s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/ubuntu/ros2_ws/build/beacon_positioning': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake --build /home/ubuntu/ros2_ws/build/beacon_positioning -- -j4 -l4 +[8.769s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/ubuntu/ros2_ws/build/beacon_positioning' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/foxy /usr/bin/cmake --build /home/ubuntu/ros2_ws/build/beacon_positioning -- -j4 -l4 +[9.104s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(beacon_positioning) +[9.141s] Level 1:colcon.colcon_core.environment:checking '/home/ubuntu/ros2_ws/install/beacon_positioning' for CMake module files +[9.143s] Level 1:colcon.colcon_core.environment:checking '/home/ubuntu/ros2_ws/install/beacon_positioning' for CMake config files +[9.145s] Level 1:colcon.colcon_core.environment:checking '/home/ubuntu/ros2_ws/install/beacon_positioning/bin' +[9.145s] Level 1:colcon.colcon_core.environment:checking '/home/ubuntu/ros2_ws/install/beacon_positioning/lib/pkgconfig/beacon_positioning.pc' +[9.146s] Level 1:colcon.colcon_core.environment:checking '/home/ubuntu/ros2_ws/install/beacon_positioning/lib/python3.8/site-packages' +[9.147s] Level 1:colcon.colcon_core.environment:checking '/home/ubuntu/ros2_ws/install/beacon_positioning/bin' +[9.169s] INFO:colcon.colcon_core.shell:Creating package script '/home/ubuntu/ros2_ws/install/beacon_positioning/share/beacon_positioning/package.ps1' +[9.173s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/ubuntu/ros2_ws/install/beacon_positioning/share/beacon_positioning/package.dsv' +[9.175s] INFO:colcon.colcon_core.shell:Creating package script '/home/ubuntu/ros2_ws/install/beacon_positioning/share/beacon_positioning/package.sh' +[9.178s] INFO:colcon.colcon_core.shell:Creating package script '/home/ubuntu/ros2_ws/install/beacon_positioning/share/beacon_positioning/package.bash' +[9.181s] INFO:colcon.colcon_core.shell:Creating package script '/home/ubuntu/ros2_ws/install/beacon_positioning/share/beacon_positioning/package.zsh' +[9.183s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/ubuntu/ros2_ws/install/beacon_positioning/share/colcon-core/packages/beacon_positioning) +[9.195s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:closing loop +[9.196s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:loop closed +[9.196s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete finished with '2' +[9.196s] DEBUG:colcon.colcon_core.event_reactor:joining thread +[9.238s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.notify_send': Could not find 'notify-send' +[9.238s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.terminal_notifier': Not used on non-Darwin systems +[9.238s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_notification.desktop_notification.win32': Not used on non-Windows systems +[9.238s] INFO:colcon.colcon_notification.desktop_notification:Sending desktop notification using 'notify2' +[9.241s] 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 +[9.241s] DEBUG:colcon.colcon_core.event_reactor:joined thread +[9.265s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/ubuntu/ros2_ws/install/local_setup.ps1' +[9.269s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/ubuntu/ros2_ws/install/_local_setup_util_ps1.py' +[9.273s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/ubuntu/ros2_ws/install/setup.ps1' +[9.295s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/ubuntu/ros2_ws/install/local_setup.sh' +[9.297s] INFO:colcon.colcon_core.shell:Creating prefix util module '/home/ubuntu/ros2_ws/install/_local_setup_util_sh.py' +[9.299s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/ubuntu/ros2_ws/install/setup.sh' +[9.321s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/ubuntu/ros2_ws/install/local_setup.bash' +[9.323s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/ubuntu/ros2_ws/install/setup.bash' +[9.344s] INFO:colcon.colcon_core.shell:Creating prefix script '/home/ubuntu/ros2_ws/install/local_setup.zsh' +[9.346s] INFO:colcon.colcon_core.shell:Creating prefix chain script '/home/ubuntu/ros2_ws/install/setup.zsh' diff --git a/log/latest_build b/log/latest_build index 71b1c7bb..ae531d01 120000 --- a/log/latest_build +++ b/log/latest_build @@ -1 +1 @@ -build_2023-04-19_09-42-14 \ No newline at end of file +build_2023-04-19_10-13-18 \ No newline at end of file diff --git a/src/beacon_positioning/CMakeLists.txt b/src/beacon_positioning/CMakeLists.txt new file mode 100644 index 00000000..480f22e6 --- /dev/null +++ b/src/beacon_positioning/CMakeLists.txt @@ -0,0 +1,61 @@ +cmake_minimum_required(VERSION 3.5) +project(beacon_positioning) + +# Default to C99 +if(NOT CMAKE_C_STANDARD) + set(CMAKE_C_STANDARD 99) +endif() + +# Default to C++14 +if(NOT CMAKE_CXX_STANDARD) + set(CMAKE_CXX_STANDARD 14) +endif() + +if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") + add_compile_options(-Wall -Wextra -Wpedantic) +endif() + +# find dependencies +find_package(ament_cmake REQUIRED) +# uncomment the following section in order to fill in +# further dependencies manually. +# find_package( REQUIRED) +find_package(rclcpp REQUIRED) +find_package(std_msgs REQUIRED) +find_package(positioning_systems_api REQUIRED) +find_package(rosidl_default_generators REQUIRED) +#find_package(beacon_positioning REQUIRED) + +rosidl_generate_interfaces(${PROJECT_NAME} + "msg/TrackerPosition.msg" # message for tracker position +) + +add_executable(tracker_position src/tracker_position.cpp) +ament_target_dependencies(tracker_position rclcpp std_msgs) + +target_link_libraries(tracker_position + positioning_systems_api::serial_communication + positioning_systems_api::rtls_driver +) + +install(TARGETS tracker_position + DESTINATION lib/${PROJECT_NAME}) + +install( + DIRECTORY launch + DESTINATION share/${PROJECT_NAME} +) + + +if(BUILD_TESTING) + find_package(ament_lint_auto REQUIRED) + # the following line skips the linter which checks for copyrights + # uncomment the line when a copyright and license is not present in all source files + #set(ament_cmake_copyright_FOUND TRUE) + # the following line skips cpplint (only works in a git repo) + # uncomment the line when this package is not in a git repo + #set(ament_cmake_cpplint_FOUND TRUE) + ament_lint_auto_find_test_dependencies() +endif() + +ament_package() diff --git a/src/beacon_positioning/launch/beacon_positioning_launch.py b/src/beacon_positioning/launch/beacon_positioning_launch.py new file mode 100644 index 00000000..21e65100 --- /dev/null +++ b/src/beacon_positioning/launch/beacon_positioning_launch.py @@ -0,0 +1,27 @@ +from launch import LaunchDescription +from launch_ros.actions import Node + +def generate_launch_description(): + return LaunchDescription([ + Node( + package="beacon_positioning", + executable="tracker_position", + name="beacon_tracker_0", + namespace="tracker0", + parameters=[ + {"tracker_serial_port": "/dev/ttyUSB0"} + ] + ), + Node( + package="beacon_positioning", + executable="tracker_position", + name="beacon_tracker_1", + namespace="tracker1", + output="screen", + emulate_tty=True, + parameters=[ + {"tracker_serial_port": "/dev/ttyUSB1"} + ] + ) + + ]) diff --git a/src/beacon_positioning/msg/TrackerPosition.msg b/src/beacon_positioning/msg/TrackerPosition.msg new file mode 100644 index 00000000..23ecbff4 --- /dev/null +++ b/src/beacon_positioning/msg/TrackerPosition.msg @@ -0,0 +1,5 @@ +int32 id +int64 x_pos +int64 y_pos +int64 z_pos +int64[4] anchor_distances diff --git a/src/beacon_positioning/package.xml b/src/beacon_positioning/package.xml new file mode 100644 index 00000000..c3d146da --- /dev/null +++ b/src/beacon_positioning/package.xml @@ -0,0 +1,24 @@ + + + + beacon_positioning + 0.0.0 + ROS 2 package to read the Terabee Robot Positioning System beacons positions + sem + Apache License 2.0 + + ament_cmake + rosidl_default_generators + rosidl_default_runtime + rclcpp + std_msgs + + rosidl_interface_packages + + ament_lint_auto + ament_lint_common + + + ament_cmake + + diff --git a/src/beacon_positioning/src/tracker_position.cpp b/src/beacon_positioning/src/tracker_position.cpp new file mode 100644 index 00000000..e319e0ad --- /dev/null +++ b/src/beacon_positioning/src/tracker_position.cpp @@ -0,0 +1,183 @@ +#include +#include + +#include "rclcpp/rclcpp.hpp" +#include "std_msgs/msg/string.hpp" +#include "beacon_positioning/msg/tracker_position.hpp" + +#include "rtls_driver/rtls_driver.hpp" + +// from the example: https://github.com/Terabee/positioning_systems_api/blob/master/examples/rtls_tracker_example.cpp +#include "serial_communication/serial.hpp" + +#define TRACKER_0_PORT "/dev/ttyUSB0" +#define TRACKER_1_PORT "/dev/ttyUSB1" + +#define TRACKER_0_PRIORITY 0 +#define TRACKER_1_PRIORITY 1 +using SerialInterface = terabee::serial_communication::Serial; + +using namespace std::chrono_literals; + +class BeaconPositioningPublisher : public rclcpp::Node +{ +public: + BeaconPositioningPublisher() : Node("beacon_positioning") + { + + this->declare_parameter("tracker_serial_port", "/dev/ttyUSB0"); + + std::string serial_port_name = this->get_parameter("tracker_serial_port").as_string(); + + RCLCPP_INFO(this->get_logger(), "serial port is %s\n", serial_port_name.c_str()); + + serial_port = std::make_shared("/dev/ttyUSB0"); + serial_port->setBaudrate(115200); + serial_port->setTimeout(800ms); + + rtls_device = terabee::RtlsDevice(serial_port); + + RCLCPP_INFO(this->get_logger(), "Opening serial port of tracker!"); + serial_port->open(); + + if (!serial_port->isOpen()) + { + RCLCPP_ERROR(this->get_logger(), "Failed to open serial port!"); + return; + } + + publisher_ = this->create_publisher("beacon_positioning", 10); + timer_ = this->create_wall_timer( + 500ms, std::bind(&BeaconPositioningPublisher::timer_callback, this)); + } + + void setup_rtlsdevice(terabee::RtlsDevice *rtls_device, int priority, int label, int update_time, int network_id, bool long_message) + { + rtls_device->disableTrackerStream(); + serial_port->flushInput(); + rtls_device->setDevice(terabee::RtlsDevice::device_type::tracker, priority); + rtls_device->setLabel(label); + rtls_device->setUpdateTime(update_time); + rtls_device->setNetworkId(network_id); + if (long_message) + { + rtls_device->setTrackerMessageLong(); + } + else + { + rtls_device->setTrackerMessageShort(); + } + rtls_device->enableLED(); + rtls_device->requestConfig(); + device_configuration = rtls_device->getConfig(); + + rtls_device->enableTrackerStream(); + + RCLCPP_INFO(this->get_logger(), "Tracker configured"); + } + + std::shared_ptr get_serial_port() + { + return serial_port; + } + + void publish(beacon_positioning::msg::TrackerPosition msg) + { + publisher_->publish(msg); + } + + void set_tracker_id(int id) + { + if (id >= 0) { + tracker_id = id; + } + } + + int get_tracker_id() + { + return tracker_id; + } + +private: + void timer_callback() + + { + // auto message = std_msgs::msg::String(); + // message.data = "Hello beacons!"; + // RCLCPP_INFO(this->get_logger(), "Publishing: '%s'", message.data.c_str()); + // publisher_->publish(message); + } + + rclcpp::TimerBase::SharedPtr timer_; // timer to trigger the + rclcpp::Publisher::SharedPtr publisher_; // pointer to publisher object + int tracker_id; + + // terabee tower evo variables + std::shared_ptr serial_port; // serial port for communicating with tracker + terabee::RtlsDevice::config_t device_configuration; + terabee::RtlsDevice::OnTrackerDataCallback tracker_data_callback_; + terabee::RtlsDevice::tracker_msg_t tracker_msg; + terabee::RtlsDevice rtls_device; +}; + +int main(int argc, char **argv) +{ + (void)argc; + (void)argv; + + printf("starting tracker node of beacon_positioning package\n"); + + rclcpp::init(argc, argv); + rclcpp::executors::MultiThreadedExecutor executor; + std::shared_ptr node = std::make_shared(); + executor.add_node(node); + terabee::RtlsDevice rtls_device(node->get_serial_port()); + if (node->get_parameter("tracker_serial_port").as_string().compare(TRACKER_0_PORT)) + { + RCLCPP_INFO(node->get_logger(),"Configuring RTLS device for tracker 0"); + node->set_tracker_id(0); + node->setup_rtlsdevice(&rtls_device, 0, 0, 50, 0, true); + } else + { + RCLCPP_INFO(node->get_logger(),"Configuring RTLS device for tracker 1"); + node->set_tracker_id(1); + node->setup_rtlsdevice(&rtls_device, 1, 1, 50, 0, true); + } + + rtls_device.registerOnDistanceDataCaptureCallback([&node](const terabee::RtlsDevice::tracker_msg_t &tracker_msg) + { + if (tracker_msg.is_valid_position) + { + RCLCPP_INFO(node->get_logger(), "x = %f, y = %f, z = %f", tracker_msg.tracker_position_xyz.at(0), tracker_msg.tracker_position_xyz.at(1), tracker_msg.tracker_position_xyz.at(2)); + for (int i = 0; i < tracker_msg.anchors_data.size(); i++) + { + RCLCPP_INFO(node->get_logger(), "anchor number= %d, distance = %d, x = %d, y = %d, z = %d", tracker_msg.anchors_data[i].number, tracker_msg.anchors_data[i].distance, tracker_msg.anchors_data[i].pos_x, tracker_msg.anchors_data[i].pos_y, tracker_msg.anchors_data[i].pos_z); + } + RCLCPP_INFO(node->get_logger(), ""); + auto message = beacon_positioning::msg::TrackerPosition(); + message.id = node->get_tracker_id(); + message.x_pos = tracker_msg.tracker_position_xyz.at(0); + message.y_pos = tracker_msg.tracker_position_xyz.at(1); + message.z_pos = tracker_msg.tracker_position_xyz.at(2); + message.anchor_distances = {0, 0, 0, 0}; + for (int i = 0; i < tracker_msg.anchors_data.size(); i++) + { + message.anchor_distances[i] = tracker_msg.anchors_data[i].distance; + } + + node->publish(message); + } + else + { + RCLCPP_ERROR(node->get_logger(), "invalid tracker position"); + // RCLCPP_INFO(node->get_logger(), "x = %f, y = %f, z = %f", tracker_msg.tracker_position_xyz[0], tracker_msg.tracker_position_xyz[1], tracker_msg.tracker_position_xyz[2]); + } }); + + rtls_device.startReadingStream(); + executor.spin(); + rclcpp::shutdown(); + + rtls_device.stopReadingStream(); + + return node->get_serial_port()->close() ? 0 : -1; +}