Skip to content
Open source hardware and software platform to build a small scale self driving car.
Branch: dev
Clone or download
Pull request Compare This branch is even with autorope:dev.
Latest commit 0d6e013 Nov 29, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
donkeycar Update Nov 28, 2018
install start adding options to parts Aug 21, 2018
.coveragerc Improve CI May 30, 2018
.gitignore Improve CI May 30, 2018
.travis.yml deploy all tagged branches, not master Nov 5, 2018
Dockerfile removed need for notebooks folder Aug 24, 2018
LICENSE Create LICENSE (autorope#146) Sep 24, 2017 versioning done right Nov 4, 2018
Makefile add make file for common tasks Nov 20, 2018 Update Nov 19, 2018
mkdocs.yml updating changes from wroscoe to autorope Nov 4, 2018
setup.cfg V2.1 - Refactor to modular architecture. (autorope#89) Aug 14, 2017 deploy all tagged branches, not master Nov 5, 2018

donkeycar: a python self driving library

Build Status codecov PyPI version Py versions

Donkeycar is minimalist and modular self driving library for Python. It is developed for hobbyists and students with a focus on allowing fast experimentation and easy community contributions.

Quick Links


Use Donkey if you want to:

  • Make an RC car drive its self.
  • Compete in self driving races like DIY Robocars
  • Experiment with autopilots, mapping computer vision and neural networks.
  • Log sensor data. (images, user inputs, sensor readings)
  • Drive your car via a web or game controller.
  • Leverage community contributed driving data.
  • Use existing CAD models for design upgrades.

Get driving.

After building a Donkey2 you can turn on your car and go to http://localhost:8887 to drive.

Modify your cars behavior.

The donkey car is controlled by running a sequence of events

#Define a vehicle to take and record pictures 10 times per second.

from donkeycar import Vehicle
from import PiCamera
from import Tub

V = Vehicle()

#add a camera part
cam = PiCamera()
V.add(cam, outputs=['image'], threaded=True)

#add tub part to record images
tub = Tub(path='~/mycar/get_started',
V.add(tub, inputs=['image'])

#start the drive loop at 10 Hz

See home page, docs or join the Slack channel to learn more.

You can’t perform that action at this time.