README.md 944 Bytes
Newer Older
Will Roscoe's avatar
Will Roscoe committed
## Donkey (or Poney) 
A RC car controled by a Raspbery Pi. 
Will Roscoe's avatar
Will Roscoe committed

Will Roscoe's avatar
Will Roscoe committed
Project goal: The the sidewalk self driving vehicle (auto). 
Will Roscoe's avatar
Will Roscoe committed

Will Roscoe's avatar
Will Roscoe committed
### Use
Will Roscoe's avatar
Will Roscoe committed

Will Roscoe's avatar
Will Roscoe committed
clone repo & create virtual env
Will Roscoe's avatar
Will Roscoe committed

```
git clone git@github.com:wroscoe/donkey.git
cd donkey
virtualenv env -p python3
source env/bin/activate
```
Will Roscoe's avatar
Will Roscoe committed

Will Roscoe's avatar
Will Roscoe committed
drive (control in browser at <localhost or ip_address>:8889)
Will Roscoe's avatar
Will Roscoe committed

```bash
python manage.py record  (manual mode)
python manage.py auto 	 (autopilot mode)
```
Will Roscoe's avatar
Will Roscoe committed

train predictors from recorded data
Will Roscoe's avatar
Will Roscoe committed

```
python manage.py train --indir  <indir path>
```
Will Roscoe's avatar
Will Roscoe committed

Will Roscoe's avatar
Will Roscoe committed
### Driving

Will Roscoe's avatar
Will Roscoe committed
### Other Stuff 
* Find your Raspberry Pi:
Will Roscoe's avatar
Will Roscoe committed
	'''
Will Roscoe's avatar
Will Roscoe committed
    sudo nmap -sP 192.168.1.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}'
Will Roscoe's avatar
Will Roscoe committed
    '''
Will Roscoe's avatar
Will Roscoe committed
TODO: 

Will Roscoe's avatar
Will Roscoe committed
- [ ] Threadsafe image capture (for webserver + recorder)
- [ ] Update vehicle to drive given manual input.
- [ ] Try loading tensor flow on Raspberry Pi
- [ ] Train Convolution network from numpy arrays
Will Roscoe's avatar
Will Roscoe committed

Email Adam, Keven and Jeff about the Jan 22nd Race