[FEA] Allow configuring a subset of nodes in a certain mode.
まだ誰も着手していません。
評価
調査の方向性
Issue にある system-modes の YAML 設定から始め、/actuation/change_state に対する 2 つの ros2 サービス呼び出しを使って動作を再現します。部分的なモードマッピングが lifecycle nodes にどのように適用されるかを追跡します。モードが指定したノードのサブセットだけを設定し、他のノードの適切な状態を維持でき、提示された例で左マニピュレータが active に到達すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hi, first of all I want to say this is a great project to manage lifecycle nodes!
There'a a need to config the lifecycle state of only a subset of nodes in one mode, but config another subset of nodes in other modes.
Let's say, can the following config work? (Currently I don't need the extra parameter-based modes either)
SHM file
# system modes example
---
actuation:
ros__parameters:
type: system
parts:
drive_base
left/manipulator
right/manipulator
modes:
__DEFAULT__:
drive_base: active.__DEFAULT__
left/manipulator: inactive.__DEFAULT__
right/manipulator: inactive.__DEFAULT__
LEFT:
# drive_base: active.__DEFAULT__
left/manipulator: active.__DEFAULT__
# right/manipulsator: inactive.__DEFAULT__
RIGHT:
# drive_base: active.__DEFAULT__
# left/manipulator: inactive.__DEFAULT__
right/manipulator: active.__DEFAULT__
left/manipulator:
ros__parameters:
type: node
modes:
__DEFAULT__:
ros__parameters:
max_torque: 0.1
drive_base:
ros__parameters:
type: node
modes:
__DEFAULT__:
ros__parameters:
max_speed: 0.1
controller: PID
right/manipulator:
ros__parameters:
type: node
modes:
__DEFAULT__:
ros__parameters:
max_torque: 0.11
EDIT, the step of reproduce has been updated @ralph-lange
step to reproduce
time ros2 service call /actuation/change_state lifecycle_msgs/ChangeState "{transition: {id: 1, label: configure}}"
time ros2 service call /actuation/change_state lifecycle_msgs/ChangeState "{transition: {id: 3, label: activate}}"
expected
the lefe manipulator should be in active
actual

- 主要言語
- C++
- スター
- 45
- フォーク
- 13
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
micro-ROS/system_modes のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
micro-ROS/system_modes#101 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
micro-ROS/system_modes#99 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
micro-ROS/system_modes#98 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
micro-ROS/system_modes#97 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
micro-ROS/system_modes#96 · コメント 2 件 ·
micro-ROS/system_modes の issue をすべて見る
似ている issue
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
QuantStack/git2cpp#187 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
mlcommons/mobile_app_open#1182 ·
-
Needs-Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/winget-cli#6547 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
AXERA-TECH/ax-llm#77 ·