micro-ROS / micro-ROS-Agent

ROS 2 package using Micro XRCE-DDS Agent.
Apache License 2.0
101 stars 58 forks source link

Cannot build agent on arm64 (RPi 3B+) #178

Closed UVk closed 1 year ago

UVk commented 1 year ago

Setup

Steps to reproduce the issue

Following the instructions on Repo

Expected behavior

micro_ros_msgs - Build successfully micro_ros_setup - Build successfully micro_ros_agent - Build successfully

Actual behavior

micro_ros_msgs - Build successfully micro_ros_setup - Build successfully micro_ros_agent - Freeze at micro_ros_agent:build 9%

Additional information

I did a fresh install of the OS, ROS2, and micro-ros few times with the same results The same procedure on PC with Ubuntu works perfectly.

UVk commented 1 year ago

Here is the log:

HEAD is now at 021828f Fix requester and replier reuse behaviour (#318)
[ 12%] No patch step for 'xrceagent'
[ 18%] Performing configure step for 'xrceagent'
loading initial cache file /home/ros/uros/build/micro_ros_agent/agent/tmp/xrceagent-cache-.cmake
-- Setting build type to 'Release' as none was specified.
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (tinyxml2)
  does not match the name of the calling package (TinyXML2).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/modules/FindTinyXML2.cmake:40 (find_package_handle_standard_args)
  /opt/ros/humble/share/fastrtps/cmake/fastrtps-config.cmake:51 (find_package)
  CMakeLists.txt:153 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/ros/uros/build/micro_ros_agent/agent/src/xrceagent-build
[ 25%] Performing build step for 'xrceagent'
[  2%] Building CXX object CMakeFiles/microxrcedds_agent.dir/src/cpp/Agent.cpp.o
[  4%] Building CXX object CMakeFiles/microxrcedds_agent.dir/src/cpp/AgentInstance.cpp.o
[  7%] Building CXX object CMakeFiles/microxrcedds_agent.dir/src/cpp/Root.cpp.o
[  9%] Building CXX object CMakeFiles/microxrcedds_agent.dir/src/cpp/processor/Processor.cpp.o
pablogs9 commented 1 year ago

There is no error on the log you provide, can you provide:

UVk commented 1 year ago

I know there is no error, the RPi will freeze completely (only power down will reset it). I reproduced it by following the instructions on this repo Readme.MD

UVk commented 1 year ago

This is logall.log [4.072s] DEBUG:colcon:Command line arguments: ['/usr/bin/colcon', 'build'] [4.073s] DEBUG:colcon:Parsed command line arguments: Namespace(log_base=None, log_level=None, verb_name='build', build_base='build', install_base='install', merge_install=False, symlink_install=False, test_result_base=None, continue_on_error=False, executor='parallel', parallel_workers=4, event_handlers=None, ignore_user_meta=False, metas=['./colcon.meta'], base_paths=['.'], packages_ignore=None, packages_ignore_regex=None, paths=None, packages_up_to=None, packages_up_to_regex=None, packages_above=None, packages_above_and_dependencies=None, packages_above_depth=None, packages_select_by_dep=None, packages_skip_by_dep=None, packages_skip_up_to=None, packages_select_build_failed=False, packages_skip_build_finished=False, packages_select_test_failures=False, packages_skip_test_passed=False, packages_select=None, packages_skip=None, packages_select_regex=None, packages_skip_regex=None, packages_start=None, packages_end=None, allow_overriding=[], cmake_args=None, cmake_target=None, cmake_target_skip_unavailable=False, cmake_clean_cache=False, cmake_clean_first=False, cmake_force_configure=False, ament_cmake_args=None, catkin_cmake_args=None, catkin_skip_building_tests=False, verb_parser=<colcon_defaults.argument_parser.defaults.DefaultArgumentsDecorator object at 0xffff80cb60e0>, verb_extension=<colcon_core.verb.build.BuildVerb object at 0xffff8105bd60>, main=<bound method BuildVerb.main of <colcon_core.verb.build.BuildVerb object at 0xffff8105bd60>>) [4.422s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) check parameters [4.423s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) check parameters [4.423s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) check parameters [4.423s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) check parameters [4.424s] Level 1:colcon.colcon_core.package_discovery:discover_packages(colcon_meta) discover [4.424s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) discover [4.424s] INFO:colcon.colcon_core.package_discovery:Crawling recursively for packages in '/home/ros/uros' [4.425s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ignore', 'ignore_ament_install'] [4.426s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore' [4.426s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ignore_ament_install' [4.427s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_pkg'] [4.427s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_pkg' [4.428s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['colcon_meta'] [4.428s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'colcon_meta' [4.428s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['ros'] [4.429s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'ros' [4.648s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['cmake', 'python'] [4.648s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'cmake' [4.649s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'python' [4.649s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extensions ['python_setup_py'] [4.649s] Level 1:colcon.colcon_core.package_identification:_identify(.) by extension 'python_setup_py' [4.650s] Level 1:colcon.colcon_core.package_identification:_identify(build) by extensions ['ignore', 'ignore_ament_install'] [4.651s] Level 1:colcon.colcon_core.package_identification:_identify(build) by extension 'ignore' [4.652s] Level 1:colcon.colcon_core.package_identification:_identify(build) ignored [4.653s] Level 1:colcon.colcon_core.package_identification:_identify(install) by extensions ['ignore', 'ignore_ament_install'] [4.654s] Level 1:colcon.colcon_core.package_identification:_identify(install) by extension 'ignore' [4.654s] Level 1:colcon.colcon_core.package_identification:_identify(install) ignored [4.655s] Level 1:colcon.colcon_core.package_identification:_identify(log) by extensions ['ignore', 'ignore_ament_install'] [4.656s] Level 1:colcon.colcon_core.package_identification:_identify(log) by extension 'ignore' [4.656s] Level 1:colcon.colcon_core.package_identification:_identify(log) ignored [4.666s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['ignore', 'ignore_ament_install'] [4.667s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ignore' [4.668s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ignore_ament_install' [4.669s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['colcon_pkg'] [4.669s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'colcon_pkg' [4.670s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['colcon_meta'] [4.670s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'colcon_meta' [4.671s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['ros'] [4.671s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'ros' [4.672s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['cmake', 'python'] [4.673s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'cmake' [4.673s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'python' [4.674s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extensions ['python_setup_py'] [4.674s] Level 1:colcon.colcon_core.package_identification:_identify(src) by extension 'python_setup_py' [4.683s] Level 1:colcon.colcon_core.package_identification:_identify(src/micro_ros_setup) by extensions ['ignore', 'ignore_ament_install'] [4.684s] Level 1:colcon.colcon_core.package_identification:_identify(src/micro_ros_setup) by extension 'ignore' [4.685s] Level 1:colcon.colcon_core.package_identification:_identify(src/micro_ros_setup) by extension 'ignore_ament_install' [4.686s] Level 1:colcon.colcon_core.package_identification:_identify(src/micro_ros_setup) by extensions ['colcon_pkg'] [4.686s] Level 1:colcon.colcon_core.package_identification:_identify(src/micro_ros_setup) by extension 'colcon_pkg' [4.686s] Level 1:colcon.colcon_core.package_identification:_identify(src/micro_ros_setup) by extensions ['colcon_meta'] [4.686s] Level 1:colcon.colcon_core.package_identification:_identify(src/micro_ros_setup) by extension 'colcon_meta' [4.687s] Level 1:colcon.colcon_core.package_identification:_identify(src/micro_ros_setup) by extensions ['ros'] [4.687s] Level 1:colcon.colcon_core.package_identification:_identify(src/micro_ros_setup) by extension 'ros' [4.721s] DEBUG:colcon.colcon_core.package_identification:Package 'src/micro_ros_setup' with type 'ros.ament_cmake' and name 'micro_ros_setup' [4.724s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros) by extensions ['ignore', 'ignore_ament_install'] [4.725s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros) by extension 'ignore' [4.726s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros) by extension 'ignore_ament_install' [4.726s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros) by extensions ['colcon_pkg'] [4.726s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros) by extension 'colcon_pkg' [4.727s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros) by extensions ['colcon_meta'] [4.727s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros) by extension 'colcon_meta' [4.728s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros) by extensions ['ros'] [4.728s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros) by extension 'ros' [4.729s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros) by extensions ['cmake', 'python'] [4.729s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros) by extension 'cmake' [4.730s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros) by extension 'python' [4.730s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros) by extensions ['python_setup_py'] [4.730s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros) by extension 'python_setup_py' [4.733s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent) by extensions ['ignore', 'ignore_ament_install'] [4.734s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent) by extension 'ignore' [4.734s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent) by extension 'ignore_ament_install' [4.735s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent) by extensions ['colcon_pkg'] [4.735s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent) by extension 'colcon_pkg' [4.736s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent) by extensions ['colcon_meta'] [4.736s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent) by extension 'colcon_meta' [4.736s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent) by extensions ['ros'] [4.737s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent) by extension 'ros' [4.738s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent) by extensions ['cmake', 'python'] [4.738s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent) by extension 'cmake' [4.738s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent) by extension 'python' [4.739s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent) by extensions ['python_setup_py'] [4.739s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent) by extension 'python_setup_py' [4.742s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/micro_ros_agent) by extensions ['ignore', 'ignore_ament_install'] [4.743s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/micro_ros_agent) by extension 'ignore' [4.743s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/micro_ros_agent) by extension 'ignore_ament_install' [4.744s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/micro_ros_agent) by extensions ['colcon_pkg'] [4.744s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/micro_ros_agent) by extension 'colcon_pkg' [4.745s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/micro_ros_agent) by extensions ['colcon_meta'] [4.745s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/micro_ros_agent) by extension 'colcon_meta' [4.746s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/micro_ros_agent) by extensions ['ros'] [4.746s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/micro_ros_agent) by extension 'ros' [4.756s] DEBUG:colcon.colcon_core.package_identification:Package 'src/uros/micro-ROS-Agent/micro_ros_agent' with type 'ros.ament_cmake' and name 'micro_ros_agent' [4.759s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap) by extensions ['ignore', 'ignore_ament_install'] [4.760s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap) by extension 'ignore' [4.761s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap) by extension 'ignore_ament_install' [4.761s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap) by extensions ['colcon_pkg'] [4.762s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap) by extension 'colcon_pkg' [4.762s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap) by extensions ['colcon_meta'] [4.762s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap) by extension 'colcon_meta' [4.763s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap) by extensions ['ros'] [4.763s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap) by extension 'ros' [4.764s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap) by extensions ['cmake', 'python'] [4.764s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap) by extension 'cmake' [4.765s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap) by extension 'python' [4.765s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap) by extensions ['python_setup_py'] [4.765s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap) by extension 'python_setup_py' [4.768s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/hooks) by extensions ['ignore', 'ignore_ament_install'] [4.769s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/hooks) by extension 'ignore' [4.770s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/hooks) by extension 'ignore_ament_install' [4.771s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/hooks) by extensions ['colcon_pkg'] [4.771s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/hooks) by extension 'colcon_pkg' [4.771s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/hooks) by extensions ['colcon_meta'] [4.772s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/hooks) by extension 'colcon_meta' [4.772s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/hooks) by extensions ['ros'] [4.773s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/hooks) by extension 'ros' [4.774s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/hooks) by extensions ['cmake', 'python'] [4.774s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/hooks) by extension 'cmake' [4.774s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/hooks) by extension 'python' [4.775s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/hooks) by extensions ['python_setup_py'] [4.775s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/hooks) by extension 'python_setup_py' [4.778s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/local) by extensions ['ignore', 'ignore_ament_install'] [4.779s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/local) by extension 'ignore' [4.780s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/local) by extension 'ignore_ament_install' [4.780s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/local) by extensions ['colcon_pkg'] [4.781s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/local) by extension 'colcon_pkg' [4.781s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/local) by extensions ['colcon_meta'] [4.782s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/local) by extension 'colcon_meta' [4.783s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/local) by extensions ['ros'] [4.783s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/local) by extension 'ros' [4.784s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/local) by extensions ['cmake', 'python'] [4.784s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/local) by extension 'cmake' [4.785s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/local) by extension 'python' [4.785s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/local) by extensions ['python_setup_py'] [4.786s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro-ROS-Agent/snap/local) by extension 'python_setup_py' [4.789s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro_ros_msgs) by extensions ['ignore', 'ignore_ament_install'] [4.790s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro_ros_msgs) by extension 'ignore' [4.790s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro_ros_msgs) by extension 'ignore_ament_install' [4.791s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro_ros_msgs) by extensions ['colcon_pkg'] [4.791s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro_ros_msgs) by extension 'colcon_pkg' [4.792s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro_ros_msgs) by extensions ['colcon_meta'] [4.792s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro_ros_msgs) by extension 'colcon_meta' [4.793s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro_ros_msgs) by extensions ['ros'] [4.793s] Level 1:colcon.colcon_core.package_identification:_identify(src/uros/micro_ros_msgs) by extension 'ros' [4.799s] DEBUG:colcon.colcon_core.package_identification:Package 'src/uros/micro_ros_msgs' with type 'ros.ament_cmake' and name 'micro_ros_msgs' [4.800s] Level 1:colcon.colcon_core.package_discovery:discover_packages(recursive) using defaults [4.800s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) discover [4.801s] Level 1:colcon.colcon_core.package_discovery:discover_packages(ignore) using defaults [4.801s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) discover [4.801s] Level 1:colcon.colcon_core.package_discovery:discover_packages(path) using defaults [5.077s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) check parameters [5.078s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) discover [5.114s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 1 installed packages in /home/ros/ros_ws/install [5.141s] DEBUG:colcon.colcon_installed_package_information.package_discovery:Found 180 installed packages in /opt/ros/humble [5.152s] Level 1:colcon.colcon_core.package_discovery:discover_packages(prefix_path) using defaults [5.720s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_msgs' build argument 'cmake_args' from command line to 'None' [5.721s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_msgs' build argument 'cmake_target' from command line to 'None' [5.721s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_msgs' build argument 'cmake_target_skip_unavailable' from command line to 'False' [5.721s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_msgs' build argument 'cmake_clean_cache' from command line to 'False' [5.721s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_msgs' build argument 'cmake_clean_first' from command line to 'False' [5.722s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_msgs' build argument 'cmake_force_configure' from command line to 'False' [5.722s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_msgs' build argument 'ament_cmake_args' from command line to 'None' [5.722s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_msgs' build argument 'catkin_cmake_args' from command line to 'None' [5.722s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_msgs' build argument 'catkin_skip_building_tests' from command line to 'False' [5.722s] DEBUG:colcon.colcon_core.verb:Building package 'micro_ros_msgs' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/ros/uros/build/micro_ros_msgs', '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/ros/uros/install/micro_ros_msgs', 'merge_install': False, 'path': '/home/ros/uros/src/uros/micro_ros_msgs', 'symlink_install': False, 'test_result_base': None} [5.731s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_setup' build argument 'cmake_args' from command line to 'None' [5.731s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_setup' build argument 'cmake_target' from command line to 'None' [5.731s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_setup' build argument 'cmake_target_skip_unavailable' from command line to 'False' [5.731s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_setup' build argument 'cmake_clean_cache' from command line to 'False' [5.732s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_setup' build argument 'cmake_clean_first' from command line to 'False' [5.732s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_setup' build argument 'cmake_force_configure' from command line to 'False' [5.732s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_setup' build argument 'ament_cmake_args' from command line to 'None' [5.732s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_setup' build argument 'catkin_cmake_args' from command line to 'None' [5.732s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_setup' build argument 'catkin_skip_building_tests' from command line to 'False' [5.733s] DEBUG:colcon.colcon_core.verb:Building package 'micro_ros_setup' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/ros/uros/build/micro_ros_setup', '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/ros/uros/install/micro_ros_setup', 'merge_install': False, 'path': '/home/ros/uros/src/micro_ros_setup', 'symlink_install': False, 'test_result_base': None} [5.741s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_agent' build argument 'cmake_args' from command line to 'None' [5.741s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_agent' build argument 'cmake_target' from command line to 'None' [5.742s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_agent' build argument 'cmake_target_skip_unavailable' from command line to 'False' [5.742s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_agent' build argument 'cmake_clean_cache' from command line to 'False' [5.742s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_agent' build argument 'cmake_clean_first' from command line to 'False' [5.742s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_agent' build argument 'cmake_force_configure' from command line to 'False' [5.742s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_agent' build argument 'ament_cmake_args' from command line to 'None' [5.742s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_agent' build argument 'catkin_cmake_args' from command line to 'None' [5.743s] Level 5:colcon.colcon_core.verb:set package 'micro_ros_agent' build argument 'catkin_skip_building_tests' from command line to 'False' [5.743s] DEBUG:colcon.colcon_core.verb:Building package 'micro_ros_agent' with the following arguments: {'ament_cmake_args': None, 'build_base': '/home/ros/uros/build/micro_ros_agent', '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/ros/uros/install/micro_ros_agent', 'merge_install': False, 'path': '/home/ros/uros/src/uros/micro-ROS-Agent/micro_ros_agent', 'symlink_install': False, 'test_result_base': None} [5.748s] INFO:colcon.colcon_core.executor:Executing jobs using 'parallel' executor [5.779s] DEBUG:colcon.colcon_parallel_executor.executor.parallel:run_until_complete [5.781s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/ros/uros/src/uros/micro_ros_msgs' with build type 'ament_cmake' [5.783s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/ros/uros/src/uros/micro_ros_msgs' [5.820s] INFO:colcon.colcon_core.plugin_system:Skipping extension 'colcon_core.shell.bat': Not used on non-Windows systems [5.822s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell [5.822s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment [5.865s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/ros/uros/src/micro_ros_setup' with build type 'ament_cmake' [5.867s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/ros/uros/src/micro_ros_setup' [5.881s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell [5.882s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment [5.964s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/ros/uros/build/micro_ros_msgs': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/ros/uros/build/micro_ros_msgs -- -j4 -l4 [6.050s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/ros/uros/build/micro_ros_setup': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/ros/uros/build/micro_ros_setup -- -j4 -l4 [6.927s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/ros/uros/build/micro_ros_setup' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/ros/uros/build/micro_ros_setup -- -j4 -l4 [7.233s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/ros/uros/build/micro_ros_setup': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/ros/uros/build/micro_ros_setup [7.889s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(micro_ros_setup) [7.978s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/ros/uros/build/micro_ros_setup' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/ros/uros/build/micro_ros_setup [7.998s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_setup' for CMake module files [8.006s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_setup' for CMake config files [8.014s] Level 1:colcon.colcon_core.shell:create_environment_hook('micro_ros_setup', 'cmake_prefix_path') [8.028s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/hook/cmake_prefix_path.ps1' [8.037s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/hook/cmake_prefix_path.dsv' [8.042s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/hook/cmake_prefix_path.sh' [8.051s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_setup/lib' [8.053s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_setup/bin' [8.054s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_setup/lib/pkgconfig/micro_ros_setup.pc' [8.057s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_setup/lib/python3.10/site-packages' [8.060s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_setup/bin' [8.074s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/package.ps1' [8.082s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/package.dsv' [8.089s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/package.sh' [8.096s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/package.bash' [8.104s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/package.zsh' [8.114s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/ros/uros/install/micro_ros_setup/share/colcon-core/packages/micro_ros_setup) [8.327s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(micro_ros_setup) [8.351s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_setup' for CMake module files [8.358s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_setup' for CMake config files [8.363s] Level 1:colcon.colcon_core.shell:create_environment_hook('micro_ros_setup', 'cmake_prefix_path') [8.377s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/hook/cmake_prefix_path.ps1' [8.381s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/hook/cmake_prefix_path.dsv' [8.384s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/hook/cmake_prefix_path.sh' [8.390s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_setup/lib' [8.391s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_setup/bin' [8.392s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_setup/lib/pkgconfig/micro_ros_setup.pc' [8.394s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_setup/lib/python3.10/site-packages' [8.397s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_setup/bin' [8.410s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/package.ps1' [8.416s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/package.dsv' [8.421s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/package.sh' [8.425s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/package.bash' [8.429s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_setup/share/micro_ros_setup/package.zsh' [8.433s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/ros/uros/install/micro_ros_setup/share/colcon-core/packages/micro_ros_setup) [10.114s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/ros/uros/build/micro_ros_msgs' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/ros/uros/build/micro_ros_msgs -- -j4 -l4 [11.041s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/ros/uros/build/micro_ros_msgs': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/ros/uros/build/micro_ros_msgs [11.721s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(micro_ros_msgs) [11.739s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoked command in '/home/ros/uros/build/micro_ros_msgs' returned '0': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --install /home/ros/uros/build/micro_ros_msgs [11.740s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_msgs' for CMake module files [11.749s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_msgs' for CMake config files [11.763s] Level 1:colcon.colcon_core.shell:create_environment_hook('micro_ros_msgs', 'cmake_prefix_path') [11.774s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/hook/cmake_prefix_path.ps1' [11.779s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/hook/cmake_prefix_path.dsv' [11.783s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/hook/cmake_prefix_path.sh' [11.788s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_msgs/lib' [11.789s] Level 1:colcon.colcon_core.shell:create_environment_hook('micro_ros_msgs', 'ld_library_path_lib') [11.798s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/hook/ld_library_path_lib.ps1' [11.802s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/hook/ld_library_path_lib.dsv' [11.805s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/hook/ld_library_path_lib.sh' [11.809s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_msgs/bin' [11.810s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_msgs/lib/pkgconfig/micro_ros_msgs.pc' [11.812s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_msgs/lib/python3.10/site-packages' [11.814s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_msgs/bin' [11.825s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/package.ps1' [11.829s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/package.dsv' [11.833s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/package.sh' [11.837s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/package.bash' [11.840s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/package.zsh' [11.843s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/ros/uros/install/micro_ros_msgs/share/colcon-core/packages/micro_ros_msgs) [12.759s] Level 1:colcon.colcon_core.environment:create_environment_scripts_only(micro_ros_msgs) [12.774s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_msgs' for CMake module files [12.782s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_msgs' for CMake config files [12.792s] Level 1:colcon.colcon_core.shell:create_environment_hook('micro_ros_msgs', 'cmake_prefix_path') [12.802s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/hook/cmake_prefix_path.ps1' [12.805s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/hook/cmake_prefix_path.dsv' [12.808s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/hook/cmake_prefix_path.sh' [12.814s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_msgs/lib' [12.815s] Level 1:colcon.colcon_core.shell:create_environment_hook('micro_ros_msgs', 'ld_library_path_lib') [12.825s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/hook/ld_library_path_lib.ps1' [12.828s] INFO:colcon.colcon_core.shell:Creating environment descriptor '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/hook/ld_library_path_lib.dsv' [12.831s] INFO:colcon.colcon_core.shell:Creating environment hook '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/hook/ld_library_path_lib.sh' [12.836s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_msgs/bin' [12.836s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_msgs/lib/pkgconfig/micro_ros_msgs.pc' [12.838s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_msgs/lib/python3.10/site-packages' [12.840s] Level 1:colcon.colcon_core.environment:checking '/home/ros/uros/install/micro_ros_msgs/bin' [12.851s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/package.ps1' [12.856s] INFO:colcon.colcon_core.shell:Creating package descriptor '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/package.dsv' [12.861s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/package.sh' [12.865s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/package.bash' [12.869s] INFO:colcon.colcon_core.shell:Creating package script '/home/ros/uros/install/micro_ros_msgs/share/micro_ros_msgs/package.zsh' [12.873s] Level 1:colcon.colcon_core.environment:create_file_with_runtime_dependencies(/home/ros/uros/install/micro_ros_msgs/share/colcon-core/packages/micro_ros_msgs) [12.876s] INFO:colcon.colcon_ros.task.ament_cmake.build:Building ROS package in '/home/ros/uros/src/uros/micro-ROS-Agent/micro_ros_agent' with build type 'ament_cmake' [12.877s] INFO:colcon.colcon_cmake.task.cmake.build:Building CMake package in '/home/ros/uros/src/uros/micro-ROS-Agent/micro_ros_agent' [12.887s] INFO:colcon.colcon_core.shell:Skip shell extension 'powershell' for command environment: Not usable outside of PowerShell [12.888s] DEBUG:colcon.colcon_core.shell:Skip shell extension 'dsv' for command environment [13.009s] DEBUG:colcon.colcon_core.event_handler.log_command:Invoking command in '/home/ros/uros/build/micro_ros_agent': AMENT_PREFIX_PATH=/home/ros/uros/install/micro_ros_msgs:${AMENT_PREFIX_PATH} CMAKE_PREFIX_PATH=/home/ros/uros/install/micro_ros_msgs:/home/ros/ros_ws/install/micro_ros_msgs:/opt/ros/humble LD_LIBRARY_PATH=/home/ros/uros/install/micro_ros_msgs/lib:${LD_LIBRARY_PATH} PYTHONPATH=/home/ros/uros/install/micro_ros_msgs/local/lib/python3.10/dist-packages:${PYTHONPATH} /usr/bin/cmake --build /home/ros/uros/build/micro_ros_agent -- -j4 -l4

pablogs9 commented 1 year ago

If the raspberry freezes maybe you are running out of RAM? Have you checked the htop during compilation?

UVk commented 1 year ago

I run it again now, here is the console log and the "top" output The CPU max was 80% and the mem max per PID was 20% The PRi is frozen in this situation

ros@yuval-ros:~/uros$ ros2 run micro_ros_setup build_agent.sh Building micro-ROS Agent Starting >>> micro_ros_msgs Finished <<< micro_ros_msgs [16.2s] Starting >>> micro_ros_agent [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent]micro_ros_agent:build 9% - 6min 36.4s] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent]micro_ros_agent:build 9% - 8min 40.7s] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent][10min 32.8s] [1/2 complete] [micro_ros_agent:build 9% - 10min 14.7s] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [Processing: micro_ros_agent] [13min 57.0s] [1/2 complete] [micro_ros_agent:build 9% - 13min 39.0s]

image

pablogs9 commented 1 year ago

Well, you're almost out of RAM memory and your swap is full. Your device is freezing due to a lack of memory for building.

image

UVk commented 1 year ago

Thanks to point it out. As far as you know, can I build it on x86 processor (PC) and copy it to the RPi 3?

pablogs9 commented 1 year ago

You should cross compile on the x86 machine for an ARM target

AhmadSameh commented 1 year ago

is there a way to cross compile other than using the ros_cross_compile pip package?