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: common/autoware_lanelet2_utils/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ This package aims to strictly define the meaning of several words to clarify the
37
37
|`concatenate_center_line`| Concatenate all center line of input lanelet sequence (several `ConstLanelets`) ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/concatenate_center_line.drawio.svg") }}) |
38
38
|`get_linestring_from_arc_length`| Extract a sub-linestring between two arc-length positions along an input linestring. ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/get_linestring_from_arc_length.drawio.svg") }}) |
39
39
|`get_pose_from_2d_arc_length`| Compute the 2D pose (position and heading) at a given arc-length along a sequence of lanelets. ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/get_pose_from_2d_arc_length.drawio.svg") }}) |
40
+
|`get_polygon_from_arc_length`| Extract a lanelet Polygon between two arc-length positions along input lanelet sequence. ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/get_polygon_from_arc_length.drawio.svg") }}) |
40
41
|`get_closest_segment`| Find the closest segment of the `ConstLineString3d` to the search point (`BasicPoint3d`). ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/get_closest_segment.drawio.svg") }}) |
41
42
|`get_lanelet_angle`| Find the angle of center line segment of the lanelet that is closest to search point (`BasicPoint3d`). The angle is defined with the x-axis as the reference (0 radians). Positive angles are measured counterclockwise, while negative angles are measured clockwise within range of −π to π radians. ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/get_lanelet_angle.drawio.svg") }}) |
42
43
|`get_closest_center_pose`| Find pose of the closest point of the lanelet centerline to search point. ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/get_closest_center_pose.drawio.svg") }}) |
@@ -45,9 +46,11 @@ This package aims to strictly define the meaning of several words to clarify the
45
46
|`combine_lanelets_shape`| Combine lanelet sequence (several lanelets) into one lanelet. ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/combine_lanelets_shape.drawio.svg") }}) |
46
47
|`get_dirty_expanded_lanelet`| Expand the lanelet. <br><br>Note: <ul><li>`left_offset` needs to be positive.</li> <li> `right_offset` needs to be negative</li></ul> ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/get_dirty_expanded_lanelet.drawio.svg") }}) |
47
48
|`get_dirty_expanded_lanelets`| Expand several lanelets. <br><br>Note: <ul><li>`left_offset` needs to be positive.</li> <li> `right_offset` needs to be negative</li></ul> ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/get_dirty_expanded_lanelets.drawio.svg") }}) |
49
+
|`get_fine_centerline`| Get the centerline of `ConstLanelet` (without offset) with designated resolution.<br> ($ num_segments = \frac{longer_bound_length}{ resolution}$) ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/get_fine_centerline.drawio.svg") }}) |
48
50
|`get_centerline_with_offset`| Get the centerline of `ConstLanelet` with offset. <br><br>Sign Convention: <ul><li>Positive: to the **left** bound</li><li>Negative: to the **right** bound</li></ul> ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/get_centerline_with_offset.drawio.svg") }}) |
49
51
|`get_right_bound_with_offset`| Get the right bound of `ConstLanelet` with offset. <br><br>Sign Convention: (Opposite to centerline) <ul><li>Positive: to the **right** bound</li><li>Negative: to the **left** bound</li></ul> ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/get_right_bound_with_offset.drawio.svg") }}) |
50
52
|`get_left_bound_with_offset`| Get the left bound of `ConstLanelet` with offset. <br><br>Sign Convention: (Same as centerline) <ul><li>Positive: to the **left** bound</li><li>Negative: to the **right** bound</li></ul> ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/get_left_bound_with_offset.drawio.svg") }}) |
53
+
|`is_in_lanelet`| Check if the query pose is inside lanelet or within given radius from the closest point of lanelet. ||<br>[Open]({{ drawio("/common/autoware_lanelet2_utils/media/api/geometry/is_in_lanelet.drawio.svg") }}) |
0 commit comments