| 
				
					
						
							 | 
			||
|---|---|---|
| .dep.inc | ||
| Makefile | ||
| README.md | ||
| joystick.cc | ||
| joystick.hh | ||
| main.cpp | ||
| rpiPWM1.cpp | ||
| rpiPWM1.h | ||
| rpiServo.cpp | ||
| rpiServo.h | ||
		
			
				
				README.md
			
		
		
			
			
		
	
	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