#N canvas 432 51 927 655 10;
#X msg 115 47 stop;
#X msg 63 47 bang;
#X msg 241 109 close;
#X msg 97 415 cursor 1;
#X msg 306 587 cursor 1;
#X msg 219 85 open 1;
#X text 281 109 closes the kinect device;
#X text 279 81 you can choose the input device using the 'open' message.
the default is 1 but you have to open it explicitely;
#X msg 227 176 tilt \$1;
#X msg 289 176 0;
#X msg 290 199 -15;
#X msg 289 224 -30;
#X msg 289 154 15;
#X msg 287 133 30;
#X obj 253 588 pdp_xv;
#X obj 44 416 pdp_xv;
#X text 324 144 set tilt angle [-30 \, 30];
#X text 530 170 pdp_freenect is a kinect device input module;
#X text 529 183 author : tffobject@gmail.com;
#X text 532 208 * most of the code comes from libfreenect by marcan
and others ( http://openkinect.org );
#X text 43 441 depth video ( depth converted to rgb );
#X floatatom 297 467 5 0 0 0 - - -;
#X floatatom 354 437 5 0 0 0 - - -;
#X text 392 435 tilt angle;
#X obj 566 398 unpack f f f;
#X text 655 397 accelerometer state ( angles );
#X floatatom 566 562 5 0 0 0 - - -;
#X floatatom 601 505 5 0 0 0 - - -;
#X floatatom 635 452 5 0 0 0 - - -;
#X text 604 561 X axis;
#X text 637 505 Y axis;
#X text 672 453 Z axis;
#X obj 63 85 metro 40;
#X obj 568 534 mean 50;
#X obj 601 475 mean 50;
#X obj 635 426 mean 50;
#X obj 297 401 unpack f f;
#X text 374 401 tilt state;
#X text 336 465 tilt status ( moving \, stopped \, .. );
#X obj 92 341 pdp_freenect --------------------------;
#X text 252 610 rgb regular video;
#X msg 147 502 cursor 1;
#X text 93 528 depth grey levels video ( simplified to 256 levels of
grey );
#X text 438 275 min level of grey to output ( default : 0 );
#X text 508 296 max level of grey to output ( default : 255 );
#X obj 95 503 pdp_xv;
#X msg 129 84 bang;
#X msg 263 271 minlevel \$1;
#X msg 278 298 maxlevel \$1;
#X floatatom 345 272 5 0 0 0 - - -;
#X floatatom 358 299 5 0 0 0 - - -;
#X msg 401 297 255;
#X obj 434 298 loadbang;
#X connect 0 0 32 0;
#X connect 1 0 32 0;
#X connect 2 0 39 0;
#X connect 3 0 15 0;
#X connect 4 0 14 0;
#X connect 5 0 39 0;
#X connect 8 0 39 0;
#X connect 9 0 8 0;
#X connect 10 0 8 0;
#X connect 11 0 8 0;
#X connect 12 0 8 0;
#X connect 13 0 8 0;
#X connect 24 0 33 0;
#X connect 24 1 34 0;
#X connect 24 2 35 0;
#X connect 32 0 39 0;
#X connect 33 0 26 0;
#X connect 34 0 27 0;
#X connect 35 0 28 0;
#X connect 36 0 21 0;
#X connect 36 1 22 0;
#X connect 39 0 15 0;
#X connect 39 1 45 0;
#X connect 39 2 14 0;
#X connect 39 3 36 0;
#X connect 39 4 24 0;
#X connect 41 0 45 0;
#X connect 46 0 39 0;
#X connect 47 0 39 0;
#X connect 48 0 39 0;
#X connect 49 0 47 0;
#X connect 50 0 48 0;
#X connect 51 0 50 0;
#X connect 52 0 51 0;
