Skip to main content
The Donkeycar framework provides a command-line tool called 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

The donkey command is automatically available after installing Donkeycar:

Usage

The general syntax for the donkey command is:

Available Commands

The Donkeycar CLI provides the following commands:

Getting Help

To see the list of available commands:
To get help for a specific command:

Common Workflows

Setting Up a New Car

  1. Create a new car project:
  2. Calibrate the servos:
  3. Drive and collect data, then train a model:

Analyzing Data

  1. View data distribution:
  2. Plot model predictions:
  3. Create a video:

Configuration

Many commands accept a --config option to specify a custom configuration file:
The default configuration file is config.py in the current directory.

Next Steps