donkey to help you manage your autonomous vehicle projects. This CLI tool offers commands for creating new car projects, calibrating hardware, training models, and analyzing data.
Installation
Thedonkey command is automatically available after installing Donkeycar:
Usage
The general syntax for thedonkey command is:
Available Commands
The Donkeycar CLI provides the following commands:| Command | Description |
|---|---|
createcar | Create a new car application with folder structure and templates |
findcar | Find your car’s IP address on the network |
calibrate | Calibrate steering servo and throttle ESC |
train | Train a neural network model from recorded data |
makemovie | Create a video from recorded tub data |
tubplot | Plot model predictions against actual data |
tubhist | Generate histograms of tub data |
ui | Launch the graphical user interface |
createjs | Create joystick/controller configuration |
cnnactivations | Visualize CNN layer activations |
models | Display model database information |
update | Update car templates to latest version |
Getting Help
To see the list of available commands:Common Workflows
Setting Up a New Car
-
Create a new car project:
-
Calibrate the servos:
-
Drive and collect data, then train a model:
Analyzing Data
-
View data distribution:
-
Plot model predictions:
-
Create a video:
Configuration
Many commands accept a--config option to specify a custom configuration file:
config.py in the current directory.
