This should be added to the add_signal() method. Since this is an optional attribute it does not break compatibility and can just be omitted by users of the scenariogeneration lib who want to generate older OpenDRIVE.
244 partially fixes this but we also need to add the .xsd files for OpenDRIVE 1.8 and write this to the XML.
I need this to implement stop line objects. Would there be any time to upgrade to 1.8 any time soon with just the 1.7 feature subset but as a basis to start implementing such features?
OpenDRIVE 1.8 has added a
length
attribute to the signal definition which allows for the complete definition of a bounding box:https://publications.pages.asam.net/standards/ASAM_OpenDRIVE/ASAM_OpenDRIVE_Specification/latest/specification/14_signals/14_01_introduction.html -> see Table 120.
This should be added to the add_signal() method. Since this is an optional attribute it does not break compatibility and can just be omitted by users of the scenariogeneration lib who want to generate older OpenDRIVE.