tag:blogger.com,1999:blog-6958533929285860874.post4204305474510871228..comments2024-03-14T17:42:13.760+00:00Comments on Jon's Teapot: OpenKinect and Qt reference DesignAnonymoushttp://www.blogger.com/profile/11346071501033561015noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-6958533929285860874.post-14362505968722590922012-04-10T16:26:36.856+01:002012-04-10T16:26:36.856+01:00you may need to use the updated version of the cod...you may need to use the updated version of the code from here http://nccastaff.bournemouth.ac.uk/jmacey/GraphicsLib/Demos/index.html (it's at the bottom of the page)Anonymoushttps://www.blogger.com/profile/11346071501033561015noreply@blogger.comtag:blogger.com,1999:blog-6958533929285860874.post-82285411948579021212012-04-06T10:32:22.454+01:002012-04-06T10:32:22.454+01:00Hi Jon,
I have installed libfreenect on Win7 to w...Hi Jon,<br /><br />I have installed libfreenect on Win7 to work with mingw, run test app glview.exe, everything works fine. But when I compile your source code, i have following errors. I googled the error, it is written there that it occures when i use not-stable version. But the issue is, i have installed master version (stable).<br /><br />Any ideas?<br /><br />Thank you in advance, and for the great post!<br /><br />Error list:<br /><br />../QTReferenceProject/src/QKinect.cpp: In member function 'void QKinect::init()':<br />../QTReferenceProject/src/QKinect.cpp:112: error: 'FREENECT_VIDEO_RGB_SIZE' was not declared in this scope<br />../QTReferenceProject/src/QKinect.cpp:114: error: 'FREENECT_FRAME_PIX' was not declared in this scope<br />../QTReferenceProject/src/QKinect.cpp:141: error: 'freenect_set_video_format' was not declared in this scope<br />../QTReferenceProject/src/QKinect.cpp:142: error: 'freenect_set_depth_format' was not declared in this scope<br />../QTReferenceProject/src/QKinect.cpp: In member function 'void QKinect::setYellowLedFlash()':<br />../QTReferenceProject/src/QKinect.cpp:201: error: 'LED_BLINK_YELLOW' was not declared in this scope<br />../QTReferenceProject/src/QKinect.cpp: In member function 'void QKinect::setVideoMode(int)':<br />../QTReferenceProject/src/QKinect.cpp:229: error: 'freenect_set_video_format' was not declared in this scope<br />../QTReferenceProject/src/QKinect.cpp: In member function 'void QKinect::grabDepth(void*, uint32_t)':<br />../QTReferenceProject/src/QKinect.cpp:351: error: 'FREENECT_FRAME_PIX' was not declared in this scope<br />../QTReferenceProject/src/QKinect.cpp: In member function 'void QKinect::grabVideo(void*, uint32_t)':<br />../QTReferenceProject/src/QKinect.cpp:414: error: 'FREENECT_VIDEO_RGB_SIZE' was not declared in this scopeMaksathttps://www.blogger.com/profile/06513613457232699398noreply@blogger.comtag:blogger.com,1999:blog-6958533929285860874.post-27992246223516067332011-09-24T09:51:52.939+01:002011-09-24T09:51:52.939+01:00Hi everyone,
Im trying to use this code to obtain...Hi everyone,<br /><br />Im trying to use this code to obtain images from kinect but i have been struggling with the same error for 2 days and cant find a solution.<br /><br />Thanks in advance for any help...<br /><br />ERROR:<br /><br />Undefined symbols:<br /> "_freenect_set_log_level", referenced from:<br /> QKinect::init() in QKinect.o<br /> "vtable for QKinect", referenced from:<br /> __ZTV7QKinect$non_lazy_ptr in QKinect.o<br /> (maybe you meant: __ZTV7QKinect$non_lazy_ptr)<br />.<br />.<br />.<br />.<br />.<br />"_freenect_start_video", referenced from:<br /> QKinect::startVideo() in QKinect.o<br /> QKinect::setVideoMode(int) in QKinect.o<br />ld: symbol(s) not found<br />collect2: ld returned 1 exit status<br /><br />I have some basic knowledge on C++... but not so much to see clearly what is happening.<br /><br />Thanks again.Anonymoushttps://www.blogger.com/profile/15236318831100735925noreply@blogger.comtag:blogger.com,1999:blog-6958533929285860874.post-61505467022693860632011-09-09T19:55:40.522+01:002011-09-09T19:55:40.522+01:00Hello Samo,
Sorry for the late reply.
The workin...Hello Samo,<br /><br />Sorry for the late reply.<br /><br />The working code is<br /><br />freenect_set_depth_callback(m_dev, depthCallback);<br />freenect_set_video_callback(m_dev, videoCallback);<br /> freenect_set_video_mode(m_dev,freenect_find_video_mode(FREENECT_RESOLUTION_MEDIUM, FREENECT_VIDEO_RGB));<br /> freenect_set_depth_mode(m_dev,freenect_find_depth_mode(FREENECT_RESOLUTION_MEDIUM,FREENECT_DEPTH_11BIT));Sun Rayhttps://www.blogger.com/profile/00834470527043434483noreply@blogger.comtag:blogger.com,1999:blog-6958533929285860874.post-70936338898045585402011-07-29T11:28:14.271+01:002011-07-29T11:28:14.271+01:00Hi Sun Ray,
could you post the working code? :) ...Hi Sun Ray, <br /><br />could you post the working code? :) Tnx.Samohttps://www.blogger.com/profile/02303774508125782740noreply@blogger.comtag:blogger.com,1999:blog-6958533929285860874.post-62785699768558010212011-07-15T12:32:01.899+01:002011-07-15T12:32:01.899+01:00Hi Jon,
Its Sundar, your student in current MSc b...Hi Jon,<br /><br />Its Sundar, your student in current MSc batch. <br />Even I got the same error "Cannot start RGB callback". Later I found, the functions freenect_set_video_format() and freenect_set_depth_format() in the libfreenect header have been replaced with freenect_set_video_mode() and freenect_set_depth_mode() respectively. <br /><br />Replacing them in QKinect::init() with suitable arguments, I got it working!<br /><br />Many Thanks.Sun Rayhttps://www.blogger.com/profile/00834470527043434483noreply@blogger.comtag:blogger.com,1999:blog-6958533929285860874.post-73345004271425616242011-07-11T21:34:42.836+01:002011-07-11T21:34:42.836+01:00Not sure but that sounds like a problem with the O...Not sure but that sounds like a problem with the OpenKinect Drivers as that message is not part of my code.Anonymoushttps://www.blogger.com/profile/11346071501033561015noreply@blogger.comtag:blogger.com,1999:blog-6958533929285860874.post-52190462857150744282011-07-07T11:18:05.153+01:002011-07-07T11:18:05.153+01:00Hi, when I run the project show "Cannot start...Hi, when I run the project show "Cannot start RGB callback".<br /><br />Any idea?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6958533929285860874.post-41235547504177383132011-03-15T11:08:22.078+00:002011-03-15T11:08:22.078+00:00best thing i found so far thank you very very very...best thing i found so far thank you very very very much!Dutzeehttps://www.blogger.com/profile/10313346364354395941noreply@blogger.comtag:blogger.com,1999:blog-6958533929285860874.post-52013592433391818712011-02-03T19:07:32.911+00:002011-02-03T19:07:32.911+00:00Hi Dan, good to hear from you, have fun with the c...Hi Dan, good to hear from you, have fun with the codeAnonymoushttps://www.blogger.com/profile/11346071501033561015noreply@blogger.comtag:blogger.com,1999:blog-6958533929285860874.post-7537988500583104652011-02-01T19:02:17.364+00:002011-02-01T19:02:17.364+00:00PS. Nice article, Until I tried out your sample I ...PS. Nice article, Until I tried out your sample I didn't realize it was possible to control the LED's or that the kinect had a servo motor in it, not that these points are relevant the your tutorial. All they best, DanDan Shepherdhttps://www.blogger.com/profile/02689090588531890726noreply@blogger.comtag:blogger.com,1999:blog-6958533929285860874.post-9658259104635951252011-02-01T17:27:47.187+00:002011-02-01T17:27:47.187+00:00Hi Jon, I had the same idea about trying out kinec...Hi Jon, I had the same idea about trying out kinect and just got hold of one myself today. While looking into it on the net I came across your article, Looked at the video and thought you looked rather familiar. It's Dan Shepherd (previous NCCA person). I've been looking into OpenNI and NITE more than freenect, but NITE won't compile on my old computer as it requires a better processor with SSE3 enabled instruction set I think?Dan Shepherdhttps://www.blogger.com/profile/02689090588531890726noreply@blogger.comtag:blogger.com,1999:blog-6958533929285860874.post-61832966953480612972011-01-10T17:10:06.823+00:002011-01-10T17:10:06.823+00:00No worries Chris, would be good to see what you co...No worries Chris, would be good to see what you come up with, please keep me updated.Anonymoushttps://www.blogger.com/profile/11346071501033561015noreply@blogger.comtag:blogger.com,1999:blog-6958533929285860874.post-76026676160751012662011-01-06T21:50:10.330+00:002011-01-06T21:50:10.330+00:00Great work. This is exactly what I was looking for...Great work. This is exactly what I was looking for. I am relatively new to C++ and am starting to work into QT. Thank you for taking the time to document everything. It was a great read and I learned quite abit about programming in general. I will be referencing your work quite often while I work on my project.Chrishttps://www.blogger.com/profile/12521800901518651821noreply@blogger.com