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

Add support for nested parameters (ROS1) #221

Merged
merged 1 commit into from
May 4, 2023

Conversation

achim-k
Copy link
Collaborator

@achim-k achim-k commented May 1, 2023

Public-Facing Changes

  • Add support for nested parameters (ROS1)

Description

This PR adds support for parameter maps and arrays of parameter maps (ROS 1 only). To accomplish that, the existing Parameter class has been split up into a ParameterValue class which facilitates conversion to/from xmlrpc::XmlRpcValue.

Spec update: foxglove/ws-protocol#434

Fixes #219

@achim-k achim-k requested a review from jtbandes May 1, 2023 19:52
@achim-k achim-k force-pushed the achim/fg-3016-support-nested-params branch from 8b6ca51 to cc07ce7 Compare May 1, 2023 20:00
Copy link
Member

@jtbandes jtbandes left a comment

Choose a reason for hiding this comment

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

Do we have a corresponding spec change for this?

@achim-k
Copy link
Collaborator Author

achim-k commented May 4, 2023

Do we have a corresponding spec change for this?

You are right, completely forgot that since it already works with Studio out of the box. Will update the spec

Edit: foxglove/ws-protocol#434

@achim-k achim-k merged commit c27b4db into main May 4, 2023
6 checks passed
@achim-k achim-k deleted the achim/fg-3016-support-nested-params branch May 4, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[ROS1] Arrays of parameter maps are not supported
2 participants