{"id":128,"date":"2014-02-24T08:02:29","date_gmt":"2014-02-24T08:02:29","guid":{"rendered":"http:\/\/blogs.discovery.wisc.edu\/projects\/?p=128"},"modified":"2014-02-24T09:17:38","modified_gmt":"2014-02-24T09:17:38","slug":"rekinstruct-the-hardware-software-battle","status":"publish","type":"post","link":"https:\/\/blogs.discovery.wisc.edu\/projects\/2014\/02\/24\/rekinstruct-the-hardware-software-battle\/","title":{"rendered":"ReKinStruct : The Hardware-Software Battle"},"content":{"rendered":"<p style=\"text-align: justify\">So, I was trying to obtain PCDs from the Kinect and in order to do so, I wanted to read something from the Kinect. Like I mentioned in the previous post, I had PCL and MSVC2010 installed. I had also obtained the latest version of OpenNI and SensorKinect to serve as drivers for the Kinect. And the following happened.<\/p>\n<p style=\"text-align: justify\"><a href=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/02\/OpenNI-Error.png\"><img loading=\"lazy\" class=\"alignnone size-large wp-image-129\" src=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/02\/OpenNI-Error-1024x640.png\" alt=\"\" width=\"584\" height=\"365\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/02\/OpenNI-Error-1024x640.png 1024w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/02\/OpenNI-Error-300x187.png 300w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/02\/OpenNI-Error-480x300.png 480w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/02\/OpenNI-Error.png 1280w\" sizes=\"(max-width: 584px) 100vw, 584px\" \/><\/a><\/p>\n<p style=\"text-align: justify\">I had one line of code that initialises the Kinect and returns a pointer to grab data. It kept crashing at run-time and there was no stack trace. A little bit of googling led me to believe that OpenNI does not comply with my laptop&#8217;s underlying hardware.<\/p>\n<p style=\"text-align: justify\">Okay, *deep breaths* that is not a dead-end. There had to be something else. So I got Kinect Fusion installed from Microsoft site. And from the tutorials, all I needed to do was type one command line code and my Kinect would (magically?) start obtaining a PCD. Although what happened was a different story.<\/p>\n<p style=\"text-align: justify\"><a href=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/02\/KinFu-Error.png\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-130\" src=\"http:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/02\/KinFu-Error.png\" alt=\"\" width=\"768\" height=\"480\" srcset=\"https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/02\/KinFu-Error.png 768w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/02\/KinFu-Error-300x187.png 300w, https:\/\/blogs.discovery.wisc.edu\/projects\/files\/2014\/02\/KinFu-Error-480x300.png 480w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/a><\/p>\n<p style=\"text-align: justify\">There was something wrong with my Graphics card. I tried installing the latest CUDA drivers from NVIDIA but that did not help too. I have an Intel 4000HD Graphics card on my laptop and I wonder if KinFu works only with NVIDIA Graphics cards which would mean I would have to start using another machine.<\/p>\n<p style=\"text-align: justify\">So, the plan for this week is to check if the Kinect works on another machine and start proceeding from there. I also have a bad ( and a good ) feeling that I might have missed installing something on my laptop and so I can get the Kinect working on my machine too. Will keep you posted.<\/p>\n<p style=\"text-align: justify\">All in all, the classic conclusion, Hardware and Software do not like each other.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, I was trying to obtain PCDs from the Kinect and in order to do so, I wanted to read something from the Kinect. Like I mentioned in the previous post, I had PCL and MSVC2010 installed. I had also &hellip; <a href=\"https:\/\/blogs.discovery.wisc.edu\/projects\/2014\/02\/24\/rekinstruct-the-hardware-software-battle\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":85,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,4],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/128"}],"collection":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/users\/85"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/comments?post=128"}],"version-history":[{"count":7,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/128\/revisions"}],"predecessor-version":[{"id":137,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/128\/revisions\/137"}],"wp:attachment":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/media?parent=128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/categories?post=128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/tags?post=128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}