Skip to content

Commit

Permalink
Add tubist command
Browse files Browse the repository at this point in the history
  • Loading branch information
DocGarbanzo authored Nov 29, 2021
1 parent 75b13fc commit a1ec2f5
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/utility/donkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ donkey makemovie --tub=<tub_path> [--out=<tub_movie.mp4>] [--config=<config.py>]

## Plot Predictions

This command allows you plot steering and throttle against predictions coming from a trained model.
This command allows you to plot steering and throttle against predictions coming from a trained model.

Usage:

Expand All @@ -138,6 +138,24 @@ donkey tubplot --tub=<tub_path> --model=<model_path> [--limit=<end_index>] [--ty
* Optional `--type=<model_type>` will use a different model type than the `DEFAULT_MODEL_TYPE`


## Tub Histogram

**_Note_**: Requires version >= 4.3

This command allows you to plot tub data (usually steering and throttle) as a histogram.

Usage:

```bash
donkey tubhist --tub=<tub_path> --record=<record_name> --out=<output_filename>
```

* This command may be run from `~/mycar` dir
* Run on the host computer
* Will show a pop-up window showing the histogram plot of tub values in a given tub
* Optional `--record=<record_name>` will only show the histogram of a certain data series, for example "user/throttle"
* Optional `--out=<output_filename>` saves histogram under that name, otherwise the name is auto-generated from the tub path

## Continuous Rsync

This command uses rsync to copy files from your pi to your host. It does so in a loop, continuously copying files. By default, it will also delete any files
Expand Down

0 comments on commit a1ec2f5

Please sign in to comment.