micro-ROS / micro-ROS/micro_ros_setup
Change source packages download path from `src` to `firmware/src` when building for host
- 主要言語
- Shell
- スター
- 509
- フォーク
- 183
- 平均マージ
- 22時間 26分
- マージ済み PR(30日)
- 7
説明
When executing:
```bash
ros2 run micro_ros_setup create_firmware.sh host
```
on a colcon workspace, required package's source files, such as eProsima's vendor packages (MicroCDR, Micro-XRCE-DDS-Client) and ros2 packages are downloaded under `src`.
I would expect the same behaviour as when creating a workspaces for an embedded MCU, which locates everything related with the micro-ROS build under a `firmware` folder. Thus, deleting this folder assures the user that he/she can start from scratch, while being coherent with the rest of build cases for a micro-ROS environment.
Therefore, I propose moving the location of these files under a `firmware/src` folder.
Similarly, when creating the workspace for compiling the `micro-ros-agent`, source artifacts are downloaded under `src` folder. Having a dedicated `uros_agent` workspace folder would be desirable.
コントリビューションガイド
調査の方向性
`ros2 run micro_ros_setup create_firmware.sh host` によって呼び出される create_firmware.sh の host フローから始め、続いて `micro-ros-agent` のコンパイルに使用される workspace のセットアップを追跡します。現在ソースパッケージがどこにダウンロードされているかを確認し、host ファイルには `firmware/src` を使用し、agent のアーティファクトには専用の `uros_agent` workspace を使用するように動作を更新します。これらのフォルダーを削除することでクリーンに再起動できることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- build-system
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100