Behavior Control
This control is developed by:
AvatarDJ Sures
Created January 27 2017
Updated February 8
Help Index

Kinect Body Control

How To Download and Use This Control

  1. Make sure you have the latest version of EZ-Builder installed.
  2. Select Download This Control button below to download the file.
  3. Double click the downloaded file to open it.
  4. The installer will automatically add this control to EZ-Builder.
Download This Control

This EZ-Builder plugin enables controlling servos of your robot by moving joints of your body, which are detected by a Microsoft xBox 360 Kinect only. servos can be assigned to each joint using the Settings window. Degrees to move the servos are automatically calculated for joints in relation to the connecting joint. For example, the wrist position in degrees is calculated in relationship to the elbow position. And the elbow position in degrees is calculated in relationship to the shoulder position. Each joint can be assigned to control servo positions between 1-180 degrees of your robot.



User-inserted image

Settings
The configuration window provides you with 3 tabs. The general tab contains settings for filtering and such. The other 2 tabs are to specify servos per joint.

Increase the smoothness value to remove servo jitter. However, there will be a slight delay as the smoothness value increases.
User-inserted image

The Upper and Lower servo tabs will specify what servos will be assigned to different joints of your body.
User-inserted image


Kinect Compatibility
I'm unsure of what kinect's work with the SDK in Windows, due to limited information published by Microsoft (or at least hard to find information). There are multiple Kinect versions, the one I used is xBox 360 Kinect. 

Drivers
Compiled against Kinect 1.8 SDK, because I only have an XBOX 360 Kinect. I'm unsure of the compatibility with later versions. The SDK can be installed from here, as you will need the libraries it includes: https://www.microsoft.com/en-ca/download/details.aspx?id=40278

Work In Progress
- The servos for legs are not implemented yet
- The shoulder rotation servos are not implemented yet

DJ Sures
Synthiam
February 1
Great - then long as you’re using the correct 360 Kinect, it works as instructed in the video.
Jeremie
Synthiam
February 1
@Autiboy, just double checking, do you have the power supply for the Kinect plugged in? It cannot work with just USB.
February 1
Yes I have the usb ac power supply for the xbox 360.  The problem is that I cannot see the xbox 360's camera in EZ-Builder when I move.
DJ Sures
Synthiam
February 2
In the demo video above, what part is not working for you? You never see the 360’s camera output. It’s expected to see your skeleton when standing in front of the Kinect 360. 

Next Friday I will demo how to use the Kinect with EZ-Builder.
February 2
Thanks DJ That would be nice.  Also the 2nd Fridays video does not work did you not stream that day?