plasmodic/ecto_openni

broken since 0457

Closed this issue · 2 comments

sometime between rev 0547 and current master things break for me. at 0547 the kinect_standalone pops up two well behaved windows, now I get

Connecting to device.
Depth modes:
Mode 0 : xres= 320 yres= 240 fps= 30 distance=400
Mode 1 : xres= 320 yres= 240 fps= 60 distance=4.29497e+09
Mode 2 : xres= 640 yres= 480 fps= 30 distance=0
Mode 3 : xres= 320 yres= 240 fps= 30 distance=400
Mode 4 : xres= 320 yres= 240 fps= 60 distance=4.29497e+09
Mode 5 : xres= 640 yres= 480 fps= 30 distance=0
Mode 6 : xres= 320 yres= 240 fps= 30 distance=400
Mode 7 : xres= 320 yres= 240 fps= 60 distance=4.29497e+09
Mode 8 : xres= 640 yres= 480 fps= 30 distance=0
image modes:
Mode 0 : xres= 320 yres= 240 fps= 30 distance=400
Mode 1 : xres= 320 yres= 240 fps= 60 distance=4.29497e+09
Mode 2 : xres= 640 yres= 480 fps= 30 distance=0
Mode 3 : xres= 320 yres= 240 fps= 30 distance=400
Mode 4 : xres= 320 yres= 240 fps= 60 distance=4.29497e+09
Mode 5 : xres= 640 yres= 480 fps= 30 distance=0
Mode 6 : xres= 1280 yres= 1024 fps= 15 distance=6.074e+09
Mode 7 : xres= 640 yres= 480 fps= 30 distance=0
Mode 8 : xres= 640 yres= 480 fps= 30 distance=0
Mode 9 : xres= 320 yres= 240 fps= 60 distance=4.29497e+09
Mode 10 : xres= 320 yres= 240 fps= 30 distance=400
Mode 11 : xres= 320 yres= 240 fps= 25 distance=400.031
Mode 12 : xres= 640 yres= 480 fps= 25 distance=5
Mode 13 : xres= 320 yres= 240 fps= 25 distance=400.031
Mode 14 : xres= 640 yres= 480 fps= 25 distance=5
Mode 15 : xres= 640 yres= 480 fps= 25 distance=5
Mode 16 : xres= 320 yres= 240 fps= 25 distance=400.031
Mode 17 : xres= 1600 yres= 1200 fps= 30 distance=6.074e+09
 attempting to turn on registration...
 attempting to turn on sync...
Successful sync between depth and image.
Failed to start generating.Device Protocol: Bad Parameter sent!
303:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Connected to device.
Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

Failed to update all contexts.A timeout has occurred when waiting for new data!
426:/home/troy/Projects/ecto_kitchen/src/openni/modules/Capture.cpp

and no windows. switching back and forth between the two revisions and recompiling reliably repeats the behavior.

What script, what parameters?

resolution: use a passthrough filter on pointclouds. Apparently the new conversion to NaN, which was a bugfix, terribly confuses a bunch of other stuff. Also some of what I struggled with appears to have been standard openni gremlins.