Self driving library for python.
Project description
donkeycar: a python self driving library
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 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
donkeycar-2.5.8.tar.gz
(244.2 kB
view details)
File details
Details for the file donkeycar-2.5.8.tar.gz
.
File metadata
- Download URL: donkeycar-2.5.8.tar.gz
- Upload date:
- Size: 244.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 045469dcceeaab550b754454ee9370c3df65093100f24c514be088c3d941b9bd |
|
MD5 | 4938447bee740289e522a0731198d731 |
|
BLAKE2b-256 | 7ae033ca82b7145cb3d394e070bf82fd770a290dd87278f0a9d30872e5ee2fe2 |