Skip to content

踩坑GitHub unitreerobotics/unitree_mujoco7 个月前

unitree_mujoco报错lo不支持multicast致仿真无响应 ​

本文由 AI 根据公开内容整理,可能有误,请以原文为准:unitree_mujoco和stand_go2例子报错(GitHub unitreerobotics/unitree_mujoco #75)

状态:有绕过办法

问题 ​

运行unitree_mujoco加载或stand_go2.py示例时,报错selected interface "lo" is not multicast-capable: disabling multicast,导致仿真器无反应。若错误选择非RUNNING状态的组播接口(如eno1),会进一步触发cyclonedds.domain.Domain初始化异常及channel factory init error。

环境 ​

unitree_mujoco仿真器,stand_go2.py示例,CycloneDDS通信中间件,Linux系统网络环境。

解决办法 ​

  1. 执行 ifconfig | grep MULTICAST 查找支持组播的网络接口,必须选择flags中包含RUNNING的接口(如wlo1、eth0),避免选择仅UP但未连接的接口。
  2. 修改 /simulate_python/config.py 配置文件,将 INTERFACE 参数从 lo 更改为上一步确认的有效物理网卡名称。
  3. 修改 example/python/stand_go2.py 脚本,同步更新 ChannelFactoryInitialize 函数中的接口参数为同一有效网卡。
  4. 重新运行仿真脚本,确保CycloneDDS域初始化成功且仿真器正常响应。

讨论原作者:@tonywang-sh 等,版权归原作者所有。

来源

本页事实对应的公开页面,以原文为准。

  1. GitHub unitreerobotics/unitree_mujoco #75:unitree_mujoco和stand_go2例子报错访问 2026-10-23