我在Ubuntu20.04上使用ros2银河,当运行更多的节点时,我会得到错误,无论运行什么,我都会得到相同的错误:
1666768083.909628 [0] ros2: selected interface "lo" is not multicast-capable: disabling multicast
1666768083.909821 [0] ros2: Failed to find a free participant index for domain 0
[ERROR] [1666768083.909895118] [rmw_cyclonedds_cpp]: rmw_create_node: failed to create domain, error Error
>>> [rcutils|error_handling.c:108] rcutils_set_error_state()
This error state is being overwritten:
'error not set, at /tmp/binarydeb/ros-galactic-rcl-3.1.3/src/rcl/node.c:261'
with this new error message:
'rcl node's rmw handle is invalid, at /tmp/binarydeb/ros-galactic-rcl-3.1.3/src/rcl/node.c:413'
rcutils_reset_error() should be called after error handling to avoid this.
<<<
[ERROR] [1666768083.909944183] [rcl]: Failed to fini publisher for node: 1
error creating node: rcl node's rmw handle is invalid, at /tmp/binarydeb/ros-galactic-rcl-3.1.3/src/rcl/node.c:413
我认为它只允许我运行一些节点,但我没有找到任何文件来改变它。
发布于 2022-11-06 19:04:14
在回环上标记组播可以解决您的问题。以下是一些说明:
路由添加-net 224.0.0.0 Net掩码240.0.0.0dev lo
ifconfig lo组播
https://stackoverflow.com/questions/74232474
复制相似问题