Skip to content

踩坑GitHub stereolabs/zed-ros2-wrapper9 个月前

ZED相机描述包依赖过重致Docker构建失败,需独立zed_description包 ​

本文由 AI 根据公开内容整理,可能有误,请以原文为准:Make camera description a standalone-pkg(GitHub stereolabs/zed-ros2-wrapper #410)

状态:已解决

问题 ​

在Docker容器中仅构建机器人描述时,zed_wrapper的package.xml强制依赖zed_components及图像传输插件,导致无需相机驱动的容器构建失败。用户请求将URDF/Mesh剥离为独立包,仅保留zed_msgs依赖以支持rosdep解析。

环境 ​

ROS2 Humble/Jazzy/Rolling,ZED ROS2 Wrapper,Docker容器环境

解决办法 ​

  1. 停止使用zed_wrapper获取相机描述文件,改用官方独立仓库zed-ros2-description。
  2. 通过apt安装新包zed_description(已索引至Humble、Jazzy和Rolling发行版)。
  3. 更新xacro引用路径,注意Meshes和URDF资源已从zed_msgs包中移除并迁移至新包。
  4. 在Dockerfile中使用rosdep install zed_description替代原驱动包依赖,避免拉取zed_components等运行时组件。

讨论原作者:@pucciland95 等,版权归原作者所有。

来源

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

  1. GitHub stereolabs/zed-ros2-wrapper #410:Make camera description a standalone-pkg访问 2026-10-27