Crosswalk
The drawings on this page use left-hand traffic, as in Japan: vehicles drive on the left side of the road. For right-hand traffic, swap left and right. In the map drawings, a colored area is a Lanelet, a dashed area is a Polygon, and a line with dots is a Linestring and its points.
There are two types of requirements for crosswalks. Both can apply to a single crosswalk.
A crosswalk at an intersection must also meet the requirements of the intersection.
Requirements#
vm-05-01 Crosswalks across the road#
Detail of requirements #
Necessary requirements for creation:
- Create a Lanelet for the crosswalk (subtype:crosswalk).
- If there is a stop line before the crosswalk, create a Linestring (type:stop_line). Create stop lines for the opposing traffic lane in the same way.
- Create a Polygon to cover the crosswalk. The regulatory element refers to it with the role crosswalk_polygon. Autoware does not read a type tag on this Polygon.
- The Lanelet of the road refers to the regulatory element (subtype:crosswalk). The regulatory element refers to the crosswalk Lanelet (role refers), the stop line Linestrings (role ref_line), and the Polygon (role crosswalk_polygon).
Supplemental information #
- Link the regulatory element to the lanelet(s) of the road that intersects with the crosswalk.
- The stop lines linked to the regulatory element do not have to be on the road Lanelets linked with the regulatory element.
Behavior of Autoware #
When pedestrians or cyclists are on the crosswalk, Autoware stops before the stop line and waits for them to pass. When they have cleared the area, Autoware starts to move forward.
Preferred vector map #
Incorrect vector map #
None in particular.
Related Autoware module#
vm-05-02 Crosswalks with pedestrian signals#
Detail of requirements #
Necessary requirements for creation:
- Create a Lanelet (subtype:crosswalk, participant:pedestrian).
- Create a Traffic Light Linestring. If multiple traffic lights exist, create multiple Linestrings.
- Linestring
- type:traffic_light
- subtype: see the supplemental information
- height:value
- Linestring
- Make sure that the crosswalk Lanelet refers to a Regulatory Element (subtype:traffic_light). Also make sure that the Regulatory Element refers to the Linestrings (type:traffic_light).
Supplemental information #
Autoware knows that a traffic light is for pedestrians because a crosswalk Lanelet refers to its Regulatory Element. It does not use the subtype for this. The subtype controls the camera detection:
- If the camera must detect the pedestrian light, give the Linestring a subtype other than solid, for example subtype:red_green. The map-based detector skips traffic light Linestrings that have no subtype or that have subtype:solid.
- If the Linestring has subtype:solid, as in the example of the Autoware Lanelet2 extension, the camera does not detect it. The crosswalk traffic light estimator then estimates the state of the pedestrian light from the vehicle traffic lights.
Refer to vm-04-02 for more about the traffic light object.
Preferred vector map #
Incorrect vector map #
None in particular.
Related Autoware module#
vm-05-03 Deceleration for safety at crosswalks#
Detail of requirements #
To make the vehicle slow down to a safe speed when it passes a crosswalk, add the following tags to the crosswalk Lanelet (subtype:crosswalk):
- safety_slow_down_speed [m/s]: The maximum velocity while crossing.
- safety_slow_down_distance [m]: The start of the area where the maximum speed applies, measured from the front bumper of the vehicle to the crosswalk.
The vehicle slows down even when there are no pedestrians or cyclists near the crosswalk. If the Lanelet has safety_slow_down_speed but no safety_slow_down_distance, the crosswalk module uses a distance of 2.0 m.
Preferred vector map #
Incorrect vector map #
None in particular.
Related Autoware module#
vm-05-04 Fences#
Detail of requirements #
Autoware detects pedestrians and bicycles that cross the crosswalk, and also those that can cross it. But areas near the crosswalk where many people move, such as fenced kindergartens, playgrounds, or parks, can affect the crosswalk detection. The predicted paths of people and bicycles from these areas can go to the crosswalk.
Surround the areas that are not connected to the crosswalk with a Linestring (type:fence). You do not need to link this Linestring to anything.
If there is a guardrail, wall, or fence between the road and the sidewalk, with another fence behind it, you can omit the second fence. But do not omit fences in the areas around crosswalks.
Preferred vector map #
Incorrect vector map #
None in particular.