Join Us and become a Member for a Verified Badge to access private areas with the latest PS4 PKGs.
Status
Not open for further replies.
Proceeding the WiFi Rover for RPi DS4 PS4 Controller earlier this week, today developer Caiit committed on Github NAO PS4 Control which as the name implies allows you to control a NAO Robot with a PlayStation 4 DualShock 4 (DS4) Controller. 🤖 🎮

Download: nao_ps4_control-master.zip / GIT

From the README.md: NAO PS4 Control

Requirements

pygame and Pillow can be installed using pip or the requirements file:
Code:
pip install -r requirements.txt
NaoQi cannot be installed using pip and should be installed following this link.

Setup

Copy sound files to the robot:
Code:
scp -r sounds/ nao@<robot_ip>:~/
Connect the robot and the ps4 controller to your laptop.

To connect the ps4 controller via bluetooth follow this link.

Run
Code:
cd scripts/ python ps4.py -ip <robot_ip>
Controls
  • Left joystick: move in x/y direction
  • Right joystick: turn
  • X: wave
  • O: kick
  • â–³: elephant
  • â–¡: saxophone
  • PS4: shutdown (robot will go to rest position and disconnect)
Add new motions
  • Create a new python file in motions/.
  • Add the motion to the NAO class.
  • Add the motion to a specific button in the PS4 class.
C++
Code:
Install smfl sudo apt-get install libsfml-dev
And for those unfamiliar with NAO Bots, below is a brief demonstration video of the popular humanoid robots in action. :LOL:

Self Consciousness with NAO Bots
NAO PS4 Control NAO Robots with PS4 DualShock 4 Controller by Caiit.jpg
 

Comments

Status
Not open for further replies.
Back
Top