From 54bc5c26e7c3933837c0cf1be153b07b76be173b Mon Sep 17 00:00:00 2001 From: TaikiYamada4 Date: Mon, 6 Jan 2025 17:39:08 +0900 Subject: [PATCH] Added document for mapping.intersection.turn_direction_tagging Signed-off-by: TaikiYamada4 --- .../intersection/turn_direction_tagging.md | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 map/autoware_lanelet2_map_validator/docs/intersection/turn_direction_tagging.md diff --git a/map/autoware_lanelet2_map_validator/docs/intersection/turn_direction_tagging.md b/map/autoware_lanelet2_map_validator/docs/intersection/turn_direction_tagging.md new file mode 100644 index 00000000..44c1c263 --- /dev/null +++ b/map/autoware_lanelet2_map_validator/docs/intersection/turn_direction_tagging.md @@ -0,0 +1,21 @@ +# turn_direction_tagging + +## Validator name + +mapping.intersection.turn_direction_tagging + +## Feature + +This validator checks whether lanelets inside the `intersection_area` polygon have a `turn_direction` tag and it is set to "straight", "left", or "right". + +The validator will output the follwoing issues with the corresponding primitive ID. + +| Issue Code | Message | Severity | Primitive | Description | Approach | +| ------------------------------------- | ---------------------------------------------------- | -------- | --------- | ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Intersection.TurnDirectionTagging-001 | "This lanelet is missing a turn_direction tag." | Error | Lanelet | Lanelets at intersections must have a `turn_direction` tag but this lanelet doesn't have it. | Set a `turn_direction` tag to the lanelet with a value of `straight`, `left` or `right`. This tells the vehicle whether to use the blinkers or not at intersections. | +| Intersection.TurnDirectionTagging-002 | "Invalid turn_direction tag is found." | Error | Lanelet | The `turn_direction` tag of this lanelet is set to while it has to be `straight`, `left` or `right`. | Fix the tag value to `straight`, `left` or `right`. | + +## Related source codes + +- turn_direction_tagging.cpp +- turn_direction_tagging.hpp