c++ - OpenNI2, BeagleBone Black, ASUS XTION camera: Problems getting color stream at 640x480 -
i trying save color , depth frames xtion onto beaglebone black (bbb) farther analysis.
i compiled , installed openni2 both bbb , development computer (macair kubuntu 14.04). simpleread runs correctly on both platforms.
i got programme run correctly on macair correctly @ 30fps. both color , depth frames returned openni::openni::waitforanystream(...)
(i polling waitforanystream within producer thread waits indefinitely new frame. frame copied buffer , set boost spsc_queue analyzed , saved consumer thread.)
then, ported programme bbb using g++ cross-compiler. when run on bbb @ 640x480, openni::openni::waitforanystream(...) never returns. if decrease resolution 320x240 , alter pixel format color stream openni::pixel_format_yuyv, returns properly. can live yuyv format need 640x480 working.
my question if have seen problem before openni2 framework? if so, how did prepare it?
thank time, ben
ps. couldn't kinect recognized @ on bbb. when plug macair, greenish led lights , works correctly. on bbb, stays dark , can't openni2 find it. thoughts on this?
the problem kinect kinect need more current asus, maybe have utilize hub , connect hub bbb.
and asus, (i don't know how fast can process frames) trying create bbb works faster can.
c++ openni beagleboneblack openkinect
No comments:
Post a Comment