micro-ROS / micro-ROS/micro-ROS-Agent
Dependencies missing in manifest
還沒有人認領這個 Issue。
- 主要語言
- C++
- 星號
- 201
- 分支
- 111
- 平均合併
- 1 天 6 小時
- 30 天內合併 PR
- 10
描述
**Describe the bug**
Dependencies [declared as required in cmake](https://github.com/micro-ROS/micro-ROS-Agent/blob/galactic/micro_ros_agent/CMakeLists.txt#L32-L50) are missing [in the manifest file](https://github.com/micro-ROS/micro-ROS-Agent/blob/galactic/micro_ros_agent/package.xml#L18-L22).
**To reproduce**
I encountered this issue when trying to revive an old micro-ROS agent (foxy) installation on my ubuntu PC. Following [this tutorial](https://micro.ros.org/docs/tutorials/core/first_application_linux/), I
1. Pulled the micro_ros_setup repo
2. Executed create_agent_ws
3. Executed build_agent
---- Up to here it is expected behavior, the agent is built properly.
When I then execute `colcon build` in my ROS 2 workspace, the build of the micro_ros_agent package fails as it is missing microxrcedds_agent. When I place the microxrcedds_agent repo in my workspace, it will still fail on the first colcon run, since microxrcedds_agent is not specified as dependency in the micro-ROS agent package manifest, so colcon doesn't know to build it first.
**Expected behaviour**
All ROS 2 packages in my workspace successfully build
**System information (please complete the following information):**
Ubuntu 20.04, ROS 2 foxy, latest foxy branch
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
比較 micro_ros_agent/CMakeLists.txt 第 32-50 行中宣告的相依性與 micro_ros_agent/package.xml 第 18-22 行中的相依性。先閱讀這兩個檔案,然後在包含 micro_ros_agent 和 microxrcedds_agent 的 ROS 2 工作區中執行 colcon build。當這些套件依照相依性順序成功建置時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cmake, cpp
- 領域
- build-system
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 48/100