Rank: 317880 based on 0 downloads (last 30 days) and 0 file submitted
photo

Mike Powell

E-mail
Company/University
Johns Hopkins University

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Mike Powell View all
Updated File Comments Rating
19 Sep 2012 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa

I am trying to output xyz coordinate depth data over time. I would like to output these coordinates in real-time. Is this possible with this code? If so, how (exactly) can I implement this?

What I have tried so far (among many other things):
1. Open the nid_depth.mdl block
2. Double click the NID Depth block and change output to XYZ.
3. Check "Real World Coordinates"
4. Double click on the selector. Change the number of input dimensions to 3.
5. Insert a simulink/Sinks/To Workspace block instead of the scope.
6. Change the time from inf to 1.5.
7. Double click the wire between the NID Depth block and the To Workspace block. Name the wire using a name without spaces.
7. Hit run.

When I do this, the output is a 1x1x46 timeseries. This is not what I am looking for.

To do what I am asking, do I need the computer vision system toolbox (which I do not currently have)?

05 Sep 2012 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa

Actually, I just fixed the mex problem and it ran successfully using the recommedation listed at
http://www.mathworks.com/matlabcentral/answers/27759#answer_36115

"I had to copy "mspdb100.dll" from the "..\Microsoft Visual Studio 10.0\Common7\IDE\" to the "..\Microsoft Visual Studio 10.0\VC\bin\"."

by Stephen Yip.

05 Sep 2012 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa

(and I wanted to add that I have a Simulink license)

Amanda

05 Sep 2012 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa

Hi,

I have installed:
- Microsoft SDK 7.1
- Visual Studio C++ 2010 Express
- OpenNI Stable Build for Windows x86 v1.5.2.23 Redist Edition
- PrimeSense NITE Stable Build for Windows x86 v 1.5.2.21 Redist Edition
- PrimeSensor Module Stable Build x86 v 5.1.0.41
- Kinect for Windows SDK v1.5

However, when I open setup_kinectsdk.m in MATLAB and hit run, I get the following error:

C:\PROGRA~1\MATLAB\R2012A\BIN\MEX.PL: Error: Compile of 'sfun_nid.cpp' failed.

Error using mex (line 206)
Unable to complete successfully.

Error in makecmexfile4nid (line 62)
mex('sfun_nid.cpp', 'kinectSDK_wrapper.cpp', 'wrapper_common.cpp', ['-L' KinectSDKPathLib], '-lKinect10', ['-I'
KinectSDKPathInclude]);

Error in setup_kinectsdk (line 76)
makecmexfile4nid;

I have tried changing the compiler using mex -setup, but neither compiler works. The compiler options I tried were:

[1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2012a\sys\lcc
[2] Microsoft Software Development Kit (SDK) 7.1 in C:\Program Files\Microsoft Visual Studio 10.0

Any assistance or suggestions would be appreciated.

Amanda

Contact us