1 unstable release

0.1.0+1.7.0 Apr 4, 2023

#2803 in Parser implementations

MIT license

355KB
9K SLoC

opendrive - Rust parser for ASAM OpenDRIVE

Build Status License Crates.io Documentation PRs Welcome

This crate provides data types for the ASAM OpenDRIVE standard. Currently, version 1.7.0 is supported.

See the very basic example for a brief usage introductoin.

cargo features

  • workaround-sumo-issue-10301: OpenDRIVE files generated by sumo might lack required paramPoly3.pRange values, assume ParamPoly3pRange::Normalized while parsing, see https://github.com/eclipse/sumo/issues/10301
  • workaround-sumo-roadmark-missing-color: OpenDRIVE files generated by sumo might lack required roadmark.color, assume Color::Standard while parsing
  • workaround-sumo: Enable all parser workarounds related to SUMO
  • fuzzing: Load dependency arbitrary for fuzzing

This crate might or might not be developed further as the need for more API calls arise. That said, (small!) pull-requests are welcome.

ASAM OpenDRIVE License

The rustdoc documentation contains comments from the XML-Schemata definitions of the ASAM OpenDRIVE standard and therefore might introduce further license restrictions. These XML-Schemata definitions contain the following file header:

ASAM OpenDRIVE V1.7.0

© by ASAM e.V., 2021

ASAM OpenDRIVE defines a file format for the precise analytical description of
road networks


Any use is limited to the scope described in the ASAM license terms.
This file is distributable in accordance with the ASAM license terms.
See www.asam.net/license.html for further details.

See also the additional disclaimer:

  • This document is the copyrighted property of ASAM e.V. In alteration to the regular license terms, ASAM allows unrestricted distribution of this standard. §2 (1) of ASAM’s regular license terms is therefore substituted by the following clause: "The licensor grants everyone a basic, non-exclusive and unlimited license to use the standard ASAM OpenDRIVE".

Dependencies

~7–15MB
~207K SLoC