Duckietown Postal Service (DTPS)#

This chapter describes DTPS (Duckietown Postal Service).

What you will need

Completed Duckiebot Dashboard.

What you will get

Knowledge on DTPS.

Introduction#

DTPS is an HTTP/2 compatible message-passing system.

HTML interface#

../_images/dtps_html_interface.png

Fig. 47 The DTPS HTML interface for a Duckiebot named “duckiebot”.#

To open the main DTPS HTML interface for your Duckiebot, run the following command, where TOPIC is an optional topic (e.g., DUCKIEBOT_NAME/sensor/camera/front_center/jpeg):

dts duckiebot dtps [--topic TOPIC] DUCKIEBOT_NAME

KV store#

The KV (Key-Value) store is a database for your Duckiebot, where data is stored as a collection of key-value pairs.

To open the KV store DTPS HTML interface for your Duckiebot, run the following command, where TOPIC is an optional topic (e.g., data/robot/type):

dts duckiebot dtps --kv_store [--topic TOPIC] DUCKIEBOT_NAME