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

rtt_rosparam: It is not possible to unmarshall nested array #171

Open
Hugal31 opened this issue Feb 14, 2023 · 0 comments
Open

rtt_rosparam: It is not possible to unmarshall nested array #171

Hugal31 opened this issue Feb 14, 2023 · 0 comments

Comments

@Hugal31
Copy link
Contributor

Hugal31 commented Feb 14, 2023

#162 allows to unmarshall any custom sequence property type using property decomposition. However, it appears it doesn't work on nested arrays.

After some investigation, it seems it goes like this for a vector<vector<int>> when converting it from xml to orocos property:

  • The array of array property is decomposed into a rosbag in xmlParamToProp.
  • The elements are then recursively sent to xmlParamToProp.
  • However, the elements are now it the PropertyBag form, and loose the link to their type info. This prevent the function from detecting a sequence.

I may try to fix this if I find some time to work on it.

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

No branches or pull requests

1 participant