I love playing racing games.
I developed a program which you can use as game controller.
This program gets the coordinates of your l/r hand and l/r feet. It calculates by your hands a steering wheel and your feet the speed. If your right foot is at the ground you will give maximum of speed. When you lift it for some centimeters it will reduce speed or moving backwards.
After calculating the program send keys with SendInput() to the game and release them after a short time. This time will be calculated by using speed and direction. Maximum of time is 33ms (Because kinect has 30fps (1000ms / 30fps = 33ms per frame)).
I recorded a short movie you can see here. Normally it runs a more smoothly but my pc isn't the best one. I already recorded the webcam with my notebook. ;)
Later this evening I will upload the project files so you can try it on your own or take parts of the code.
Backward: y (on German layout)
You did an awesome work!!! congratulations!!!.
please how I can use the demo with my hacked kinect?
thanks and regards
- download & extract the zip
- copy all ms .h files ("...\Microsoft Research KinectSDK\inc") and scancodes.h to your include directory of visual studio c++
- start and setup trackmania control
- run kinecttracmania.exe from Debug
I am new at visual studio and c++. I have coding experience before in java.
I would like to begin develop applications with c++ and kinect. I search for tutorials but all of them in C# or .Net.
Can someone help me how and where to start?
I also download trackmania but it doesn't work. How can I run trackmania in my computer?