Layer - Traffic Signs#

The signals layer consists of traffic signs. These traffic signs are placed on the road layer, outside the lanes, serving both functional and non-functional purposes.

See also

The full set of currently existing signs is available here.

Functional Purposes#

Traffic signs can serve specific functions that are encoded in some Duckietown legacy behaviors. For instance:

Note

Traffic signs:

  • Identify the type of intersection (3- or 4-way).

  • Indicate the Duckiebot’s position at the intersection.

  • Communicate the coordination mechanism for the specific intersection (centralized or decentralized).

Non-Functional Purposes#

Traffic signs can also be used for purposes not encoded in Duckietown’s out-of-the-box behavior. Examples include:

Note

Traffic signs can be used for:

  • Naming roads (e.g., to honor the department head).

  • Indicating pedestrian traffic areas.

  • Marking parking lots.


Traffic signage in Duckietown combines traditional traffic signs and AprilTag visual markers, as shown in Fig. 14.

../../_images/traffic-sign-example.png

Fig. 14 A traffic sign in Duckietown (do not print this one out!)#

The symbol above is referred to as a traffic sign, while the code below represents an AprilTag.

Note

For instructions on printing and assembling traffic signs, refer to Assembly - Traffic Signs.

Specifications#

For traffic signage to be compliant:

  • The center of traffic signs must be 13 cm above the floor layer.

  • AprilTags must measure 6.5 cm squared.

  • There should be a white border of approximately 0.8 cm around the AprilTags.

  • Signs must stand perpendicular to the ground and form a \(90^\circ\) angle with the road.

  • Signs must be flat, with no deformation or wrinkles (use thick paper for best results).

Types#

The allowable traffic signs in Duckietown are listed in Table 2.

Table 2 Duckietown Traffic Signs#
../../_images/stop.png

Fig. 15 stop#

../../_images/yield.png

Fig. 16 yield#

../../_images/no-right.png

Fig. 17 no-right-turn#

../../_images/no-left.png

Fig. 18 no-left-turn#

../../_images/no-enter.png

Fig. 19 do-not-enter#

../../_images/one-way-right.png

Fig. 20 one-way-right#

../../_images/one-way-left.png

Fig. 21 one-way-left#

../../_images/4-way.png

Fig. 22 4-way-intersect#

../../_images/3-way-right.png

Fig. 23 right-T-intersect#

../../_images/3-way-left.png

Fig. 24 left-T-intersect#

../../_images/t-intersection.png

Fig. 25 t-intersection#

../../_images/crossing.png

Fig. 26 pedestrian#

../../_images/traffic-light.png

Fig. 27 t-light-ahead#

../../_images/duckie-crossing.png

Fig. 28 duck-crossing#

../../_images/parking.png

Fig. 29 parking#

Placement#

Traffic signs should be placed on empty tiles or at the border of a map. It is crucial to ensure the base of the sign stand does not overlap with any road markings.

At intersections, two signs should be clearly visible from each stop line:

  1. The intersection type (e.g., traffic light or stop sign).

  2. The intersection topology (e.g., 3-way with orientation, or 4-way).

Sign placements for different scenarios are illustrated in Table 3.

Table 3 Placement of Traffic Signs#
../../_images/4-way-signs.svg

Fig. 30 4-way intersection#

../../_images/3-way-signs.svg

Fig. 31 3-way intersection#

../../_images/2-way-signs-straight.svg

Fig. 32 Straight road#

../../_images/2-way-signs-turn.svg

Fig. 33 Curved road#

On straight and curved roads, additional signs can be added as desired. Their placement is indicated in Fig. 32 and Fig. 33. These signs should face oncoming traffic.