micro-ROS / micro-ROS/micro-ROS-Agent

Dependencies missing in manifest

オープン
#105 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
C++
スター
201
フォーク
111
平均マージ
1日 6時間
マージ済み PR(30日)
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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。