asam-ev / qc-opendrive

Mozilla Public License 2.0
7 stars 1 forks source link

Add road linkage junction needed check #26

Closed patrickpa closed 3 months ago

patrickpa commented 3 months ago

Description

This PR adds the implementation for the road.linkage.is_junction_needed rule.

Main changes

  1. Add road.linkage.is_junction_needed rule implementation
  2. Add utils methods to support some elements query
  3. Add tests for rule implementation

How was the PR tested?

  1. Added unit-test are passing using some sample examples.
  2. Tested the rule with some OpenDrive junction examples to guarantee no false positive was found. Everything is working as intended.

Notes