5.5 hbm 模型无法加载
典型现象
YOLO 或检测类节点启动失败,日志中出现:
No such file or directory: config/xxx.hbmmodel not foundcannot open model: <path>- 启动后什么都不输出就
exit 0 hbm version mismatch或model incompatible
快速判断
在板端找到真实的 hbm 文件位置:
find /opt/tros -name "*.hbm" 2>/dev/null
把 launch 文件中的相对路径(如 config/yolo.hbm)改成 find 输出的绝对路径。
不要依赖相对路径
大多数失败是因为 launch 或节点在"当前工作目录"下寻找 config/xxx.hbm,但实际文件在 /opt/tros/humble/lib/<包名>/config/(或 share/<包>/config/)。绝对路径才能稳定。