• Samsung Galaxy Nexus with Ice Cream Sandwich hands-on (video)

    The Galaxy Nexus (formerly referred to as the Nexus Prime) carries on the Nexus torch in spectacular fashion, and we've just spent a few quality moments with one here at the launch event. Design-wise, it's clear that the Nexus S DNA is here, though the rear reminds us most of the Galaxy S II. Those who abhor physical buttons will also be delighted, and while we'd gotten used to the whole Power + Home for a screenshot on the GSII, Power + Volume Down works just fine on this fellow.......

    read-more
  • Android 4.0 Ice Cream Sandwich now official, tons of enhancements

    PSHax member - Google has taken the stage in Hong Kong to make the next version of Android OS, nicknamed Ice Cream Sandwich, a thing of reality. Better known as Android 4.0, the update offers a massive redesign to the user interface and adds a plethora of new features. Some of the highlights include an NFC-enabled feature called Android Beam, offline search in Gmail, new lock screen features and a fancy unlocking method called "Face Unlock," which uses facial recognition to ensure strangers can't use your phone without permission. Ice Cream Sandwich also includes enhancements in.....

    read-more
  • Motorola RAZR to get updated to Ice Cream Sandwich in early 2012

    Mutricy mentioned that while the company's new flagship device was designed for Gingerbread, plans have been set to introduce the latest version of Android in the start of 2012, with a more precise date naturally on its way. Given past experience, however, it's probable that the unbranded version of the device will get the refresh ahead of the Droid RAZR on Verizon, so US users may need to exercise a wee bit of patience here. Regardless, it's time for the competition to step up......

    read-more
  • HTC Rezound render resoundingly revealed- wait next November 10th

    Hark! The first renders of the HTC Rezound have appeared online, thanks to some of the device's cases going up for pre-order. You can see that, like the Sensation XE, the phone has red-glowing soft keys -- a bit of a departure from HTC's traditionally conservative design language. If you recall, the phone formerly called Vigor is said to have a 4.3-inch screen, a dual-core 1.5GHz processor, 1GB RAM, Beats Audio and an 8MP rear camera.....

    read-more
Previous Next

Kinect Hack: Playing PS3 using Microsoft Kinect by Shantanu

Posted by Mohd Khairun Nasir Saadi On - - 0 comments


Awesome hack job by Shantanu. He gather all open source kinect related project and make used of the available DIY PS3 Controller with recent PS3 Hacks. Even it still early work, still awesome work to make kinect cross over the various platform.

This post describes my first attempt at making Kinect work with a PS3. Microsoft’s new XBOX 360 accessory, kinect has made a powerful entry into the market, becoming the fastest selling gadget of all time. Looks like their “You are the controller” tagline is working. Of course, Sony’s “similar” accessory Move is selling well too but is far behind kinect adoption probably because nothing beats the lure of making something work with just “The Force” ;) .

Now, of course, kinect doesn’t work with PS3 obviously but then if we can’t break the rules, we can at least bend them a little towards our way. I’ve created a mashup that allows you to use kinect as an input controller for the PS3.

Please note that this is pre-alpha quality software currently. I haven’t updated to a lot of recent code for the below libraries and also haven’t done most of the performance/feature improvements yet. The axis performance specially needs lot of tweaking and it works well only while sitting. Putting this out purely as a proof of concept. For the things that I plan to add soon, please see the Todo section below. Follow me at @shantanugoel for latest updates.

Demo Video:


The program makes use of several other programs in order to provide this functionality. To compile/use it, you also need the following programs:

1. OpenNI Libraries – To get data from kinect

2. NITE Libraries (Choose “Middleware” on the page) – Builds on top of OpenNI to provide gesture detection etc

3. PrimeSense Libraries for kinect – Kinect drivers to get raw data

4. DIYPS3Controller – The main component for PS3 connection and also known as sixaxis emulator. This emulates a DS3 on the PC and send the inputs to PS3 through bluetooth.

Installation/Compilation/Usage

1. Make sure that the above 4 things are installed on your machine and working fine.

2. Download the source of this project to the NITE Samples directory. You can even place it anywhere else but you would need to tweak the makefile to account for the changed paths.

3. Make any changes to the source that you need.

4. Change the included ps3 controller config xml file and place it in one of the locations where diyps3controller can find it.

5. Run make -f kinect-ps3.mak

6. The executable will be available in Samples/Bin directory of NITE.

7. Run kinect-ps3 (without any arguments)

8. Run emuclient (from ps3 controller software) and choose the new xml config file

9. “Become the controller” :)
Default Config:

Menu Profile – This is the default profile that kinect-ps3 starts with and allows to operate the PS3 menus. Moving hand in any direction will move the ps3 menus as if you were using the DPAD with those directions keys pressed. If you run out of the kinect’s watched space, then just do a backward push with your hand, bring your hand to center and then again do the backward push and continue scrolling. This is like you lift your finger up and then start dragging from edges of a laptop’s touchpad.For selecting any item, make two successive push movements with your hand without changing any x-y direction.
Game Profile – This profile can be switched to by doing 3 successive backward movements of the hand while in Menu profile. Right now I’ve implemented only directional controls in game profile because I’m still struggling with multiple hands detections and skeletal tracking. A full profile will be activated soon enough. Currently, the your hand’s x/y movements and directly translated to right stick x/y movements (e.g. this is looking in different directions in various FPS games). Moving the hand towards or away from kinect (z-axis) translate to left stick y movements (e.g. this is moving fowards or backwards in most FPS games).
Issues/Queries/Suggestions

Please direct them to me by commenting here or emailing me at shantanu AT shantanugoel DOT com

Coming Soon/ToDo

-Full Menu and Game profiles

- Skeletal tracking for better game profiles

- Switching back to menu profiles from game profiles

- Easier way to specify user custom profiles instead of changing code for the same

- Performance improvement for game profiles

Full source code of the project has been released at https://github.com/shantanugoel/Kinect-PS3 under GNU GPL v2.

Source

Categories: ,

Leave a Reply

Followers

GeostigmaShop Hot Items

[close]