Coder Social home page Coder Social logo

mavengers / donkeydrift Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 3.0 3.23 MB

Open-source self-driving car based on DonkeyCar and programmable chassis

Home Page: https://haobot.github.io/DonkeyDrift/

License: GNU General Public License v3.0

Dockerfile 0.02% C++ 2.57% Python 68.45% HTML 3.14% JavaScript 24.18% CSS 0.79% Shell 0.85%
self-driving-car raspberry-pi tensorflow donkeycar car python vision arduino stm32 pid-control

donkeydrift's Introduction

DonkeyDrift

This is a new project from Shanghai, China, which is originally based on DonkeyCar. We have built an Arduino chassis with high performance, modified several configurations and chosen tensorflow version at 1.8.0 and donkeycar version at 2.5.1 of master branch.

Instruction

1. Reference & Tools:

https://pan.baidu.com/s/1Gl0iprFv91YLO-QGRjGgTQ

2. Clone this repository:

git clone https://github.com/Haobot/DonkeyDrift

cd DonkeyDrift/

3. Install DonkeyDrift:

activate donkey
pip install -e .

4. Create new instance:

donkey createcar ./mycar
cd  mycar/

5. Calibrate car:

donkey calibrate --channel 0
donkey calibrate --channel 1

6. Drive car:

python manage.py drive 

7. Train Model on PC or Server:

python manage.py train --tub=./data/your_tub_name --model=./models/your_model_name

8. Test Model with Unity simulators:

donkey sim --model=./models/your_model_name --type=linear

P.S. Simulators just work well on Linux and MAC now, Windows version need fixing.

9. Drive car with model for Auto Drive:

python manage.py drive --model=./models/your_model_name

Have fun!

donkeydrift's People

Contributors

haobot avatar rockets-cn avatar yoyojacky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

donkeydrift's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.