# 构建 Create3 示例找不到 irobot_create_msgs

> 原文链接：https://robotics.hellobike.com/pitfalls/2023-01-05-robotics-se-22807
> 频道：pitfalls | 更新日期：2023-01-05 | 标签：auto, stackexchange, irobot-create, ros-galactic
> 核心摘要：构建 create3_examples_ws 时缺少 irobot_create_msgs；ROS2 Humble 可用 apt 安装对应包。

# 构建 Create3 示例找不到 irobot_create_msgs

::: v-pre
> 本文由 AI 根据公开内容整理，可能有误，请以原文为准：[Getting A Head Start With iRobot Create3 (ROS2)](https://robotics.stackexchange.com/questions/22807/getting-a-head-start-with-irobot-create3-ros2)（Robotics Stack Exchange #22807）

**状态**：已解决

## 问题

运行 `colcon build` 构建 `create3_examples_ws` 时，`create3_coverage` 报错找不到 `irobot_create_msgsConfig.cmake` 或 `irobot_create_msgs-config.cmake`。

## 环境

RaspberryPi3B；ROS2 Galactic；64-bit Ubuntu 20.04 Server；无桌面。答案提到 ROS2 Humble。

## 解决办法

1. 在 ROS2 Humble 上安装依赖包：`sudo apt install -y ros-humble-irobot-create-msgs`。

原问题作者：Cyclical Obsessive；采纳答案作者：brianlmerritt。原内容依 CC BY-SA 4.0 授权，本页摘要同样依 CC BY-SA 4.0 授权。
:::

## 原始参考来源 (Sources)

- [Robotics Stack Exchange #22807：Getting A Head Start With iRobot Create3 (ROS2)](https://robotics.stackexchange.com/questions/22807/getting-a-head-start-with-irobot-create3-ros2)