The verification of the xodr s continuity was located at a parser level. Consecuences:
When the tolerance selection mechanism is enabled, for each iteration the builder is re-parsing all the XML again.
RoadGeometryBuilder class is dependency-injected with a DBManager instance, however, in order to be able to include this verification the builder is overriding the DBManager in each iteration which goes against the pattern. See.
This PR moves the verification from the parser to the builder.
I will downgrade the PR to draft as I need to take a deeper look in order to avoid re-parsing the xodr in each iteration and the solution doesn't seem to be trivial.
Addresses https://github.com/ToyotaResearchInstitute/maliput_malidrive/issues/183
Summary
The verification of the xodr s continuity was located at a parser level. Consecuences:
RoadGeometryBuilder
class is dependency-injected with a DBManager instance, however, in order to be able to include this verification the builder is overriding the DBManager in each iteration which goes against the pattern. See.This PR moves the verification from the parser to the builder.
Comments for the reviewers
Reviewing the PR commit by commit is recommended.