Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

You are the RC Car controller with the Kinect/RC project

Devin reached out to us about his project when we asked for help finding Kinect for Windows SDK based projects, Help! Let us know about your Windows and Kinect for Windows SDK Projects... and I thought this so cool that I'm also stealing it... err... um... I mean... um... highlighting it here too! Come on, a RC car with a wireless web cam, coded with Unity, Prism and the Kinect? Talk about a Hardware Friday post!

devinh / KinectRCCar

This is the code for my Master Project. It allows you to control a remote control car with the Microsoft Kinect.

The program was written in C# using VS2010 Ultimate. You should be able to use any other version of VS2010, only the Modeling project probably won't load. I haven't tried loading this in Visual C# Express, but I don't see why it won't work.

In order to use the software, you need to have a remote control car that the program is able to interface to. To do this you must use a hardware solution that interfaces between the remote control car's transmitter and the computer. You must then create a plugin DLL the Kinect/RC Car program then uses to communicate with your hardware solution. You can look at my solution in the KinectRC.CarControllerService project which communicates with an mbed microcontroller prototype board which in turn controls an MCP4261.

To make your own plugin DLL:

1. Create a class library project

2. Reference the KinectRCCar.Infrastructure project

3. Reference the Unity IOC Library and the PRISM library from NuGet or download from their respective websites.

4. Create a class that implements the ICarControllerService interface.

5. Write the code in this class that communicates with your hardware solution.

6. Create a Module class that inherits from the PRISM IModule interface.

7. Register your CarControllerService in the Initilization method.

8. Add the following attribute above the class declaration in your Module class: [Module(ModuleName = "CarControllerModule")]

9. Build the project then place the DLL in the Modules folder in the KinectRCCar build folder.

10. Remove the current CarControllerService DLL from the Modules folder.

11. Run the program.

Additional information on how the program was written is in the Project Report...

"Additional information?" I'd say so! We're talking a 66 page PDF!

imageimage

The objective of this project is to create a program (herein after called Kinect/RC) that allows a user to easily control a remote control car using a natural user interface (NUI), specifically, the Microsoft Kinect. To accomplish this project, various goals need to be met. Video needs to be provided from a camera mounted on the remote control car to allow the user to view the direction in which the car is headed. This is a more natural and easier way to control the car than watching the car directly. Additionally, the program needs to provide telemetry data such as direction and velocity of the car to confirm to the user that their intended hand motions are being recognized the way they wish (Hands in a position that expresses turning left should show that a left turn is being sent to the remote control car). The program should also display the skeletal data that is determined by the Kinect so the user is able to verify they are being recognized correctly. Thus, for example, the user can correct their positioning should part of their body be cut off from the view of the Kinect. The Kinect has an adjustable elevation of ±27° [1] so the program needs to provide the user the ability to adjust this elevation. This adjustment will allow the placement of the Kinect at any height within its tolerance of 2 ft. to 6 ft. [1] above the floor. The project also must be written using design patterns and other object-oriented principles to develop a modular and easily maintainable program.

image

Oh and all the source is available too!

image

Now check out the video to see it in action.

See, awesome isn't it?

Tags:

Follow the Discussion

  • Mario VernariMario Vernari

    A similar project has been presented by Lorenzo Maiorfi in Bologna (Italy), during the Hack Reality (2/2012).
    I was there with him.
    Here are some pictures as well as a demo video:
    http://tinyclr.it/qualche-foto-di-tinyclrit-a-hack-reality-2012.aspx

  • Faiq SiddiquiFaiq Siddiqui

    Dear Friend,

    You done excellent Job....I like it very much...keep it up
    Faiq Siddiui
    Bahrain

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.