├── donkeycar ├── util │ ├── times.py │ ├── __init__.py │ ├── web.py │ ├── proc.py │ ├── files.py │ ├── img.py │ └── data.py ├── parts │ ├── __init__.py │ ├── Backup │ │ ├── __init__.py │ │ ├── clock.py │ │ ├── lidar.py │ │ ├── imu.py │ │ ├── transform.py │ │ ├── teensy.py │ │ ├── encoder.py │ │ ├── autorope.py │ │ ├── camera.py │ │ ├── simulation.py │ │ ├── actuator.py │ │ └── keras.py │ ├── web_controller │ │ ├── __init__.py │ │ ├── templates │ │ │ ├── static │ │ │ │ ├── bootstrap │ │ │ │ │ └── 3.3.7 │ │ │ │ │ │ └── fonts │ │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ │ └── style.css │ │ │ ├── base.html │ │ │ └── vehicle.html │ │ └── web.py │ ├── clock.py │ ├── lidar.py │ ├── imu.py │ ├── transform.py │ ├── teensy.py │ ├── encoder.py │ ├── autorope.py │ ├── camera.py │ ├── simulation.py │ └── keras.py ├── tests │ ├── test_parts.py │ ├── __init__.py │ ├── test_management.py │ ├── test_transform.py │ ├── test_actuator.py │ ├── test_web_controller.py │ ├── test_sensors.py │ ├── test_simulations.py │ ├── test_vehicle.py │ ├── test_keras.py │ ├── test_tub_reader.py │ ├── test_sim.py │ ├── test_tub_handler.py │ ├── test_tub_writer.py │ ├── test_scripts.py │ ├── test_tubgroup.py │ ├── setup.py │ ├── test_memory.py │ ├── test_util_data.py │ └── test_tub.py ├── management │ ├── __init__.py │ ├── tub_web │ │ ├── static │ │ │ ├── bootstrap │ │ │ │ └── 3.3.7 │ │ │ │ │ └── fonts │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ ├── style.css │ │ │ └── tub.js │ │ ├── tubs.html │ │ ├── base.html │ │ └── tub.html │ └── tub.py ├── __init__.py ├── LICENSE ├── templates │ ├── config_defaults.py │ ├── tk1.py │ ├── square.py │ └── donkey2.py ├── memory.py ├── log.py ├── config.py ├── vehicle.py └── Backup │ └── vehicle.py ├── _config.yml ├── setup.cfg ├── MANIFEST.in ├── Dockerfile ├── chassis └── arduino │ └── libraries │ ├── SSD1306.zip │ └── RBD_Timer.zip ├── install ├── envs │ ├── ubuntu.yml │ ├── sagemaker.yml │ ├── mac.yml │ ├── rpi.yml │ └── windows.yml ├── README.md ├── pi │ ├── opencv.sh │ ├── prepare.sh │ └── install.sh └── LICENSE ├── doc └── meeting minutes │ ├── release_note │ └── 1-Startup Meeting-20190120.md ├── LICENSE-MIT ├── mkdocs.yml ├── README.md └── setup.py /donkeycar/util/times.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /donkeycar/parts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-cayman -------------------------------------------------------------------------------- /donkeycar/parts/Backup/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /donkeycar/tests/test_parts.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /donkeycar/parts/web_controller/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [metadata] 2 | description-file = README.md 3 | -------------------------------------------------------------------------------- /donkeycar/tests/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | -------------------------------------------------------------------------------- /donkeycar/management/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include donkeycar/templates/* 2 | recursive-include donkeycar/parts/web_controller/templates/ * -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python:3 2 | 3 | WORKDIR /app 4 | 5 | ADD . /app 6 | RUN pip install -e . 7 | 8 | EXPOSE 8887 9 | -------------------------------------------------------------------------------- /chassis/arduino/libraries/SSD1306.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mavengers/DonkeyDrift/HEAD/chassis/arduino/libraries/SSD1306.zip -------------------------------------------------------------------------------- /chassis/arduino/libraries/RBD_Timer.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mavengers/DonkeyDrift/HEAD/chassis/arduino/libraries/RBD_Timer.zip -------------------------------------------------------------------------------- /donkeycar/parts/clock.py: -------------------------------------------------------------------------------- 1 | import datetime 2 | 3 | class Timestamp(): 4 | 5 | def run(self,): 6 | return str(datetime.datetime.utcnow()) 7 | 8 | -------------------------------------------------------------------------------- /donkeycar/parts/Backup/clock.py: -------------------------------------------------------------------------------- 1 | import datetime 2 | 3 | class Timestamp(): 4 | 5 | def run(self,): 6 | return str(datetime.datetime.utcnow()) 7 | 8 | -------------------------------------------------------------------------------- /install/envs/ubuntu.yml: -------------------------------------------------------------------------------- 1 | name: donkey 2 | dependencies: 3 | 4 | - h5py=2.5.0 5 | - pillow=2.9.0 6 | 7 | - pip: 8 | - theano==0.9.0 9 | - tensorflow==1.7.0 10 | -------------------------------------------------------------------------------- /donkeycar/util/__init__.py: -------------------------------------------------------------------------------- 1 | from . import (proc, 2 | data, 3 | files, 4 | img, 5 | times, 6 | web) 7 | -------------------------------------------------------------------------------- /install/envs/sagemaker.yml: -------------------------------------------------------------------------------- 1 | name: donkey 2 | dependencies: 3 | 4 | - numpy 5 | - pandas 6 | - pillow 7 | - h5py 8 | 9 | - pip: 10 | - tensorflow-gpu 11 | - docopt 12 | - moviepy 13 | -------------------------------------------------------------------------------- /donkeycar/management/tub_web/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mavengers/DonkeyDrift/HEAD/donkeycar/management/tub_web/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /donkeycar/tests/test_management.py: -------------------------------------------------------------------------------- 1 | 2 | from donkeycar.management import base 3 | from tempfile import tempdir 4 | 5 | def get_test_tub_path(): 6 | tempdir() 7 | 8 | def test_tubcheck(): 9 | tc = base.TubCheck() 10 | -------------------------------------------------------------------------------- /donkeycar/management/tub_web/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mavengers/DonkeyDrift/HEAD/donkeycar/management/tub_web/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /donkeycar/management/tub_web/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mavengers/DonkeyDrift/HEAD/donkeycar/management/tub_web/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /donkeycar/parts/web_controller/templates/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mavengers/DonkeyDrift/HEAD/donkeycar/parts/web_controller/templates/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /donkeycar/parts/web_controller/templates/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mavengers/DonkeyDrift/HEAD/donkeycar/parts/web_controller/templates/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /donkeycar/parts/web_controller/templates/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mavengers/DonkeyDrift/HEAD/donkeycar/parts/web_controller/templates/static/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /install/README.md: -------------------------------------------------------------------------------- 1 | ### Install on raspberry pi 2 | The easiest way to get donkey running on a pi is with 3 | a prebuilt disk image. To create your own disk 4 | image you can use the scripts in /pi. 5 | 6 | 7 | ### Install on other systems 8 | Create a conda environment using the env files in 9 | -------------------------------------------------------------------------------- /doc/meeting minutes/release_note: -------------------------------------------------------------------------------- 1 | ## First Version Released 2 | * 2019-3-14 Piday@MushroomCloud DonkeyDrift first version released in Shanghi, China. 3 | ## Features 4 | * Stripped wires. 5 | * Optimized KarasLinear algorithm. 6 | * fixed bugs tensorflow version's problem. 7 | * TODO: "oneshot shell scripts" for beginner. 8 | * TODO: "make beginner kits" 9 | -------------------------------------------------------------------------------- /donkeycar/management/tub_web/tubs.html: -------------------------------------------------------------------------------- 1 | 2 | {% extends "base.html" %} 3 | {% block content %} 4 | 5 |
6 |Click/touch to use joystic.
112 |
';
107 | })
108 | .join('');
109 |
110 | if (clipIdx === selectedClipIdx) {
111 | html += previewProgress();
112 | }
113 |
114 | return html;
115 | };
116 |
117 | var previewProgress = function() {
118 | return '\
119 |