Setup - Duckiebot SD Card
Setup - Duckiebot SD Card#
Here we will learn who to initialize an SD card with the Operating System that will run on the
Duckiebot on-board computer. This procedure is called
burning of the SD card.
What you will need
An SD card of size at least 32 GB
At least 20 GB of free space on the computer
An internet connection
SD card reader
Duckietown Shell, as configured in Step 3: Duckietown Shell Installation.
Docker, as configured in Step 2: Docker Installation.
Duckietown Token, as configured in Setup - Accounts.
30 minutes on average (depends on internet connection and SD card adapter used)
What you will get
A flashed Duckiebot SD card, ready to be used to give life to your Duckiebot.
For non-Unix-like systems
Though the suggested operating system for this operation is Ubuntu, this
should work on any Unix-like operating system. If you are using dts through
WSL or experience
any issues while performing this procedure, when prompted to enter the device name, simply
provide a path to a file, for example
/home/user/duckiebot_sd_card.img. The program will
proceed by creating a disk image in that file instead. You can later transfer it to an SD card
using any standard flashing tool, e.g.,
If you are using a microSD to SD card adapter, make sure the adapter does not have the write protection enabled. Check this link to learn more.
Step 1) Choose a name for your robot#
hostname for your robot. This will be the name of your robot and has to be unique within
a fleet of robots connected to the same network.
hostname satisfies all the following requirements:
it is lowercase
it starts with a letter
it contains only letters, numbers, and underscores
Step 2) Burn the SD card#
There are two interfaces to the process of burning a Duckiebot SD card:
GUI: A graphical wizard-like interface;
CLI: A terminal-based command line interface (for those who crave the terminal experience);
Choose the interface that best fits your preferences and skip the other.