A tool for visualizing robot movements alongside human movements. The concat system displays a depth skeleton from Kinect2 alongside a 3D rendering of data from an ABB IRB 6700 industrial robot arm.
The depth skeleton can optionally be rendered as a 3D figure made of cylinders via a toggle (press 3 while Concat is running) for a more life-like presentation of the human figure.
Stills from video of Catie Cuan's performance with the concat tool. Video by Kevin Barry at ThoughtWorks.
This codebase was developed to support artist Catie Cuan as part of her residency at ThoughtWorks Arts. It runs on openFrameworks and requires a KinectV2 depth sensor.
(Follow along with this video)
You will need: A Kinect V2, a Windows machine. Follow these steps after cloning the repository into your machine, and following the Installation instructions below.
-
Testing the Kinect: This is a good first debugging step to ensure that your Kinect is working properly before trying to run the whole app. Open the SDK Browser v2.0 (Kinect for Windows). Go to Samples: C++ >> Body Basics-D2D (at the bottom) and click Run You should now arrange the Kinect until you see the dot-and-line skeleton on the screen. Then you can close the SDK.
-
Preparing the app: Open Visual Studio 2017 and open concat.sln. Make sure the app is in Debug and x64 bit mode. You should see a green button in the top bar that says Local Windows Debugger. Click on that to run the app.
-
Connecting app to Kinect: The app will now have opened in full screen. Click the
F
key to get out of full screen. Now run theBodyBasicsWPF
executable that you should bookmark on the bottom of the Windows bar for easy access. This is the bridge that will allow the Kinect stream to go into the concat app. Another black screen should pop up, have someone move around in front of the Kinect until you see the skeleton in the app. Leave this app open, go back to the concat window and toggle theF
key again to go back to full screen. -
Making the figure 3D: Now you should see the skeleton on the screen of the app. Toggle the
3
key to turn it into 3D. -
Starting and Stopping the dance sequence: Use the Space bar to start the choreographed moves. Space will also pause/play. Toggle the
R
key to restart.
For now, concat must be run on Windows due to the dependencies of the Kinect V2. See dependencies below. You must
- Install openFrameworks for Visual Studio 2017
- Follow these steps to setup Visual Studio
- Add ofxOSC and ofxAnimatable to your addons from the dependencies below. Put the addon in the addons folder in your openFrameworks root folder.
- Install Kinect for Windows SDK following these instructions and test that you can run the executable. Follow the first instruction from here
- Clone this repo
- ofxOSC (part of the openFrameworks core)
- ofxKinectV2-OSC
- ofxAnimatable
- Tested against openFrameworks 0.10.0