shiffman / OpenKinect-for-Processing

For use of libfreenect in processing
532 stars 219 forks source link

No data is being received from the Kinect #136

Open amygoodchild opened 6 years ago

amygoodchild commented 6 years ago

I am using Windows 10 and Kinect v2. I have the SDK 2.0 and the libusbK driver installed.

When I run any of the example files, I just get essentially a blank canvas (with whatever UI elements there are). I've tried println some of the data and I just get 0's.

However, the serial monitor is saying the kinect is detected and then there is a bunch of other info. Here's what I'm seeing:

64 windows
Init Kinect2 
[Freenect2Impl] enumerating devices...
[Freenect2Impl] 8 usb devices connected
[Freenect2Impl] found valid Kinect v2 @2:5 with serial 023939234347
[Freenect2Impl] found 1 devices
1 Device Connected!
[OpenCLDepthPacketProcessor::listDevice]  devices:
  0: GeForce GTX 1080 Ti (GPU)[NVIDIA Corporation]
[OpenCLDepthPacketProcessor::init]  selected device: GeForce GTX 1080 Ti (GPU)[NVIDIA Corporation]
Devce: 0
[Freenect2Impl] enumerating devices...
[Freenect2Impl] 8 usb devices connected
[Freenect2Impl] found valid Kinect v2 @2:5 with serial 023939234347
[Freenect2Impl] found 1 devices
[Freenect2DeviceImpl] opening...
[Freenect2DeviceImpl] opened
Enable Kinect 2 Video
[Freenect2DeviceImpl] starting...
[Freenect2DeviceImpl] ReadData0x14 response
92 bytes of raw data
0x0000:  00 00 12 00 00 00 00 00 01 00 00 00 43 c1 1f 41    2e2e2e2e2e2e2e2e2e2e2e2e432e2e41
0x0010:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e
0x0020:  0a 21 33 55 c2 00 17 20 00 08 00 00 10 00 00 00    2e2133552e2e2e202e2e2e2e2e2e2e2e
0x0030:  00 01 00 00 00 10 00 00 00 00 80 00 01 00 00 00    2e2e2e2e2e2e2e2e2e2e802e2e2e2e2e
0x0040:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e
0x0050:  00 00 00 00 00 00 00 00 07 00 00 00                2e2e2e2e2e2e2e2e2e2e2e2e

[Freenect2DeviceImpl] ReadStatus0x090000 response
4 bytes of raw data
0x0000:  1c 20 00 00                                        2e202e2e

[Freenect2DeviceImpl] ReadStatus0x090000 response
4 bytes of raw data
0x0000:  1c 20 00 00                                        2e202e2e

[Freenect2DeviceImpl] enabling usb transfer submission...
[Freenect2DeviceImpl] submitting usb transfers...
[Freenect2DeviceImpl] started
Device Serial: 023939234347
Device Firmware: 4.1.3917.0.7

Any help would be hugely appreciated, thanks

alexdmiller commented 5 years ago

I'm having this exact same problem on maxOS 10.13.6, Kinect V2.