nguyer / node-kinect

Kinect in Node
181 stars 34 forks source link

No depth or video data callbacks, all other functions working fine #9

Closed flimshaw closed 9 years ago

flimshaw commented 9 years ago

Was going nuts trying to get a socket server implementation working in Python for the kinect, so I decided to give your library a try. It seems like everything's wired up correctly and most tests pass (LED controls, tilt etc) but I can't receive any video or depth info. No error messages, it just times out after sending various write_register messages.

Kinect depth and video work fine in other apps so I'm pretty sure it's not a hardware issue. Here's the test ouput:

1) Depth should allow to pass in a depth callback: Error: timeout of 60000ms exceeded at null. (/Users/charlie/code/kinect/node-kinect/node_modules/mocha/lib/runnable.js:156:19) at Timer.listOnTimeout as ontimeout

2) Video should allow to pass in a depth callback: Error: timeout of 60000ms exceeded at null. (/Users/charlie/code/kinect/node-kinect/node_modules/mocha/lib/runnable.js:156:19) at Timer.listOnTimeout as ontimeout

And here's my npm list output:

kinect@0.2.0 ~/code/kinect/node-kinect └─┬ mocha@1.21.1 ├── commander@2.0.0 ├─┬ debug@1.0.4 │ └── ms@0.6.2 ├── diff@1.0.7 ├─┬ glob@3.2.3 │ ├── graceful-fs@2.0.3 │ ├── inherits@2.0.1 │ └─┬ minimatch@0.2.14 │ ├── lru-cache@2.5.0 │ └── sigmund@1.0.0 ├── growl@1.8.1 ├─┬ jade@0.26.3 │ ├── commander@0.6.1 │ └── mkdirp@0.3.0 └── mkdirp@0.3.5

Aaaand lastly:

libusb: stable 1.0.19 libfreenect: stable 0.4.3

Let me know if there is any more info that would help!

BadBauds commented 9 years ago

Any news concerning this issue?

In my case the test works perfectly but I can't get my program to run the callback (but I can control the led). I'm using an ARM machine (ODROID U3) with lubuntu 14.04.

I've tried with the same code on another computer (x86, Ubuntu 14.04) and it worked perfectly. Maybe it has to do with the ARM. But still, it is weird because the test works as normal (24 passing).

This issue is quite annoying because otherwise I really like the module and I also need it.

nguyer commented 9 years ago

Hi @flimshaw. I am the new maintainer of this repo now, and I'm looking through the open issues. Is this still an issue for you with the latest version?

farazfazli commented 7 years ago

@nguyer I am also facing the same issue, is this normal?