micro-ROS / micro-ROS/system_modes

Working with non-lifecycle nodes

未關閉
#90 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
C++
星號
45
分支
13
PR 合併指標
30 天內沒有已合併 PR

描述

When the system definition (SMH) contains non-lifecycle nodes, inference will most probably fail, because nodes woll not report any (of the specified) states / transitions used by the inference.

Two options are:

1. Introduce DONT-CARE in the SMH specification for states or
2. (more convenient and flexible), let the mode manager / inference check for all nodes whether they are lifecycle nodes or states/transitions need to be ignored. Check can be done with the [get_service_names_and_types_by_node()](https://docs.ros2.org/foxy/api/rclcpp/classrclcpp_1_1Node.html#aa3df8a7d8b174f8049dfd2766f4b2eb9) method.

When working, a launch test with a system consisting of i) rclcpp nodes, ii) rclcpp lifecycle nodes, rcl nodes, and iv) rclpy nodes would be great.

貢獻指南

開啟貢獻指南

研究方向

首先檢查處理生命週期節點狀態和轉換的模式管理器及推論路徑,然後查看所參照的 get_service_names_and_types_by_node() API。該 issue 提議使用 DONT-CARE 狀態,或忽略非生命週期節點;完成內容應包括在 launch 測試中支援混合使用 rclcpp、lifecycle、rcl 和 rclpy 節點。

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

評估

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

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

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