Skip to content

Issue on OS X 10.8.3 with last Kinect model #4

@killkrt

Description

@killkrt

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions