-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Labels
Description
Bug report
Required Info:
- Operating System: Ubuntu 18.04
- Installation type: binary
- Version or commit hash: dashing
- DDS implementation: Fast-RTPS
- Client library: rclcpp
Steps to reproduce issue
- create a yaml configuration file containing:
my_param_lists:
- frame: base
id: 9
- frame: object
id: 14
- provide configuration file to node (e.g. via mapping
__params
)
Expected behavior
The yaml parser should parse the YAML structure.
Actual behavior
The parser fails with:
Failed to parse yaml params file '[configuration].yaml': Sequence should be of same type. Value type 'integer' do not belong at line_num [line with "id: 9"], at /tmp/binarydeb/ros-dashing-rcl-yaml-param-parser-0.7.5/src/parser.c:931
I.e. it won't accept that frame
and id
are of different type (string, int).
Additional information
This has been supported in ROS1 (e.g. in the configuration of apriltags_ros) and should be made available for ROS2.
evlasblom, Achllle, v4hn, ErickKramer, leander-dsouza and 12 morefelixdivo, zkytony and alpsarica