Skip to content

Conversation

@hanyazou
Copy link
Contributor

Add 5 about 5 seconds limit to revent the Protonect from waiting for the changes of the status 0x090000: 1024 forever. (see #613)

Tested on Mac OS X 10.11. Protonect could show the window and images if it ignores the status checking.

BEFORE:

[Info] [Freenect2DeviceImpl] opening...
[Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 20_16384 ir: 4_128*33792
[Info] [Freenect2DeviceImpl] opened
[Info] [Freenect2DeviceImpl] starting...
[Debug] [Freenect2DeviceImpl] status 0x090000: 1024
// wait forever

AFTER:

[Info] [Freenect2DeviceImpl] opening...
[Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 20_16384 ir: 4_128*33792
[Info] [Freenect2DeviceImpl] opened
[Info] [Freenect2DeviceImpl] starting...
[Debug] [Freenect2DeviceImpl] status 0x090000: 1024
[Debug] [Freenect2DeviceImpl] status 0x090000: timeout
[Debug] [Freenect2DeviceImpl] status 0x090000: 1026
[Info] [Freenect2DeviceImpl] submitting rgb transfers...
// snipped

xlz added a commit that referenced this pull request Mar 13, 2016
Add 5 seconds limit to the status 0x90000 checking loop
@xlz xlz merged commit 803e7fb into OpenKinect:master Mar 13, 2016
@hanyazou hanyazou deleted the status_1024 branch March 14, 2016 12:26
@floe
Copy link
Contributor

floe commented Mar 21, 2016

Now also in 0.1 branch, anyone care to re-test 0.1 on MacOS X?

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

Successfully merging this pull request may close these issues.

3 participants