a few more attempts, I have it working once again, with dropped frames. ... Stream 70] Expected 1748 data bytes, but got 948 [Stream 70] Expected max 1748 data bytes, but got 1908. Dropping... [Stream 80] Expected 1908 data bytes, but got 948 [Stream 80] Expected 1908 data bytes, but got 948 [Stream 70] Expected 1748 data bytes, but got 948 [Stream 80] Expected 1908 data bytes, but got 948 [Stream 70] Expected 1748 data bytes, but got 948 [Stream 70] Expected max 1748 data bytes, but got 1908. Dropping... [Stream 80] Expected 1908 data bytes, but got 948 [Stream 80] Expected 1908 data bytes, but got 948 [Stream 70] Expected 1748 data bytes, but got 948 [Stream 70] Expected max 1748 data bytes, but got 1908. Dropping... [Stream 80] Expected 1908 data bytes, but got 948 [Stream 70] Expected max 1748 data bytes, but got 1908. Dropping... [Stream 80] Expected 1908 data bytes, but got 948 [Stream 70] Expected 1748 data bytes, but got 948 [Stream 70] Expected max 1748 data bytes, but got 1908. Dropping... [Stream 80] Expected 1908 data bytes, but got 948 [Stream 80] Expected 1908 ... gr, Tim
2011/11/14 tim vets timvets@gmail.com
Hi all, I tested with fux_kinect and a kinect connected now. Some results: on the first test, fux_kinect-help.pd opens and the depth image appears, though with some glitches/flickering (scrambled frames now and then) The tilting also works. Upon closing the patch, pd crashes. On a second attempt (after this crash), the help patch freezes instantly. Only the first frame of the depth image appears, and then pd hangs. Attached is the output of "valgrind --leak-check=full pdextended" and opening fux_kinect-help.pd. Let me know if there's any more useful info I can produce. gr, Tim
2011/11/12 tim vets timvets@gmail.com
in case anyone wants to try
2011/11/12 tim vets timvets@gmail.com
2011/11/12 Mathieu Bouchard matju@artengine.ca
Le 2011-11-12 à 18:56:00, tim vets a écrit :
it's stretching my knowledge quite far now,
but gave it a shot anyway, and interpreted what you wrote as: find the line " gl_frame_cond = (pthread_cond_t) malloc(sizeof(pthread_mutex_t)**);" (in fux_kinect.cpp) and remove the "*" from that line.
Ok, never mind removing "*", put it back and just replace the struct name so that it matches :
gl_frame_cond = (pthread_cond_t *) malloc(sizeof(pthread_cond_t))**;
or am I getting it wrong?
Yes... and it's more changes than what I had listed... so nevermind that one. But surely the author would know what I mean.
In the meantime, let's stick to the shortest possible fix.
bingo
thanks :) can't test with the Kinect connected yet though... but at least pd does not hang anymore but instead just reports: [fux_kinect]: kinect initiated [fux_kinect]: Number of devices found: 0 [fux_kinect]: Could not open device gr, Tim
______________________________**______________________________** __________ | Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC