Assembly - Traffic Signs
Contents
Assembly - Traffic Signs#
What you will need
The materials to build Duckietown signals (Duckietown project shop)
What you will get
A set of signs to be used for assembling your Duckietown.
Build a Map#
Before starting sign assembly, design a tilemap that complies with the tilemap layer specifications.
The full set of currently existing signs is available here.
Making New Signage#
If the available database does not meet your needs, you can add new signage to the existing database.
Clone the signs-and-tags repository:
git clone [email protected]:duckietown/signs-and-tags
The file tag36h11.pdf
in the repo contains the already-generated tags. The type of sign you are adding determines the tag you should use. Refer to AprilTag ID Ranges for tag ranges.
Purpose |
Size |
Family |
ID Range |
---|---|---|---|
Traffic signs |
6.5cm x 6.5cm |
36h11 |
1-199 |
Traffic lights |
6.5cm x 6.5cm |
36h11 |
200-299 |
Localization |
6.5cm x 6.5cm |
36h11 |
300-399 |
Street Name Signs |
6.5cm x 6.5cm |
36h11 |
400-587 |
Steps to Add a New Sign#
Identify the last sign of the type you want to make in the
Signs_and_tags_V3.docx
file.Use the next available ID after the last one.
Copy and paste an existing sign of a similar type and replace/add the new AprilTag.
For the new AprilTag, crop precisely around the tag at the top and sides and include the sign ID at the bottom. Resize the tag to exactly
6.5cm
(2.56in
) and paste it into the Word file.If creating a new road name sign, adjust the font size so the name fits on one line.
Attention
You must add your new sign to the apriltagsDB.yaml
.
Add a new block or modify an existing one with the appropriate tag ID:
- tag_id: ![NEW_TAG_ID]
tag_type: {TrafficSign, Light, Localization, StreetName}
street_name: ![NEW_STREET_NAME] or blank
vehicle_name: currently not used
traffic_sign_type: ![TRAFFIC_SIGN_TYPE] or blank
Set
![NEW_STREET_NAME]
creatively.Use one of the types from Duckietown Traffic Signs for
![TRAFFIC_SIGN_TYPE]
.
Finally, regenerate the PDF version of the Word file and commit the changes via a pull request.
Note
To use a different signs and tags database, ensure you specify the correct database in the april_tags
code.
Traffic Signs Assembly#
Placement#
Refer to for guidelines on sign placement.