All Projects → autorope → Donkeycar

autorope / Donkeycar

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

Programming Languages

python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects
CSS
56736 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to Donkeycar

DonkeyDrift
Open-source self-driving car based on DonkeyCar and programmable chassis
Stars: ✭ 15 (-99.32%)
Mutual labels:  vision, self-driving-car, donkeycar
Self Driving Toy Car
A self driving toy car using end-to-end learning
Stars: ✭ 494 (-77.46%)
Mutual labels:  self-driving-car, raspberry-pi
Deepdrive
Deepdrive is a simulator that allows anyone with a PC to push the state-of-the-art in self-driving
Stars: ✭ 628 (-71.35%)
Mutual labels:  self-driving-car, vision
Tensorrider self driving car
基于BP神经网络的自动驾驶模型车。包含收集数据、控制模型生成与在线/离线自动运行所需的程序。
Stars: ✭ 17 (-99.22%)
Mutual labels:  self-driving-car, raspberry-pi
Self driving pi car
A deep neural network based self-driving car, that combines Lego Mindstorms NXT with the computational power of a Raspberry Pi 3.
Stars: ✭ 744 (-66.06%)
Mutual labels:  self-driving-car, raspberry-pi
Self drive
基于树莓派的自动驾驶小车,利用树莓派和tensorflow实现小车在赛道的自动驾驶。(Self-driving car based on raspberry pi(tensorflow))
Stars: ✭ 749 (-65.83%)
Mutual labels:  self-driving-car, raspberry-pi
True artificial intelligence
真AI人工智能
Stars: ✭ 38 (-98.27%)
Mutual labels:  self-driving-car, raspberry-pi
Make
📖📖📖📖📖 写给软件工程师看的硬件编程指南
Stars: ✭ 170 (-92.24%)
Mutual labels:  raspberry-pi
Attendance Using Face
Face-recognition using Siamese network
Stars: ✭ 174 (-92.06%)
Mutual labels:  vision
Div Games Studio
Complete cross platform games development package, originally for DOS but now available on modern platforms.
Stars: ✭ 168 (-92.34%)
Mutual labels:  raspberry-pi
Diozero
Java Device I/O library that is portable across Single Board Computers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
Stars: ✭ 167 (-92.38%)
Mutual labels:  raspberry-pi
Pico Micropython Examples
Examples to accompany the "Raspberry Pi Pico Python SDK" book.
Stars: ✭ 168 (-92.34%)
Mutual labels:  raspberry-pi
Raspberrypi Timemachine
Apple Time Machine with raspberry Pi
Stars: ✭ 174 (-92.06%)
Mutual labels:  raspberry-pi
Homeassistant
Example Home Assistant Configs
Stars: ✭ 168 (-92.34%)
Mutual labels:  raspberry-pi
Omxiv
OpenMax image viewer for the Raspberry Pi
Stars: ✭ 175 (-92.02%)
Mutual labels:  raspberry-pi
Stressberry
Stress tests for the Raspberry Pi
Stars: ✭ 167 (-92.38%)
Mutual labels:  raspberry-pi
A314
A314, a trapdoor expansion that lets you use a Raspberry Pi as a co-processor to an Amiga 500
Stars: ✭ 176 (-91.97%)
Mutual labels:  raspberry-pi
Debian Pi Aarch64
This is the first 64-bit system in the world to support all Raspberry Pi 64-bit hardware!!! (Include: PI400,4B,3B+,3B,3A+,Zero2W)
Stars: ✭ 2,505 (+14.28%)
Mutual labels:  raspberry-pi
Octoprint Tft
A OctoPrint touch interface for TFT touch modules based on GTK+3
Stars: ✭ 172 (-92.15%)
Mutual labels:  raspberry-pi
Rpi Security
A security system written in python to run on a Raspberry Pi with motion detection and mobile notifications
Stars: ✭ 171 (-92.2%)
Mutual labels:  raspberry-pi

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.

import time
from donkeycar import Vehicle
from donkeycar.parts.cv import CvCam
from donkeycar.parts.tub_v2 import TubWriter
V = Vehicle()

IMAGE_W = 160
IMAGE_H = 120
IMAGE_DEPTH = 3

#Add a camera part
cam = CvCam(image_w=IMAGE_W, image_h=IMAGE_H, image_d=IMAGE_DEPTH)
V.add(cam, outputs=['image'], threaded=True)

#warmup camera
while cam.run() is None:
    time.sleep(1)

#add tub part to record images
tub = TubWriter(path='./dat', inputs=['image'], types=['image_array'])
V.add(tub, inputs=['image'], outputs=['num_records'])

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

See home page, docs or join the Discord server to learn more.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].