fix: missing div by 0 guard

libopendrive_road_object_convert was missing a div by 0 guard that caused issues downstream when osiql checks were applied.

As this issue only applies to "repeated" objects that are repeated only once (distance > lenght), I found it appropriate to add a test for that specific case, ensuring that section 13.4 of the standard is implemented correctly (i.e. only one object is added), and that it is added at the start of the section

Merge request reports

Loading
Loading