Category PS4 CFW and Hacks       Thread starter PSXHAX       Start date Sep 15, 2019 at 5:31 AM       2,479       2            
Following the DJI Tello Drone and DeepRacer RC remote control PS4 DualShock 4 mods, recently Veilkrand on Github shared a Simple Wireless Rover for Raspberry Pi Controlled by PS4 DS4 via WiFi for exploration and race hobby enthusiasts. 🏁

Download: simplePiRover-master.zip / GIT

You can check out Alberto Naranjo's Blog for more, and from the README.md: Simple Wireless Rover for Raspberry Pi

Small robotic platform based on Raspberry Pi controlled by a remote PS4 game controller over a wireless network.

Kickstart Guide

1. Install Adafruit Motor Hat in Raspberry Pi

https://github.com/adafruit/Adafruit-Motor-HAT-Python-Library.git

2. Start server in Raspberry Pi
Code:
python3 robotServer.py
3. Start the client on a remote machine

Connect game controller to remote machine. Configure the correct server IP on client and run python3 client.py on the remote machine.
Code:
client.py -h <host> -p <port> [--verbose] [--python2]
Use the --python2 or -y option to use the pickle protocol 2 to be backward compatible with Python2 (e.g. for ROS).

4. Control
  • L2: Forward
  • R2: Backward
  • Right pad: Spin left or right
Hardware
  • Raspberry Pi 3 with Raspbian Jessie.
  • Adafruit Motor Hat: https://www.adafruit.com/product/2348
  • 4x 5-12V DC gear motors.
  • 12V battery pack for motor power
  • USB based battery pack for Raspberry Pi 3
Files
  • client.py UDP client that will connect the first game controller and start sending data to a predefined ip and port.
  • robotServer.py UDP server to receive the remote game controller inputs and move the rover.
  • GameController.py Class to handle the bluetooth PS4 game controller.
  • SimpleUDPClient.py Basic client class.
  • SimpleUDPServer.py Basic server class.
  • test_SimpleUDPServerClass.py A simple test to visualize a client.
  • test_SimpleUDPServerClass_python2.py A simple test to visualize a client.
  • SimpleUDPServer_python2.py Downgraded to be compatible with Python2.
  • Robot4WD.py Class to handle the robot control using Adafruit Motor Hat. https://github.com/adafruit/Adafruit-Motor-HAT-Python-Library.git
Simple Wireless Rover for Raspberry Pi Controlled by PS4 DS4 via WiFi.jpg
 
:idea: Reminder: Those without a Verified Badge yet on Discord to access the private areas we recommend Joining Us! Why? The waiting process takes a week for new Members, and there's a lot we're unable to share on public forums including the latest PS4 PKG Games. 🏴‍☠️

Comments

Recent Articles
Sony CEO Jim Ryan States PS5 Price Won't be the Lowest, Reflects Value
With their official PS5 Gaming Showcase set to be unveiled next week, Sony Interactive Entertainment president and CEO Jim Ryan revealed in an interview that the PlayStation 5 Price won't be the...
PlayStation 5 Unveiling Next Thursday, Limited Backwards Compatibility?!
Although not likely to be as next-gen as this PS5 Concept Video for the DualSense PS5 Controller, today Sony finally announced their next-generation PlayStation 5 console unveiling will take place...
PS4HEN 2.1.4 Github Fork with Save Data Mounting by xXxTheDarkprogramerxXx
Following the PS4 HEN 2.1.3 updates, PlayStation 4 homebrew developer @TheDarkprograme shared a PS4HEN 2.1.4 Github fork (from SiSTR0's repository, also forked from xvortex) via Twitter that...
PS4 ROP 8CC: Return-Oriented Programming Port by Sleirsgoevy for 6.51 WebKit Exploit
We've seen PS3 Browser ROP Exploitation, a PS4 ROP Tool, a PS4 ROP / SPRX / ELF File Archive, PS4 ROP Gadgets, a PS4 ROP Kernel Dumper and following his Blu-Play DOOM I Port PlayStation 4 scene...
Top