maliput_malidrive
ParserConfiguration Struct Reference

Detailed Description

Holds the configuration for the parser.

See also
xodr::ParserBase

#include <src/maliput_malidrive/xodr/parser_configuration.h>

Public Attributes

std::optional< double > tolerance {std::nullopt}
 Tolerance used to verify values in the XML node. More...
 
bool allow_schema_errors {true}
 When active, the parser will relaxe constraints related to xodr syntax. More...
 
bool allow_semantic_errors {true}
 When active, the parser will relaxe constraints related to xodr semantic. More...
 

Member Data Documentation

◆ allow_schema_errors

bool allow_schema_errors {true}

When active, the parser will relaxe constraints related to xodr syntax.

It will not throw upon the following conditions:

  • Junctions without connections.
  • Functions starting at the same s.
  • Functions with NaN values as coefficients starting at same s as the following function.
  • Functions starting at the end of the road.

◆ allow_semantic_errors

bool allow_semantic_errors {true}

When active, the parser will relaxe constraints related to xodr semantic.

It will not throw upon the following conditions:

  • Non reciprocal Road linkage.
  • Non reciprocal Lane linkage within a Road.

◆ tolerance

std::optional<double> tolerance {std::nullopt}

Tolerance used to verify values in the XML node.

When it is std::nullopt, no contiguity check is performed.


The documentation for this struct was generated from the following file: