Skip to content

Open source hardware and software platform to build a small scale self driving car.

License

Notifications You must be signed in to change notification settings

JCStarry/donkeycar

This branch is 810 commits behind autorope/donkeycar:main.

Folders and files

NameName
Last commit message
Last commit date
Jul 3, 2019
Jul 3, 2019
Jul 1, 2019
Jun 29, 2019
May 30, 2018
Jun 11, 2019
Jun 14, 2019
Aug 24, 2018
Sep 24, 2017
Nov 4, 2018
Nov 4, 2018
Nov 4, 2018
Jun 13, 2019
Aug 14, 2017
Jul 1, 2019

Repository files navigation

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

donkeycar

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 donkeycar.parts.camera import PiCamera
from donkeycar.parts.datastore 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',
          inputs=['image'],
          types=['image_array'])
V.add(tub, inputs=['image'])

#start the drive loop at 10 Hz
V.start(rate_hz=10)

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

About

Open source hardware and software platform to build a small scale self driving car.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 76.7%
  • JavaScript 18.5%
  • HTML 3.5%
  • CSS 0.6%
  • Shell 0.6%
  • Dockerfile 0.1%