pageldev / libOpenDRIVE

Small, lightweight C++ library for handling OpenDRIVE files
Apache License 2.0
401 stars 141 forks source link

RoadLink is empty #16

Closed aifei7320 closed 2 years ago

aifei7320 commented 2 years ago

In my using case, i want to use link information, but it's all empty, but i checked xodr file, there is link node and has value for each key.Then i try to print it's value, but i got empty. After i check other node, you using attribute function to extract it's value, then it appeared. image image

pageldev commented 2 years ago

You are right. Those should be attributes, not children.