Passing array args broken in XML backend

オープン
#633 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@hidmic がすでに取り組んでいます。

2022年8月18日 から。

評価

この issue はまだ評価されていません。

説明

Bug report

Required Info:

  • Operating System:
    • MacOS 12.3
  • Installation type:
    • source
  • Version or commit hash:
    • humble
Steps to reproduce issue
<launch>
    <arg name="int_array" default="1,2,3,4,5,6,7" />

	<node pkg="test_node" name="test_node" exec="test_node">
		<param name="int_array"  value-sep="," value="$(var int_array)" />
	</node>
</launch>
Expected behavior

Should correctly pass the arg int_array as integer array to the node.

Actual behavior

Passes ['1,2,3,4,5,6,7'] instead:

[test_node-1] libc++abi: terminating with uncaught exception of type rclcpp::exceptions::InvalidParameterTypeException: parameter 'ids_to_ignore' has invalid type: Wrong parameter type, parameter {int_array} is of type {integer_array}, setting it to {string_array} is not allowed.```
主要言語
Python
スター
156
フォーク
200
平均マージ
2日 11時間
マージ済み PR(30日)
11

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ros2/launch のほかの issue

ros2/launch の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。