Add 'README.md'
This commit is contained in:
parent
6727b4fdc9
commit
f7cd4bea5c
|
@ -0,0 +1,25 @@
|
||||||
|
# RC Car using Raspberry Pi 3 and an Xbox One Controller
|
||||||
|
## Prerequisites
|
||||||
|
* Raspberry Pi 3 with Raspbian (should work with another distro)
|
||||||
|
* Xbox One Controller (Bluetooth version, other bluetooth/usb controller should work)
|
||||||
|
* Installed WiringPi
|
||||||
|
* make
|
||||||
|
* Servoblaster installed and loaded
|
||||||
|
|
||||||
|
## Building
|
||||||
|
```
|
||||||
|
git clone https://git.divaldo.hu/divaldo/PiCar.git
|
||||||
|
cd PiCar/
|
||||||
|
make
|
||||||
|
```
|
||||||
|
## Running
|
||||||
|
Connect your controller:
|
||||||
|
```
|
||||||
|
sudo su
|
||||||
|
echo 1 > /sys/module/bluetooth/parameters/disable_ertm
|
||||||
|
exit
|
||||||
|
```
|
||||||
|
Execute the app (maybe need superuser privilege):
|
||||||
|
```
|
||||||
|
./bt_car
|
||||||
|
```
|
Loading…
Reference in New Issue