jueves, 24 de marzo de 2011

Kinect-PS3



Un programador ha conseguido que el mando por voz y gestos Kinect de la consola Xbox de Microsoft funcione para la PlayStation 3 de Sony. Ha publicado el código fuente de su experimento con instrucciones sobre compilación y configuración. Se requiere un ordenador con el sistema operativo Linux. Se halla en una fase pre-alfa y ehttp://www.blogger.com/img/blank.gifllo se advierte en el vídeo donde ha grabado su experiencia usando la consola PS3 y el mando Kinect en el juego Killzone 3. El autor del experimento se llama Shantanu Goel.

Esta declinación de los usos de Kinect no está previsto por Microsoft que, sin embargo, sí que apoya plenamente el que los desarrolladores puedan encontrar aplicaciones del mando como gestor de un ordenador. La única noticia que hizo saltar las alertas de Microsoft en el tema de los usos alternativos de Kinect fue la propuesta de una empresa de contenidos para adultos de introducirlo en juegos eróticos.

Puedes encontrar las instrucciones en el comentario del video.

www.elpais.es

1 comentario:

Francisco Antonio Murillo Pacheco dijo...

Instrucciones:
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.