Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed /get_param service for arrays #776

Merged
merged 1 commit into from
Aug 12, 2022
Merged

Fixed /get_param service for arrays #776

merged 1 commit into from
Aug 12, 2022

Conversation

p0rys
Copy link
Contributor

@p0rys p0rys commented Aug 12, 2022

Public API Changes
None

Description
The missing comma resulted in a wrong mapping of array parameters. For example, requesting a string array only returned an empty value because the type was given as index 9 (entry 10) but the type_mapping only had 9 entries.

The error should be obvious, so I have not included an extra test.

Fixed a missing comma which resulted in wrong mapping of array types.
@jtbandes jtbandes merged commit 71fd72b into RobotWebTools:ros2 Aug 12, 2022
jihoonl pushed a commit to floatic-unicorn/rosbridge_suite that referenced this pull request Oct 6, 2022
**Public API Changes**
None


**Description**
The missing comma resulted in a wrong mapping of array parameters. For example, requesting a string array only returned an empty value because the type was given as index 9 (entry 10) but the type_mapping only had 9 entries. 

The error should be obvious, so I have not included an extra test.
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