Small robotic platform based on Raspberry Pi controlled by a remote PS4 game controller over a wireless network.
pip3 install -r requirements.txt
sudo apt-get install python3-smbus
python3 robotServer.py
Connect game controller to remote machine. Configure the correct server IP on client and run python3 client.py
on the remote machine.
client.py -h <host> -p <port> [--verbose]
- Right pad: Speed, turning and steering
- Left pad: Look with camera
- Hat pad: Move camera center
- Raspberry Pi 3 with Ubuntu Server LTS 20.04
- Adafruit Motor Hat https://www.adafruit.com/product/2348
- Pimorini Pantilt Hat https://shop.pimoroni.com/products/pan-tilt-hat
- 4x 5-12V DC gear motors
- 12V battery pack for motor power
- USB battery pack for Raspberry Pi 3
ethernets: