build details

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

Run an agent on your Duckiebot

Modified 2021-10-31 by tanij

In this page we will describe how to run your submission on your Duckiebot.

You have a Duckiebot. See here for how to acquire a Duckiebot.

You have built your DB19 (unknown ref opmanual_duckiebot/assembling-duckiebot-db19)

previous warning next (8 of 18) index
warning
I will ignore this because it is an external link. 

 > I do not know what is indicated by the link '#opmanual_duckiebot/assembling-duckiebot-db19'.

Location not known more precisely.

Created by function n/a in module n/a.
or (recommended) DB21 (unknown ref opmanual_duckiebot/assembling-duckiebot-db21)
previous warning next (9 of 18) index
warning
I will ignore this because it is an external link. 

 > I do not know what is indicated by the link '#opmanual_duckiebot/assembling-duckiebot-db21'.

Location not known more precisely.

Created by function n/a in module n/a.
Duckiebot. Evaluations will be performed using DB21 Duckiebots.

You have built your Duckietown according to the appearance specification (unknown ref opmanual_duckietown/dt-ops-appearance-specifications)

previous warning next (10 of 18) index
warning
I will ignore this because it is an external link. 

 > I do not know what is indicated by the link '#opmanual_duckietown/dt-ops-appearance-specifications'.

Location not known more precisely.

Created by function n/a in module n/a.
.

You can connect to your robot wirelessly (unknown ref opmanual_duckiebot/duckiebot-network)

previous warning next (11 of 18) index
warning
I will ignore this because it is an external link. 

 > I do not know what is indicated by the link '#opmanual_duckiebot/duckiebot-network'.

Location not known more precisely.

Created by function n/a in module n/a.
.

You have run a submission on your physical Duckiebot.

The video is at https://vimeo.com/479462039.

Running your agent on your Duckiebot tutorial.

Running your AI-DO submission on your robot is currently only supported on Ubuntu (not Mac OSX).

If everything’s setup right, the procedure is very straightforward. But things can be hard to troubleshoot because they involve networking.

There are two basic modes that you can use to run a submission.

Verifying that your Duckiebot is operational

Modified 2020-11-07 by Liam Paull

When you boot your robot it starts to produce camera imagery and wheel encoder data (if it’s moving) and waits for incoming motor commands. To verify that your Duckiebot is fully operational, you should follow (unknown ref opmanual_duckiebot/rc-control)

previous warning next (12 of 18) index
warning
I will ignore this because it is an external link. 

 > I do not know what is indicated by the link '#opmanual_duckiebot/rc-control'.

Location not known more precisely.

Created by function n/a in module n/a.
and (unknown ref opmanual_duckiebot/read-camera-data)
previous warning next (13 of 18) index
warning
I will ignore this because it is an external link. 

 > I do not know what is indicated by the link '#opmanual_duckiebot/read-camera-data'.

Location not known more precisely.

Created by function n/a in module n/a.
.

You should also ensure that your Duckiebot is well calibrated, both camera (unknown ref opmanual_duckiebot/camera-calib)

previous warning next (14 of 18) index
warning
I will ignore this because it is an external link. 

 > I do not know what is indicated by the link '#opmanual_duckiebot/camera-calib'.

Location not known more precisely.

Created by function n/a in module n/a.
and wheels (unknown ref opmanual_duckiebot/wheel-calibration)
previous warning next (15 of 18) index
warning
I will ignore this because it is an external link. 

 > I do not know what is indicated by the link '#opmanual_duckiebot/wheel-calibration'.

Location not known more precisely.

Created by function n/a in module n/a.
.

Run a local submission on the Duckiebot

Modified 2021-10-31 by tanij

Go into any valid submission folder (i.e., one where you could run dts submit and you would make a submission) and run:

$ dts duckiebot evaluate --duckiebot_name DUCKIEBOT_NAME

Run an image that is already built on the Duckiebot

Modified 2021-10-31 by tanij

$ dts duckiebot evaluate --duckiebot_name !{DUCKIEBOT_NAME] --image IMAGE_NAME

Local workflow using the Exercises API

Modified 2021-10-31 by tanij

We have also developed a workflow for submitting exercises (unknown ref opmanual_duckiebot/running-exercises)

previous warning next (16 of 18) index
warning
I will ignore this because it is an external link. 

 > I do not know what is indicated by the link '#opmanual_duckiebot/running-exercises'.

Location not known more precisely.

Created by function n/a in module n/a.
in the Duckietown MOOC on EdX that may be useful for your development workflow. Several of the AI-DO templates and baselines are also valid “exercises” and can therefore follow this workflow.