Skip to content

add support for nested arrays#197

Closed
mikaelarguedas wants to merge 1 commit intoros2:masterfrom
mikaelarguedas:support_nested_array
Closed

add support for nested arrays#197
mikaelarguedas wants to merge 1 commit intoros2:masterfrom
mikaelarguedas:support_nested_array

Conversation

@mikaelarguedas
Copy link
Member

This fixes #59

Requires ros2/rosidl_python#30

Can be tested by following the steps of bug reports #59 or #191

@mikaelarguedas mikaelarguedas added the in progress Actively being worked on (Kanban column) label Feb 17, 2019
Signed-off-by: Mikael Arguedas <mikael.arguedas@gmail.com>
except ValueError as e:
raise SetFieldError(field_name, e)
try:
f_type = msg.get_slot_types()['_' + field_name]
Copy link
Member Author

Choose a reason for hiding this comment

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

This looks pretty weird see ros2/rosidl_python#30 (comment) for more context and suggestion for stripping the leading underscores

@mikaelarguedas mikaelarguedas added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Feb 17, 2019
@mikaelarguedas
Copy link
Member Author

Superseeded by #207

@mikaelarguedas mikaelarguedas removed the in review Waiting for review (Kanban column) label Mar 13, 2019
@mikaelarguedas mikaelarguedas deleted the support_nested_array branch March 13, 2019 23:25
esteve pushed a commit to esteve/ros2cli that referenced this pull request Dec 16, 2022
…ents aren't optional (ros2#197)

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
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.

[ros2 topic pub][ros2 service call] Cannot populate nested arrays

1 participant