Build Humble from source on arm32 Linux4.9.118
Hello everyone, I am trying to build ROS 2 Humble from source on ARM32.Compilation is complete. After entering the system, execute 'source setup.sh'. When executing the command 'ros2 run demonodescpp listener', the following error occurs. What should I do? Has something not been configured correctly?
root:/# ros2 run demo_nodes_cpp listener --ros-args --log-level DEBUG
[DEBUG] [1682351510.628629269] [rclcpp]: signal handler installed
[DEBUG] [1682351510.628661811] [rclcpp]: deferred_signal_handler(): waiting for SIGINT/SIGTERM or uninstall
[DEBUG] [1682351510.628993644] [rcl]: Initializing wait set with '0' subscriptions, '2' guard conditions, '0' timers, '0' clients, '0' services
[DEBUG] [1682351510.629111353] [listener]: Load library libtopics_library.so
[DEBUG] [1682351510.968056520] [listener]: Instantiate class
rclcpp_components::NodeFactoryTemplate<demo_nodes_cpp::Listener>
[DEBUG] [1682351510.968383020] [rcl]: Couldn't parse arg 0 (/opt/ros/humble/lib/demo_nodes_cpp/listener) as a remap rule in its deprecated form. Error: Expected lexeme type (19) not found, search ended a9
[DEBUG] [1682351510.968501270] [rcl]: Initializing node 'listener' in namespace ''
[DEBUG] [1682351510.968578603] [rcl]: Using domain ID of '0'
>>> [rcutils|error_handling.c:108] rcutils_set_error_state()
This error state is being overwritten:
'Type support not from this implementation. Got:
error not set
error not set
while fetching it, at rmw_fastrtps-humble/rmw_fastrtps_cpp/src/publisher.cpp:119, at rmw_fastrtps-humble'
with this new error message:
'rcl node's rmw handle is invalid, at rcl-humble/rcl/src/rcl/node.c:415'
rcutils_reset_error() should be called after error handling to avoid this.
<<<
[ERROR] [1682351510.997860395] [rcl]: Failed to fini publisher for node: 1
terminate called after throwing an instance of 'rclcpp::exceptions::RCLError'
what(): failed to initialize rcl node: rcl node's rmw handle is invalid, at rcl/src/rcl/node.c:415
[ros2run]: Aborted
export
output:
export AMENT_PREFIX_PATH='/opt/ros/humble'
export AMENT_TRACE_SETUP_FILES='test'
export COLCON_PREFIX_PATH='/opt/ros/humble'
export HOME='/root'
export LD_LIBRARY_PATH='/usr/lib:/opt/ros/humble/lib'
export PATH='/opt/ros/humble/bin:/usr/sbin:/usr/bin:/sbin:/bin'
export PS1='\u@\h:\w\$ '
export PWD='/'
export PYTHONPATH='/usr/lib/python3.10:/usr/lib/python3.10/site-packages:/usr/lib/python3.10/lib-
dynload:/opt/ros/humble/lib/python3.10/site-packages:/opt/ros/humble/lib/python3.10/dist-packages'
export RCUTILS_LOGGING_DEFAULT_LEVEL='DEBUG'
export ROS_DISTRO='humble'
export ROS_LOCALHOST_ONLY='0'
export ROS_PYTHON_VERSION='3'
export ROS_VERSION='2'
Asked by chengwei_peng on 2023-04-25 22:18:30 UTC
Comments