Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on OS X 10.8.3 with last Kinect model #4

Open
killkrt opened this issue Apr 27, 2013 · 4 comments
Open

Issue on OS X 10.8.3 with last Kinect model #4

killkrt opened this issue Apr 27, 2013 · 4 comments

Comments

@killkrt
Copy link

killkrt commented Apr 27, 2013

Hi,

I am on OS X 10.8.3 using Xcode 4.6.2 and I have a last model of XBOX 360 Kinect (bought just few days ago). I read around (on openFrameworks forum) that last model could cause some problem related to the motor/accelerator sensor.
I found a fix in branch "kinect-device-fix" in repository ofxKinect:
https://github.com/ofTheo/ofxKinect/tree/kinect-device-fix

And I tested with some oF examples and it seems to work. I tried to port this fix in your code, but I got some errors.

Anyway this is the issues that I get when I try to execute the example "Kinect Basics" (as it is, without any /fix/):
Console output reports:

There are 1 Kinects connected.
libc++abi.dylib: terminate called throwing an exception

Programs throws an exception at CinderFreenect at line 154.

Debugging a little the code it seems that the code at usb_libusb10.c at line 194 (and below) fails while finding a /compatible/ Kincet device.
The value of ctx->enabled_subdevices is always equal to 3 so it matches only the condition related to the motor (and skip the camera one), but since desc->idProduct is 708 it doesn't match the PID_NUI_MOTOR value.

I've tried to bypass this condition, but programs still to terminate with the same exception.

/Porting/ (I just try to copy the difference from oF implementation and your) the oF fixing I got the error reported here:
http://forum.libcinder.org/topic/os-x-problem-with-new-kinect

Could you help me?

Moreover I noticed that example "KinectPointCloudGLApp.cpp" doesn't compile due to an error at line 143:
Call to non-static member function without an object argument

Thank you!

@andrewfb
Copy link
Collaborator

Hi - I fixed the compile error on KinectPointCloudGLApp, but I don't have immediate access to one of the new model Kinects in order to track down this error. I'll work on getting access to one...

@killkrt
Copy link
Author

killkrt commented May 5, 2013

Thank you very much! I'm looking forward to hearing from you! ;-)

P.S.:
I found that the right code of the model should be 1473, I know another guy is working on this fix for OpenKinect: git://github.com/wizgrav/libfreenect.git

@killkrt
Copy link
Author

killkrt commented Jun 21, 2013

@wizgrav seems to have fixed the issues on Mac OS X, please see: OpenKinect/libfreenect#325

@paperview
Copy link

@killkrt the Cinder-Kinect freenect folder is different in structure from wizgrav's libfreenect. I replaced libfreenect.h with wizgravs but it still gives me the same error. How did you make this work?

I have the libfreenect examples running, but not the Cinder-Kinect basic example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants