Step 2: Using the dts code workflow
Contents
Step 2: Using the dts code
workflow#
The dts code
workflow is a set of simple but powerful Duckietown shell commands that you can use to edit, test,
and run Duckietown Learning Experiences (LX). These tools can
spin up a development environment
run new robot behaviors in the simulator and on a Duckiebot
submit your results to Duckietown challenges
and much more
We will gain familiarity with this workflow by walking through the hello-world learning experience from the duckietown-lx repository as an example - instructions on how to fork and clone this repository are located in Step 1: Environment Setup.
Getting started#
Complete the following steps to start your development journey with
the dts code
workflow:
✅ Step 1#
Open a terminal and navigating to the duckietown-lx/hello-world-lx
directory.
✅ Step 2#
Glance over the following command list for a preview of your toolkit.
✅ Step 3#
Continue on to the next page to start your first learning experience!
The dts code
commands set#
dts code build
#
Builds a learning experience into a Docker image that can then be run.
dts code edit
#
Spins up a browser-based development environment that can be used to work
through the Learning Experience (LX) using VSCode
.
dts code workbench
#
Creates a virtual environment with Desktop icons that will allow you to easily run activities, simulate a Duckiebot directed through a virtual world by your control algorithms, or execute a demo on your real world Duckiebot - all with debugging and visualization tools to help you along the way.
dts code evaluate
#
Evaluates your solutions to the learning experience activities on your local machine to quickly inform you of your progress.
dts code submit
#
Submits your work to the Duckietown Challenges Server so that you can monitor your results and view the work of other developers around the world.
Tip
Remember that in addition to the dts code
workflow, you also have the complete set of Duckietown development tools
at your disposal for building and running the projects within each learning experience.
Check out the Duckiebot and DTProject development pages for more helpful Duckietown shell commands.