You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: localization/landmark_based_localizer/README.md
+1-62
Original file line number
Diff line number
Diff line change
@@ -43,68 +43,7 @@ So, if the 4 vertices are considered as forming a tetrahedron and its volume exc
43
43
44
44
## Map specifications
45
45
46
-
For this package to work correctly, the poses of the landmarks must be specified in the Lanelet2 map format that `map_loader` and `landmark_manager` can interpret.
47
-
48
-
The four vertices of a landmark are defined counterclockwise.
49
-
50
-
The order of the four vertices is defined as follows. In the coordinate system of a landmark,
51
-
52
-
- the x-axis is parallel to the vector from the first vertex to the second vertex
53
-
- the y-axis is parallel to the vector from the second vertex to the third vertex
54
-
55
-

56
-
57
-
### Example of `lanelet2_map.osm`
58
-
59
-
The values provided below are placeholders.
60
-
Ensure to input the correct coordinates corresponding to the actual location where the landmark is placed, such as `lat`, `lon`, `mgrs_code`, `local_x`, `local_y`.
61
-
62
-
For example, when using the AR tag, it would look like this.
63
-
64
-
```xml
65
-
...
66
-
67
-
<nodeid="1"lat="35.8xxxxx"lon="139.6xxxxx">
68
-
<tagk="mgrs_code"v="99XXX000000"/>
69
-
<tagk="local_x"v="22.2356"/>
70
-
<tagk="local_y"v="87.4506"/>
71
-
<tagk="ele"v="2.1725"/>
72
-
</node>
73
-
<nodeid="2"lat="35.8xxxxx"lon="139.6xxxxx">
74
-
<tagk="mgrs_code"v="99XXX000000"/>
75
-
<tagk="local_x"v="22.639"/>
76
-
<tagk="local_y"v="87.5886"/>
77
-
<tagk="ele"v="2.5947"/>
78
-
</node>
79
-
<nodeid="3"lat="35.8xxxxx"lon="139.6xxxxx">
80
-
<tagk="mgrs_code"v="99XXX000000"/>
81
-
<tagk="local_x"v="22.2331"/>
82
-
<tagk="local_y"v="87.4713"/>
83
-
<tagk="ele"v="3.0208"/>
84
-
</node>
85
-
<nodeid="4"lat="35.8xxxxx"lon="139.6xxxxx">
86
-
<tagk="mgrs_code"v="99XXX000000"/>
87
-
<tagk="local_x"v="21.8298"/>
88
-
<tagk="local_y"v="87.3332"/>
89
-
<tagk="ele"v="2.5985"/>
90
-
</node>
91
-
92
-
...
93
-
94
-
<wayid="5">
95
-
<ndref="1"/>
96
-
<ndref="2"/>
97
-
<ndref="3"/>
98
-
<ndref="4"/>
99
-
<tagk="type"v="pose_marker"/>
100
-
<tagk="subtype"v="apriltag_16h5"/>
101
-
<tagk="area"v="yes"/>
102
-
<tagk="marker_id"v="0"/>
103
-
</way>
104
-
105
-
...
106
-
107
-
```
46
+
See <https://github.com/autowarefoundation/autoware_common/blob/main/tmp/lanelet2_extension/docs/lanelet2_format_extension.md#localization-landmarks>
0 commit comments