Skip to content

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.

  • vm-05-01 : Crosswalks across the road
  • vm-05-02 : Crosswalks with pedestrian signals

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:

  1. Create a Lanelet for the crosswalk (subtype:crosswalk).
  2. 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.
  3. 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.
  4. 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 #

A crosswalk across a two-lane road. The road lanelet refers to a crosswalk regulatory element. The regulatory element refers to the crosswalk lanelet, the crosswalk polygon, and the stop lines of both lanes.Linestringtype: stop_lineLaneletsubtype: crosswalkPolygonthe area of the crosswalkLaneletsubtype: roadRegulatory elementsubtype: crosswalkregulatory_elementref_linereferscrosswalk_polygonref_line
The crosswalk Regulatory Element refers to the crosswalk Lanelet, the crosswalk Polygon, and the stop lines.

Incorrect vector map #

None in particular.


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
  • 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 #

A crosswalk with a pedestrian traffic light at each end. The crosswalk lanelet refers to a traffic_light regulatory element, which refers to the traffic_light linestrings of both pedestrian lights.Linestringtype: traffic_lightsubtype: red_greenheight: (value)Linestringtype: traffic_lightsubtype: red_greenheight: (value)Laneletsubtype: crosswalkparticipant:pedestrian: yesRegulatory elementsubtype: traffic_lightregulatory_elementrefersrefers
The crosswalk Lanelet refers to a traffic_light Regulatory Element for the pedestrian lights.

Incorrect vector map #

None in particular.


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 #

A crosswalk across a two-lane road. The road lanelet refers to a crosswalk regulatory element. The regulatory element refers to the crosswalk lanelet, the crosswalk polygon, and the stop lines of both lanes. The crosswalk lanelet has the tags safety_slow_down_speed and safety_slow_down_distance.Linestringtype: stop_lineLaneletsubtype: crosswalksafety_slow_down_speedsafety_slow_down_distancePolygonthe area of the crosswalkLaneletsubtype: roadRegulatory elementsubtype: crosswalkregulatory_elementref_linereferscrosswalk_polygonref_line
The safety slow down tags are on the crosswalk Lanelet.

Incorrect vector map #

None in particular.


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 #

A fence linestring separates a kindergarten or playground from a road with a crosswalk. The fence linestring is not linked to anything.Kindergarten or playgroundLinestringtype: fence
A fence Linestring separates the area from the road.

Incorrect vector map #

None in particular.