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

Fix setting int / int[] parameters not working (ROS 1) #135

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

achim-k
Copy link
Collaborator

@achim-k achim-k commented Jan 17, 2023

Public-Facing Changes

  • Fix setting of int or int[] parameters not working (ROS 1)

Description
The Parameter class internally stores integers as std::any<int64_t>. When retrieving, we have to use the same type otherwise a bad any_cast is raised.

@achim-k achim-k enabled auto-merge (squash) January 17, 2023 13:17
@achim-k achim-k merged commit 99f4231 into main Jan 17, 2023
@achim-k achim-k deleted the achim/fix_int_params branch January 17, 2023 13:20
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.

None yet

1 participant