build details

Show: section status errors & todos local changes recent changes last change in-page changes feedback controls

Duckiehall

Modified 2021-07-08 by Jason Hu

An Raspberry Pi 4

A Duckiehall for the Duckietown in the Autolab

RPi4 refers to the Raspberry Pi 4

What is a Duckiehall?

Modified 2021-07-08 by Jason Hu

Logically, a Duckiehall robot oversees the communications in a Duckietown. So there is one Duckiehall per Duckietown. Since the Duckiehall robot only does computations and does not have actuators or sensors, it is simply a RPi4 connected to the same network as the other robots in the Duckietown.

Initialize

Modified 2021-07-08 by Jason Hu

Flash the SD card

Modified 2021-07-27 by Jason, HU Shengjie

The parameters:

  • concat_map_name should be the name of the map for this Duckietown merged in the duckietown/duckietown-world Github repository, but concatenated over the underscore(“_”)s. E.g. For map name ETH_large_loop, the concat_map_name is ETHlargeloop.
  • country_code is the two-letter country code

Command to flash:

laptop $ dts init_sd_card --hostname concat_map_name --type duckietown --configuration DT21 --country country_code

Connect to network and boot

Modified 2021-07-08 by Jason Hu

The network connection should be wired. Insert the SD card to the RPi4 and power the RPi4 on. Check the boot finished if the Duckiehall showed up in:

laptop $ dts fleet discover

Setup

Modified 2021-07-08 by Jason Hu

Navigate to the Duckiehall dashboard and login

Modified 2021-07-08 by Jason Hu

previous error next (6 of 8) index
error
Repeated use of ID "fig:dashboard-login"

These are the locations indicated:

repeated-use
original-use
Created by function n/a in module n/a.

Select “Settings” pane

Modified 2021-07-08 by Jason Hu

previous error next (7 of 8) index
error
Repeated use of ID "fig:dashboard-settings"

These are the locations indicated:

repeated-use
original-use
Created by function n/a in module n/a.

Fill in the configs for “Autolab”

Modified 2021-07-08 by Jason Hu

Check below for what values to fill
previous error (8 of 8) index
error
Repeated use of ID "fig:dashboard-autolab-config"

These are the locations indicated:

repeated-use
original-use
Created by function n/a in module n/a.

The “Map name” field requires a string, e.g. ETH_large_loop. It’s the name of the map of the Duckietown created and merged to the duckietown/duckeitown-world Github repository.

pay attention to the difference between “Map name” and concat_map_name mentioned when initializing the SD card.

The “Tag id” field should be omitted for a Duckiehall robot.

Click “Save and Apply” and refresh the page. The user inputs should appear in the fields now.