Closed AKreutz closed 5 years ago
Lanes can have the Road Mark Type none, as in 4way_intersection.xodr:27. These roadMark-tags do not have a width property, and therefore this code section fails (in particular line 335):
none
4way_intersection.xodr:27
roadMark
width
https://github.com/bark-simulator/bark/blob/5862c2d7564f8624db84933c80cd7e3299755ac1/modules/runtime/commons/xodr_parser.py#L331-L336
A solution would be to exclude road marks of type RoadMarkType.none from parsing, or parse them differently.
RoadMarkType.none
@klemense1
fixed by only parsing roadmark types solid or broken see #41
Lanes can have the Road Mark Type
none
, as in4way_intersection.xodr:27
. TheseroadMark
-tags do not have awidth
property, and therefore this code section fails (in particular line 335):https://github.com/bark-simulator/bark/blob/5862c2d7564f8624db84933c80cd7e3299755ac1/modules/runtime/commons/xodr_parser.py#L331-L336
A solution would be to exclude road marks of type
RoadMarkType.none
from parsing, or parse them differently.@klemense1