Closed patrvanh closed 1 year ago
Beat me to it, thanks! Yep yaserde
needs explicit tagging for fields that are stored in attributes and will not automatically work for both attributes and child elements as serde-xml-rs
used to do. There might be more lurking in code that was not covered by test
Thanks for the PR! I have looked at other structs, and it appears that the Mimic
, SafetyController
, and Dynamics
's fields are also all attributes: https://wiki.ros.org/urdf/XML/joint
Could you also update them?
This fixes the bug described in this #64 comment.