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

A way to set a ROS namespace in the Agent

未關閉
#126 13 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

enhancement
主要語言
C++
星號
201
分支
111
平均合併
1 天 6 小時
30 天內合併 PR
10

描述

I would like to have the ability to set an arbitrary ROS namespace of the node from the computer running the Agent. The way of doing this in ROSSerial is to just run the `serial_node` under a namespace. In micro-ROS it's a little more problematic because the namespace has to be passed to `rclc_node_init_default` function, so it has to be retrieved before the ROS communication is initialized.

The way I see it could work is when the Agent could be run with some parameters and the client had functions to retrieve these parameters. Then, I could just define the `namespace` parameter and retrieve it in the firmware before initializing the node.

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

此 issue 未指出任何儲存庫檔案或測試。首先追蹤 Agent 的啟動流程,以及 Agent 參數與用戶端初始化之間的通訊路徑,注意 rclc_node_init_default 之前所需的 namespace。完成的標準是:啟動 Agent 時可以提供 namespace,用戶端可以在節點初始化之前取得該 namespace,並透過適當的測試進行驗證。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
cpp
領域
backend
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。