Dualshock 4

I got a new joystick for Christmas, an PlayStation 4 Dualshock controller. I decided that today was the day for setting it up. I assumed it wouldn’t be a big task, but I encountered some problems booting the NUC. I ended up disassemble the bot in order to remove one of the RAM modules. Need to investigate this further as I want to be able to use the full 16 GB that I have available.

Anyway, back to the DS4, the Bluetooth was somehow disabled, don’t know what have happened as I have used it previously with the DS3.  A quick

 sudo chmod +x /usr/sbin/bluetoothd
 sudo service bluetooth restart

did the trick. All you need to do then is to “pair” the controller just like any other bluetooth device.  Push and hold both the “PlayStation” and “Share” buttons at the same time until the controller starts blinking. It is now in “pairing” mode, then pair the controller with the computer using the bluetooth menu (bluetooth icon–>Set Up New Device…)!

sudo apt-get install jstest-gtk

This allowed me to setup the joystick, and display the raw values of the joystick. I was not able to see any data from the accelerometer and  gyroscope. I’ll leave that for now and revisit if I need this down the road.



Pengatom.com rebooted

I decided to stop my previous project, the ROSbonova, almost a year ago now as I decided it wouldn’t be able to deliver what I am looking for. Since then I have gathered parts and saved up some money to build a “HR-OS5 General Grievous” clone.

I had some difficulties getting the subdomain settings right for the blog and the wiki, and I have some other minor things that I want to fix before I’m satisfied with the setup, but I’ll I aim to start working on the robot and sharing the progress here in the blog.

I’ve already got most of the mechanical parts assembled, I’m missing some servos before it is complete. The idea is to write a small application to control each servo individual to find max, min and center limits. Then I might do the same with ROS integrated, making two small and easy tutorials for Dynamixel and ROS.