https://github.com/autorope/donkeycar Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this organization All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} autorope / donkeycar Public * Notifications * Fork 1.2k * Star 2.4k Open source hardware and software platform to build a small scale self driving car. www.donkeycar.com License MIT license 2.4k stars 1.2k forks Star Notifications * Code * Issues 67 * Pull requests 20 * Actions * Projects 1 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights autorope/donkeycar This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 33 branches 45 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/a] Use Git or checkout with SVN using the web URL. [gh repo clone autoro] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @DocGarbanzo DocGarbanzo Bump version after release ... eedd7ed Apr 1, 2023 Bump version after release eedd7ed Git stats * 2,177 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github arduino donkeycar install scripts .coveragerc .gitignore CONTRIBUTING.md Dockerfile LICENSE MANIFEST.in Makefile README.md setup.cfg setup.py View code Donkeycar: a python self driving library Quick Links Use Donkey if you want to: Get driving. Modify your cars behavior. README.md Donkeycar: a python self driving library Build Status Lint Status Release All Contributors Issues Pull Requests Forks Stars License Discord 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 Updates & Examples * Build instructions and Software documentation * Discord / Chat 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 or RC 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. About Open source hardware and software platform to build a small scale self driving car. www.donkeycar.com Topics python raspberry-pi tensorflow keras vision self-driving-car cv2 donkeycar jetson-nano Resources Readme License MIT license Stars 2.4k stars Watchers 151 watching Forks 1.2k forks Report repository Releases 15 Donkey Car 4.5.0 Latest Apr 1, 2023 + 14 releases Packages 0 No packages published Used by 30 * @UCSD-ECEMAE-148 * @Girish-Krishnan * @xebia-france * @Autonomous-Vehicle-Research-Group-UD * @thundergolfer * @cocohzy * @ahernandez1801 * @tsigalko18 + 22 Contributors 113 * @tawnkramer * @wroscoe * @DocGarbanzo * @wallarug * @sctse999 * @Ezward * @zlite * @tikurahul * @nvtkaszpir * @adammconway * @mw46d + 102 contributors Languages * Python 86.4% * JavaScript 7.5% * HTML 2.2% * kvlang 1.7% * C++ 1.4% * Shell 0.4% * Other 0.4% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.