Skip to content

launchにchoice設定をする - #96

Merged
Kuwamai merged 1 commit into
masterfrom
feature/choice_name
Aug 17, 2026
Merged

launchにchoice設定をする#96
Kuwamai merged 1 commit into
masterfrom
feature/choice_name

Conversation

@motty-mio2

Copy link
Copy Markdown
Contributor

What does this implement/fix?

DeclareLaunchArgument に choices を追加し、example や use_gazebo 等の引数に不正な値が渡された際にros2 launch側でバリデーションされるようにした
choices で選択肢を明示できるようになったため、description に手書きしていた選択肢の列挙を削除し簡潔にした

rt-net/crane_x7_ros#218 の CRANE PlusV2版

Does this close any currently open issues?

How has this been tested?

  • 各launchファイルを ros2 launch で実行し、デフォルト値で問題なく起動することを確認
  • 存在しない値(例: example:=invalid_name)を指定した際にエラーになることを確認

Any other comments?

Checklists

@Kuwamai Kuwamai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMです

@Kuwamai
Kuwamai merged commit ba3698d into master Aug 17, 2026
2 of 4 checks passed
@Kuwamai
Kuwamai deleted the feature/choice_name branch August 17, 2026 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants