Skip to content

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

Description

@Hugal31

#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions