-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: hoangtungdinh <[email protected]> Co-authored-by: hoangtungdinh <[email protected]>
- Loading branch information
1 parent
cefa406
commit 8ffb846
Showing
60 changed files
with
11,911 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
114 changes: 114 additions & 0 deletions
114
tests/data/examples/rule_104_road_lanes_lane_offset_no_offset_if_border_defined_invalid.xodr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
<?xml version="1.0" standalone="yes"?> | ||
<OpenDRIVE> | ||
<header revMajor="1" revMinor="8" name="" version="1.00" date="Mon Oct 28 14:01:57 2019" north="0.0000000000000000e+00" south="0.0000000000000000e+00" east="0.0000000000000000e+00" west="0.0000000000000000e+00"> | ||
</header> | ||
<road rule="RHT" name="" length="1.0000000000000000e+02" id="1" junction="-1"> | ||
<link> | ||
</link> | ||
<planView> | ||
<geometry s="0.0000000000000000e+00" x="0.0000000000000000e+00" y="0.0000000000000000e+00" hdg="0.0000000000000000e+00" length="1.0000000000000000e+02"> | ||
<line/> | ||
</geometry> | ||
</planView> | ||
<lateralProfile> | ||
</lateralProfile> | ||
<lanes> | ||
<laneOffset s="0.0000000000000000e+00" a="1.2500000000000000e+00" b="0.0000000000000000e+00" c="0.0000000000000000e+00" d="0.0000000000000000e+00"/> | ||
<laneSection s="0.0000000000000000e+00"> | ||
<left> | ||
<lane id="1" type="driving" level="false"> | ||
<link> | ||
<successor id="1"/> | ||
</link> | ||
<border sOffset="0.0000000000000000e+00" a="3.5699999999999998e+00" b="0.0000000000000000e+00" c="0.0000000000000000e+00" d="0.0000000000000000e+00"/> | ||
<roadMark sOffset="0.0000000000000000e+00" type="solid" weight="standard" color="standard" width="1.2000000000000000e-01" laneChange="none" height="1.9999999552965164e-02"> | ||
<type name="solid" width="1.2000000000000000e-01"> | ||
<line length="0.0000000000000000e+00" space="0.0000000000000000e+00" tOffset="0.0000000000000000e+00" sOffset="0.0000000000000000e+00" rule="no passing" width="1.2000000000000000e-01"/> | ||
</type> | ||
</roadMark> | ||
</lane> | ||
</left> | ||
<center> | ||
<lane id="0"> | ||
<link> | ||
</link> | ||
<roadMark sOffset="0.0000000000000000e+00" type="broken" weight="standard" color="standard" width="1.2000000000000000e-01" laneChange="both" height="1.9999999552965164e-02"> | ||
<type name="broken" width="1.2000000000000000e-01"> | ||
<line length="4.0000000000000000e+00" space="8.0000000000000000e+00" tOffset="0.0000000000000000e+00" sOffset="0.0000000000000000e+00" rule="caution" width="1.2000000000000000e-01"/> | ||
</type> | ||
</roadMark> | ||
</lane> | ||
</center> | ||
<right> | ||
<lane id="-1" type="driving" level="false"> | ||
<link> | ||
<successor id="-1"/> | ||
</link> | ||
<border sOffset="0.0000000000000000e+00" a="-3.5699999999999998e+00" b="-0.0000000000000000e+00" c="-0.0000000000000000e+00" d="-0.0000000000000000e+00"/> | ||
<roadMark sOffset="0.0000000000000000e+00" type="solid" weight="standard" color="standard" width="1.2000000000000000e-01" laneChange="none" height="1.9999999552965164e-02"> | ||
<type name="solid" width="1.2000000000000000e-01"> | ||
<line length="0.0000000000000000e+00" space="0.0000000000000000e+00" tOffset="0.0000000000000000e+00" sOffset="0.0000000000000000e+00" rule="no passing" width="1.2000000000000000e-01"/> | ||
</type> | ||
</roadMark> | ||
</lane> | ||
</right> | ||
</laneSection> | ||
<laneSection s="5.0000000000000000e+01"> | ||
<left> | ||
<lane id="1" type="driving" level="false"> | ||
<link> | ||
<predecessor id="1"/> | ||
</link> | ||
<border sOffset="0.0000000000000000e+00" a="3.5699999999999998e+00" b="0.0000000000000000e+00" c="0.0000000000000000e+00" d="0.0000000000000000e+00"/> | ||
<roadMark sOffset="0.0000000000000000e+00" type="solid" weight="standard" color="standard" width="1.2000000000000000e-01" laneChange="none" height="1.9999999552965164e-02"> | ||
<type name="solid" width="1.2000000000000000e-01"> | ||
<line length="0.0000000000000000e+00" space="0.0000000000000000e+00" tOffset="0.0000000000000000e+00" sOffset="0.0000000000000000e+00" rule="no passing" width="1.2000000000000000e-01"/> | ||
</type> | ||
</roadMark> | ||
</lane> | ||
</left> | ||
<center> | ||
<lane id="0"> | ||
<link> | ||
</link> | ||
<roadMark sOffset="0.0000000000000000e+00" type="broken" weight="standard" color="standard" width="1.2000000000000000e-01" laneChange="both" height="1.9999999552965164e-02"> | ||
<type name="broken" width="1.2000000000000000e-01"> | ||
<line length="4.0000000000000000e+00" space="8.0000000000000000e+00" tOffset="0.0000000000000000e+00" sOffset="0.0000000000000000e+00" rule="caution" width="1.2000000000000000e-01"/> | ||
</type> | ||
</roadMark> | ||
</lane> | ||
</center> | ||
<right> | ||
<lane id="-1" type="driving" level="false"> | ||
<link> | ||
<predecessor id="-1"/> | ||
</link> | ||
<border sOffset="0.0000000000000000e+00" a="-3.5699999999999998e+00" b="-0.0000000000000000e+00" c="-0.0000000000000000e+00" d="-0.0000000000000000e+00"/> | ||
<roadMark sOffset="0.0000000000000000e+00" type="broken" weight="standard" color="standard" width="1.2000000000000000e-01" laneChange="both" height="1.9999999552965164e-02"> | ||
<type name="broken" width="1.2000000000000000e-01"> | ||
<line length="4.0000000000000000e+00" space="8.0000000000000000e+00" tOffset="0.0000000000000000e+00" sOffset="0.0000000000000000e+00" rule="caution" width="1.2000000000000000e-01"/> | ||
</type> | ||
</roadMark> | ||
</lane> | ||
<lane id="-2" type="driving" level="false"> | ||
<link> | ||
</link> | ||
<border sOffset="0.0000000000000000e+00" a="-3.5699999999999998e+00" b="-0.0000000000000000e+00" c="-2.6774999999999993e-02" d="8.9249999999999985e-04"/> | ||
<border sOffset="2.0000000000000000e+01" a="-7.1399999999999997e+00" b="-0.0000000000000000e+00" c="-0.0000000000000000e+00" d="-0.0000000000000000e+00"/> | ||
<roadMark sOffset="0.0000000000000000e+00" type="solid" weight="standard" color="standard" width="1.2000000000000000e-01" laneChange="none" height="1.9999999552965164e-02"> | ||
<type name="solid" width="1.2000000000000000e-01"> | ||
<line length="0.0000000000000000e+00" space="0.0000000000000000e+00" tOffset="0.0000000000000000e+00" sOffset="0.0000000000000000e+00" rule="no passing" width="1.2000000000000000e-01"/> | ||
</type> | ||
</roadMark> | ||
</lane> | ||
</right> | ||
</laneSection> | ||
</lanes> | ||
<objects> | ||
</objects> | ||
<signals> | ||
</signals> | ||
<surface> | ||
</surface> | ||
</road> | ||
</OpenDRIVE> |
113 changes: 113 additions & 0 deletions
113
tests/data/examples/rule_104_road_lanes_lane_offset_no_offset_if_border_defined_valid.xodr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
<?xml version="1.0" standalone="yes"?> | ||
<OpenDRIVE> | ||
<header revMajor="1" revMinor="8" name="" version="1.00" date="Mon Oct 28 14:01:57 2019" north="0.0000000000000000e+00" south="0.0000000000000000e+00" east="0.0000000000000000e+00" west="0.0000000000000000e+00"> | ||
</header> | ||
<road rule="RHT" name="" length="1.0000000000000000e+02" id="1" junction="-1"> | ||
<link> | ||
</link> | ||
<planView> | ||
<geometry s="0.0000000000000000e+00" x="0.0000000000000000e+00" y="0.0000000000000000e+00" hdg="0.0000000000000000e+00" length="1.0000000000000000e+02"> | ||
<line/> | ||
</geometry> | ||
</planView> | ||
<lateralProfile> | ||
</lateralProfile> | ||
<lanes> | ||
<laneSection s="0.0000000000000000e+00"> | ||
<left> | ||
<lane id="1" type="driving" level="false"> | ||
<link> | ||
<successor id="1"/> | ||
</link> | ||
<border sOffset="0.0000000000000000e+00" a="3.5699999999999998e+00" b="0.0000000000000000e+00" c="0.0000000000000000e+00" d="0.0000000000000000e+00"/> | ||
<roadMark sOffset="0.0000000000000000e+00" type="solid" weight="standard" color="standard" width="1.2000000000000000e-01" laneChange="none" height="1.9999999552965164e-02"> | ||
<type name="solid" width="1.2000000000000000e-01"> | ||
<line length="0.0000000000000000e+00" space="0.0000000000000000e+00" tOffset="0.0000000000000000e+00" sOffset="0.0000000000000000e+00" rule="no passing" width="1.2000000000000000e-01"/> | ||
</type> | ||
</roadMark> | ||
</lane> | ||
</left> | ||
<center> | ||
<lane id="0"> | ||
<link> | ||
</link> | ||
<roadMark sOffset="0.0000000000000000e+00" type="broken" weight="standard" color="standard" width="1.2000000000000000e-01" laneChange="both" height="1.9999999552965164e-02"> | ||
<type name="broken" width="1.2000000000000000e-01"> | ||
<line length="4.0000000000000000e+00" space="8.0000000000000000e+00" tOffset="0.0000000000000000e+00" sOffset="0.0000000000000000e+00" rule="caution" width="1.2000000000000000e-01"/> | ||
</type> | ||
</roadMark> | ||
</lane> | ||
</center> | ||
<right> | ||
<lane id="-1" type="driving" level="false"> | ||
<link> | ||
<successor id="-1"/> | ||
</link> | ||
<border sOffset="0.0000000000000000e+00" a="-3.5699999999999998e+00" b="-0.0000000000000000e+00" c="-0.0000000000000000e+00" d="-0.0000000000000000e+00"/> | ||
<roadMark sOffset="0.0000000000000000e+00" type="solid" weight="standard" color="standard" width="1.2000000000000000e-01" laneChange="none" height="1.9999999552965164e-02"> | ||
<type name="solid" width="1.2000000000000000e-01"> | ||
<line length="0.0000000000000000e+00" space="0.0000000000000000e+00" tOffset="0.0000000000000000e+00" sOffset="0.0000000000000000e+00" rule="no passing" width="1.2000000000000000e-01"/> | ||
</type> | ||
</roadMark> | ||
</lane> | ||
</right> | ||
</laneSection> | ||
<laneSection s="5.0000000000000000e+01"> | ||
<left> | ||
<lane id="1" type="driving" level="false"> | ||
<link> | ||
<predecessor id="1"/> | ||
</link> | ||
<border sOffset="0.0000000000000000e+00" a="3.5699999999999998e+00" b="0.0000000000000000e+00" c="0.0000000000000000e+00" d="0.0000000000000000e+00"/> | ||
<roadMark sOffset="0.0000000000000000e+00" type="solid" weight="standard" color="standard" width="1.2000000000000000e-01" laneChange="none" height="1.9999999552965164e-02"> | ||
<type name="solid" width="1.2000000000000000e-01"> | ||
<line length="0.0000000000000000e+00" space="0.0000000000000000e+00" tOffset="0.0000000000000000e+00" sOffset="0.0000000000000000e+00" rule="no passing" width="1.2000000000000000e-01"/> | ||
</type> | ||
</roadMark> | ||
</lane> | ||
</left> | ||
<center> | ||
<lane id="0"> | ||
<link> | ||
</link> | ||
<roadMark sOffset="0.0000000000000000e+00" type="broken" weight="standard" color="standard" width="1.2000000000000000e-01" laneChange="both" height="1.9999999552965164e-02"> | ||
<type name="broken" width="1.2000000000000000e-01"> | ||
<line length="4.0000000000000000e+00" space="8.0000000000000000e+00" tOffset="0.0000000000000000e+00" sOffset="0.0000000000000000e+00" rule="caution" width="1.2000000000000000e-01"/> | ||
</type> | ||
</roadMark> | ||
</lane> | ||
</center> | ||
<right> | ||
<lane id="-1" type="driving" level="false"> | ||
<link> | ||
<predecessor id="-1"/> | ||
</link> | ||
<border sOffset="0.0000000000000000e+00" a="-3.5699999999999998e+00" b="-0.0000000000000000e+00" c="-0.0000000000000000e+00" d="-0.0000000000000000e+00"/> | ||
<roadMark sOffset="0.0000000000000000e+00" type="broken" weight="standard" color="standard" width="1.2000000000000000e-01" laneChange="both" height="1.9999999552965164e-02"> | ||
<type name="broken" width="1.2000000000000000e-01"> | ||
<line length="4.0000000000000000e+00" space="8.0000000000000000e+00" tOffset="0.0000000000000000e+00" sOffset="0.0000000000000000e+00" rule="caution" width="1.2000000000000000e-01"/> | ||
</type> | ||
</roadMark> | ||
</lane> | ||
<lane id="-2" type="driving" level="false"> | ||
<link> | ||
</link> | ||
<border sOffset="0.0000000000000000e+00" a="-3.5699999999999998e+00" b="-0.0000000000000000e+00" c="-2.6774999999999993e-02" d="8.9249999999999985e-04"/> | ||
<border sOffset="2.0000000000000000e+01" a="-7.1399999999999997e+00" b="-0.0000000000000000e+00" c="-0.0000000000000000e+00" d="-0.0000000000000000e+00"/> | ||
<roadMark sOffset="0.0000000000000000e+00" type="solid" weight="standard" color="standard" width="1.2000000000000000e-01" laneChange="none" height="1.9999999552965164e-02"> | ||
<type name="solid" width="1.2000000000000000e-01"> | ||
<line length="0.0000000000000000e+00" space="0.0000000000000000e+00" tOffset="0.0000000000000000e+00" sOffset="0.0000000000000000e+00" rule="no passing" width="1.2000000000000000e-01"/> | ||
</type> | ||
</roadMark> | ||
</lane> | ||
</right> | ||
</laneSection> | ||
</lanes> | ||
<objects> | ||
</objects> | ||
<signals> | ||
</signals> | ||
<surface> | ||
</surface> | ||
</road> | ||
</OpenDRIVE> |
Oops, something went wrong.