To launch the Duckietown Shell in Docker, run the following command:
$ docker run -it duckietown/duckietown-shell
Note: the Duckietown Shell is supposed to be run natively from the host.
Use the env variable to work on your local copy of the commands:
export DTSHELL_COMMANDS=/path/to/my/duckietown-shell-commands
Use the env variable DTSERVER
to work on a local server:
export DTSERVER=http://localhost:6544/
By default, Duckietown Shell uses the folder ~/dt-data
for storing log data and other cache data.
Alternatively, you can use the --dt-data
argument to choose a different folder:
$ dts logs --dt-data ![dir] ![command]
Alternatively, the directory can be specified using the environment variable DT_DATA
.
$ DT_DATA=/tmp/data dt logs summary
Not implemented yet
The subcommand get-template
downloads the submission templates.
Downloads the current template:
$ dts aido1 get-template TASK-LANG
checking out repository...
Without arguments, the program writes a list of available templates.
Not implemented yet
The command submit
submits the entry in the current directory:
$ dts aido1 submit
The command status
displays the status of the submitted entries:
$ dts aido1 status
jobname task docker hash status
jobname task docker hash status
...
Wrappers are provided for the EasyLogs commands.
$ dts logs summary
$ dts logs download
$ dts logs copy
$ dts logs details
$ dts logs make-thumbnails
$ dts logs make-video
Queries the list of logs that satisfy a query:
$ dts logs summary "vehicle:yaf,length:>120s"
Show more details about one log:
$ dts logs details 20171124170042_yaf
Downloads logs to the local computer:
$ dts logs download 20171124170042_yaf
Copies the logs to a specific directory:
$ dts logs copy -o ![output dir] 20171124170042_yaf
Creating ![output dir]/20171124170042_yaf.bag
$ dts logs make-thumbnails 20171124170042_yaf
Create a video of the camera data:
$ dts logs make-videos 20171124170042_yaf