Search Comments and Ratings

go

   
Date File Comment by Comment Rating
26 Mar 2015 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa yashin

yashin (view profile)

Hello ;

the kinect works normally but when i reverse the kinect (the diode oriented to the ground
or oriented to the up ) i have this errors :
Error reported by S-function 'sfun_nid' in 'nid_cvst_image/NID Image':
NID Error: IMAQ block and other NID blocks are not synchronized.

before the kinect works well.

have you an idea how i can resolve this problem ?

thanks in advance

Comment only
18 Mar 2015 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Oliver Martins

I need a help to count the skeletons being tracked

Comment only
16 Mar 2015 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Oliver Martins

good day

I am not able to operate the blocks to Simulink

The following errors are appearing

### Confirming Simulink Support for Kinect installations with Kinect SDK...
### Setting MATLAB path to .\Lib and .\Lib\doc_en directories.
### Generating C:\Users\f0106367\Downloads\simulink_support_for_kinect_0.6.1\slkinect\Lib\simulinkfornidinfo.m
### Generating C MEX file for Simulink Support for Kinect...
Warning: MEX cannot find library 'Kinect10'. Defaulting to 'libKinect10.lib'.
> In makecmexfile4nid at 62
In setup_kinectsdk at 76
Building with 'Microsoft Windows SDK 7.1 (C++)'.
Error using mex
kinectSDK_wrapper.cpp
C:\Users\f0106367\Downloads\simulink_support_for_kinect_0.6.1\slkinect\Lib\kinectSDK_wrapper.cpp(16)
: fatal error C1083: Cannot open include file: 'NuiApi.h': No such file or
directory

Could you please help me

Thank U

Comment only
27 Jan 2015 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Takashi Chikamasa

Hi yashin,

Actually, this is an intended behavior. I fixed maximum sample rate from Kinect up to 30 fps because it is the specification of Kinect device.

Comment only
20 Jan 2015 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa yashin

yashin (view profile)

Hello takashi;

i did program to detect the position of my quadrotor by the kinect i used this block of kinect:NID IMAQ, NID DEPTH , but i have a delay caused by this program of simulink, i obtain the position after 2 seconde, and i can't modify the simple time of this block (NID IMAQ), it's fixed to 1/30

have you an idea how i can resolve this problem?

all your informations can help me

thak you very much

Comment only
16 Jan 2015 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Przemyslaw

doesn't work... :<

Comment only
09 Dec 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Chinmay Chinara

Hi Takashi,

The issue has been solved.

This issue occurs with one Security Update during Windows Update that removes the file "ammintrin.h" from "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE" folder that makes the "mex -setup" process generating a file missing error.

If you have the following installed properly:
1. MATLAB R2013b
2. Microsoft Visual Studio 2010 Express Edition (VC++)
3. Microsoft Windows SDK v7.1
4. Kinect for Windows SDK v1.8

and still getting the error above then do the following:
1. Download and install the "Microsoft Visual Studio 2010 SP1" from the link
"http://www.microsoft.com/en-in/download/details.aspx?id=23691"
2. Download and install the "Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1" from the link:
"http://www.microsoft.com/en-us/download/details.aspx?id=4422"

After installing these restart the system and all should work fine.

Happy Kinecting :)

Comment only
09 Dec 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Chinmay Chinara

Hi Takashi,
I have the following installed:
1. MATLAB R2013b
2. Microsoft Visual Studio 2010 Express Edition (VC++)
3. Microsoft Windows SDK v7.1
4. Kinect for Windows SDK v1.8

I ran "mex -setup" to set the compiler to "Microsoft Visual C++ 2010 in C:\Program Files (x86)\Microsoft Visual Studio 10.0"

I then used the GUI based set up using the command "setup_kinectsdk"

I get the following error:

### Confirming Simulink Support for Kinect installations with Kinect SDK...
### Setting MATLAB path to .\Lib and .\Lib\doc_en directories.
### Generating E:\Kinect\simulink_support_for_kinect_0.6.1\slkinect\Lib\simulinkfornidinfo.m
### Generating C MEX file for Simulink Support for Kinect...
kinectSDK_wrapper.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\intrin.h(26) : fatal error C1083: Cannot open include file: 'ammintrin.h': No such file or directory

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

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;

Also when I try simulating any model using the "Simulink Natural Interaction Device" toolbox I get the following error:

Error evaluating 'InitFcn' callback of NID IMAQ block (mask) 'kinect_mdl_old/NID IMAQ'.

Caused by:
Error in S-function 'kinect_mdl_old/NID IMAQ': S-Function 'sfun_nid' does not exist

How to tackle these issues.

Thanks in advance.

Comment only
09 Dec 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Chinmay Chinara

Hi Takashi,

Comment only
13 Nov 2014 Embedded Coder Robot NXT Demo Offers an enjoyable Model-Based Design experience using Simulink models with Lego robots Author: Takashi Chikamasa Nguyen

Nguyen (view profile)

Hello! thank you for your working.
I have some problems, it didnot work with me. I have a matlab R2013.
When I run the simulink file "nxtmouse.mdl", it has the error:
Error evaluating 'InitFcn' callback of Light Sensor Interface block (mask) 'nxtmouse_ctrl/Light Sensor Interface'.
Undefined function or variable 'NXT.Signal'.

Anyone know how to fix it? please help me, thank you very much

4
10 Nov 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Takashi Chikamasa

Glad to hear it. Enjoy!

Comment only
07 Nov 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa jordi

jordi (view profile)

Hi Takashi,

I solved by running the file Nid_skeleton_SL is the same and not work properly, thanks.

Comment only
06 Nov 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa jordi

jordi (view profile)

Hi Takashi,
when you run the file Nid_Skeleton_eML m get the following error:
Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks.
Use 'mex -setup' to select a supported C-compiler.
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. In the near future
you will be required to update your code to utilize the new
API. You can find more information about this at:
http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html
Building with the -largeArrayDims option enables the new API.

I do the work and and get this warning:

Warning: MEX-files generated using Microsoft Visual C++ 2012 require
that Microsoft Visual Studio 2012 run-time libraries be
available on the computer they are run on.
If you plan to redistribute your MEX-files to other MATLAB
users, be sure that they have the run-time libraries.

Thank you.

Comment only
31 Oct 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa jordi

jordi (view profile)

Hi Takashi,
if that many thanks for your help :)

5
31 Oct 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Takashi Chikamasa

jordi,

I assume that you specified the path to Kinect SDK shoujld be like the following (not Kinect folder, but v1.8 folder).
C:\Program Files\Microsoft SDKs\Kinect\v1.8

Is this correct?

Comment only
30 Oct 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa jordi

jordi (view profile)

Hi Takashi,

if I run the setup and gives me the following error:
>> setup_kinectsdk
### Confirming Simulink Support for Kinect installations with Kinect SDK...
### Setting MATLAB path to .\Lib and .\Lib\doc_en directories.
### Generating D:\Documents\MATLAB\slkinect\Lib\simulinkfornidinfo.m
### Generating C MEX file for Simulink Support for Kinect...
kinectSDK_wrapper.cpp
kinectSDK_wrapper.cpp(16) : fatal error C1083: No se puede abrir el archivo incluir: 'NuiApi.h': No such file or directory

C:\PROGRA~1\MATLAB\R2013A\BIN\MEX.PL: Error: Compile of 'kinectSDK_wrapper.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 checked repeatedly the compilers SDK 7.1 and Visual Studio 2010 but do not be, thanks.

Comment only
28 Oct 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Takashi Chikamasa

Hi jordi,

Did you already succeed to run setup_kinectsdk.m without error to build a DLL for the block set?

Comment only
27 Oct 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa jordi

jordi (view profile)

Hi Takashi,

I'm having troble with simulation of kinect block:
Error evaluating 'InitFcn' callback of NID IMAQ block (mask) 'nid_cvst_what_is_nid/NID IMAQ1'.

Caused by:
Error in S-function 'nid_cvst_what_is_nid/NID IMAQ1': S-Function 'sfun_nid' does not exist
please help me.

Comment only
22 Oct 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Takashi Chikamasa

Hi andres,

I confirmed that my Simulink Support for Kinect and Image Acquistion Toolbox Support Package could work in a PC. You can install install the SDK manually and Windows Runtime is installed during installation of IMAQ Toolbox Support Package automatically.

Comment only
17 Oct 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa andres

andres (view profile)

hello takashi
I have a problem with the installation of Simulink Support for Kinect.
matlab 2014a with Image Acquisition Toolbox Support Package for Kinect For Windows Runtime and SDK1.8
I do not know how the package is installed.
thank you for your help

Comment only
26 Jun 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Anshul Joshi

Sometimes you might get an error even when you've installed correctly:

### Generating C MEX file for Simulink Support for Kinect...
kinectSDK_wrapper.cpp
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\intrin.h(26) : fatal error C1083: Cannot open include file: 'ammintrin.h': No such file or directory

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

??? Error using ==> mex at 208
Unable to complete successfully.

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

Error in ==> setup_kinectsdk at 76
makecmexfile4nid;

This is because it cannot find the file ammintrin.h. Run CMD prompt as administrator and use:
echo. > "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\ammintrin.h"

to generate that file. (This instruction is given at http://www.chromium.org/developers/how-tos/build-instructions-windows)

5
18 Jun 2014 Embedded Coder Robot NXT Demo Offers an enjoyable Model-Based Design experience using Simulink models with Lego robots Author: Takashi Chikamasa Christian

Did anybody figure out how to solve this problem with make? I think my 64-Bit Windows 7 might be a problem...
I'm using MATLAB R2014a.

### Executing GNU-ARM toolchain for building executable ...
Compiling /cygdrive/C/Users/LaborPC/Documents/MATLAB/ecrobotNXT/environment/nxtOSEK/toppers_osek/kernel/alarm.c to alarm.o
/bin/sh: '/cygdrive/E/Programme/cygwin/GNUARM'/bin/arm-none-eabi-gcc: No such file or directory
/cygdrive/C/Users/LaborPC/Documents/MATLAB/ecrobotNXT/environment/nxtOSEK/ecrobot/tool_gcc.mak:108: recipe for target 'build/kernel/alarm.o' failed
make: *** [build/kernel/alarm.o] Error 127

Comment only
30 Apr 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Flavius Domide

Hello, i have a question

When i try to run nid_cvst_motion i have the error : Error evaluating 'InitFcn' callback of NID IMAQ block (mask) 'nid_cvst_motion/NID IMAQ1'.

Caused by:
Error in S-function 'nid_cvst_motion/NID IMAQ1': S-Function 'sfun_nid' does not exist

I unlocked the library that i used.

Thank you !

Comment only
19 Apr 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa discuter harry

阿达

Comment only
02 Apr 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa yashin

yashin (view profile)

Hello;

i have errors when i execute programs of skeleton

what's this problem ?

Can you help me

Thank you very much

Comment only
02 Apr 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa yashin

yashin (view profile)

hello ;

I succeed to working the kinect.
Now,I want to get the positions X,Y,Z of my quadrortor by using the program of Simulink Support For Kinect
you know the good program can help me ? and i can't execute some programs like "nid_Cvst_point_could.mdl" nid_cvst_skelton"nid_cvst_corner_detection"
Have you an idea about this problem

Thank you very much
Have a good day
Yassine

Comment only
05 Mar 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Malstheet

Hi i have a question, i got the depth data and color data image what should i do to get a good segmentation

Comment only
24 Feb 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Takashi Chikamasa

Important - OpenNI SDK software downloads will continue to be available until April 23rd, 2014 at which time the OpenNI website will be closed.

http://www.openni.org/openni-sdk/

Comment only
24 Feb 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Takashi Chikamasa

Hi yashin,

You might need to connect a Kinect before executing MATLAB as Dghy advised.

P.S. Thanks!, Dghy

Comment only
23 Feb 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Dghy

Dghy (view profile)

Hi Yassine,
I had same problem. I think it is caused by MATLAB not recognizing Kinect. In my case, I do:
1. Connect Kinect to PC before running MATLAB/Simulink.
2. In Matlab run mux -setup and SETUP_KINECTSDK again.
3. Open Simulink.

It helped with my problem.

Daniel.

Comment only
20 Feb 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa yashin

yashin (view profile)

Hello takashi;

I successfully run SETUP_KINECTSDK but when I ran some example this message appears.
Error reported by S-function 'sfun_nid' in 'nid_cvst_image/NID IMAQ':

NID Error: Failed to initialize NID. It might be caused by
- NID is not connected.
- NID unsupported block is used in the model

please help me to solve this problem

thank you in advance

Yassine

Comment only
14 Feb 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Takashi Chikamasa

Hi Johanna,

>I have one more question to make everything >clear, the kinect has to be used in normal mode >in simulink and there is no way then to run the >kinect and get image in real time?
You could run the Kinect blocks in accelerator mode in Simulink, even you could generate native excutable (*.exe) by Simulink coder. The exception is only the Skeleton Viewer because it is written in M file S-Funciton.

Comment only
13 Feb 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Johanna

Takashi, thank you for your answer.

I have one more question to make everything clear, the kinect has to be used in normal mode in simulink and there is no way then to run the kinect and get image in real time?

Thanks again

Comment only
13 Feb 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Takashi Chikamasa

Hi Johanna,

Unfortunately, the skeleton viewer is written in M file S-Function. Therefore, Code generation products could not work with it. Sorry for that.

Comment only
11 Feb 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Johanna

Hi Takashi,

I am using this support for kinect and it is great! I however have a problem with running it in real time, I am trying to use external mode to run it in real time but I get the following error message.

The corresponding 'skeleton_viewer.tlc' file for the MATLAB S-function 'skeleton_viewer' in block 'nid_cvst_skeleton/Skeleton Viewer' must be located in the current working directory, the MATLAB S-function directory 'C:\Work\johannai\slkinect\Lib', or the directory 'C:\...\slkinect\Lib\tlc_c'

There doesnt seen to be a skeleton_viewer.tlc file in the package? Do you have any idea how I can solve this problem?

I really appreciate your work, thanks!

5
07 Feb 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa kn ra

kn ra (view profile)

Hi takashi,

I install PrimeSense v 1.5, OpenNI v 1.5 and SDK v 1.7 and the Kinect works very well.but when I run (nid_cvst_pattern_tracking). matlab does not include NID block IMAQ.
My question is is there a block that I must download and put it in matlab?

Comment only
05 Feb 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Dghy

Dghy (view profile)

Hello Takashi,

I really appreciate your fast response. Thank you for advice.

I am throwing 80 mm ball which is about 2.5m/3m away from Kinect. As you advised, I tried throwing bigger object and it worked. Now depth camera can recognize and obtain correct Z coordinate of my flying object (I don't have bigger ball at the moment, so I used box).
(Size of throwed box: 240mm x 120mm x 80 mm).

Thank you very much for your help. You gave me fast and good solution for my problem which I was trying to solve for a big amount of time.
I only regret that I haven't asked you for help sooner, I would save a lot of time.
Thank you again.

Daniel.

Comment only
05 Feb 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Takashi Chikamasa

In terms of data acquisition for both of RGB and Depth, the way of implementation which I used collects both data (RGB and Depth) at the same time, so I think there should be no delay between those data.

How much is the size of the flying ball? Kinect uses a lot of infrared spots to measure depth. But I am not sure how much small ball Kinect depth sensor can measure. I guess that bigger ball should be more stable and accurate.

Comment only
04 Feb 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Dghy

Dghy (view profile)

Hello Takashi,

Thank you for your fast reply, I really appreciate that you have found a moment for my problem.

I have looked at those check boxes and they are ON at all times. Also looked at sample that you recommended. I noticed that X, Y, Z coordinates of Depth are received form NID Depth block. In my program, for ball recognition and obtaining it coordinates, I am using Blob Analysis (Centroid) (just like in your "nid_cvst_pattern_tracking.mdl"). It gives me X and Y coordinates in pixels. In next step, I take those X,Y coordinates and use them to find Z coordinate form Depth data (output form NID Depth is given as "Depth").
Despite of usage "Adjust view point to Image", sometimes (especially in parallel to X axis throws) my Z coordinates are wrong.

Is it possible that coordinates from RGB image are not accurate enough, or Depth image has some kind of Delay ( maybe weak PC ) ?
I could use X,Y,Z coordinates from NID Depth block but in that case, I have severe fps drops, so fast flying ball is not recognized.

Thank you again for your time.

Looking forward for your replay,
Daniel.

Comment only
04 Feb 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Takashi Chikamasa

Dear Dghy,

To synchronize Depth and RGB image, please make sure the following block dialog parameters are checked.
1. Adjust view point to Image check box: ON in NID IMAQ block
2. Real world coordinates check box: ON in NID Depth block

nid_cvst_point_cloud.slx sample might also help you to understand how to synchronize RGB and Depth.

Comment only
03 Feb 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Dghy

Dghy (view profile)

Hello Takashi,

I have made system that can recognize red ball and calculate its trajectory. During tests, I noticed something: RBG image and Depth image are not well synchronized. It doesn't make much difference when I am throwing ball towards Kinect, but when ball is flying parallel to X axis, it is a problem. Z coordinates of ball are collected by mean of X and Y coordinates form RGB image. In this case, my Z coordinate colected forom Depth data is all wrong. Here is an image that will help you understand my problem:
http://imgur.com/JKIwqYr

Can you advise any solution ?
Thanks in advance,
Dghy.

Comment only
14 Jan 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Takashi Chikamasa

Hi Kelvin,

The path to the OpenNI should be like
"C:\Program Files\OpenNI" (for 64bit Win).
Please make sure that you specified to OpenNI folder during set up. OpenNI versions which you pointed should be fine.

Comment only
12 Jan 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa KELVIN YAP

Hi Takashi,

I uninstalled the previous version of openNI, PrimeSense-Nite and PrimeSense Sensori and downloaded the following version:

1. openNI 1.5.2.23
2. PrimeSense-Nite 1.5.2.21
3. PrimeSensor v5.1.0.41

Previously I have typed wrongly. I am using Matlab 2011a and not 2013a.

I have followed the steps as stated but I keep getting the same error message:

??? Error using ==> setup_openni>GuiBasedSetUp at 210
ERROR: OpenNI might not be installed or version mismatch.
Error in ==> setup_openni at 51
[openNI_dir] = GuiBasedSetUp();

Also, I am unsure what it meant when it request to specify OpenNI Installation path. I entered the folder where the openNI files are kept. Not sure if that the correct way to do it.

Can you please advise me on solving this issue?

Thanks

Kelvin

Comment only
10 Jan 2014 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa KELVIN YAP

Hi Takashi,

I have downloaded the following:

1. openNI 1.5.4.0
2. PrimeSense-Nite 1.5.2.21
3. PrimeSense Sensor 5.1.2.1

I have downloaded the Microsoft Visual Studio 2010 Express Edition and Microsoft Windows SDK 7.1 and had set it as C MEX compiler.

However when I ran the setup-openni, I kept getting the following error message:

Error using setup_openni>GuiBasedSetUp (line 210)
ERROR: OpenNI might not be installed or version mismatch.
Error in setup_openni (line 51)
[openNI_dir] = GuiBasedSetUp();

By the way, I am using matlab 2013a

I do not know where is wrong. Hope that you can advise me on how to solve it.

Thanks :)

Kelvin

Comment only
24 Dec 2013 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Takashi Chikamasa

Hi Jose,

What kind of error message have you seen? if you are OK, please copy and paste the message in the comments.

Comment only
21 Dec 2013 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa jose

jose (view profile)

Hi Takashi
It's possible to use the IMAQ and SKELETON blocks by using Real-Time Windows Target???
The thing is that I want to control using the kinect a Parrot AR Drone through the "AR Drone Simulink Development-Kit V1 by David Escobar Sanabria (http://www.mathworks.com/matlabcentral/fileexchange/43719-ar-drone-simulink-development-kit-v1)" but when i tried to execute, it gives a lot of errors. I would be grateful if you could give any idea. Thanks!!!
PS: My english is not good, because i'm from Ecuador and i barely write in English

4
06 Dec 2013 Embedded Coder Robot NXT Demo Offers an enjoyable Model-Based Design experience using Simulink models with Lego robots Author: Takashi Chikamasa Chanthery Elodie

Thank you a lot for this code. I'm facing a problem when I try the nxtbuild function.

### Executing GNU-ARM toolchain for building executable ...
Compiling /cygdrive/C/cygwin64/ecrobotNXT/environment/nxtOSEK/toppers_osek/kernel/alarm.c to alarm.o
/cygdrive/C/cygwin64/ecrobotNXT/environment/nxtOSEK/ecrobot/tool_gcc.mak:110: recipe for target `build/kernel/alarm.o' failed
make: *** [build/kernel/alarm.o] Error 127

Do you have an idea for helping me?
I am on windows 7, with matlab 2012a.

Thank you a lot!

Comment only
25 Nov 2013 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Takashi Chikamasa

Hi Vincent,

NID IMAQ block has a real time synchronization capability, therefore, it seems that the real time Synchronization block is not needed in your model.

Comment only
20 Nov 2013 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Johanna

Hi, I have done the compilation but how do I after that get the blocks into simulink? Or did something go weong since they are not there?

thanks

Comment only
05 Nov 2013 Simulink Support for Kinect Simulink Support for Kinect is a set of Simulink blocks interfaced with OpenNI and Kinect SDK. Author: Takashi Chikamasa Vincent

Hi,

I am using the kinect simulink blocks from the library together with a real time synchronization. The real time Synchronization block is constantly missing ticks and when looking at the profiler report, the reason is that the NID IMAQ block uses all its sample time, as if it is idling and waiting for the next image. This happens at 0.04 s as well as 0.2 s or more.
Do you know how this time can be set free for other calculations to be done?

Thank you in advance,
Vincent

Comment only

Contact us