Coder Social home page Coder Social logo

Comments (6)

xamox avatar xamox commented on July 21, 2024

What system were you on? I'm getting the same bug, although my code isn't commented out there. I'm on 64bit Ubuntu 10.10, with latest updates.

This is causing the PCL demo to drop frames as well and act very slow. I can't seem to find a solution at the moment.

from libfreenect.

MrApplejuice avatar MrApplejuice commented on July 21, 2024

There has passed some time since I posted it here and I put the Kinect for a while back on my board. However, I recently checked the new libfreenect version and the error seems to have become even more persistent. I am using 64bit Ubuntu 11.04 and now it seems that almost for every frame a magic numbers is not correct. Either the RGB-stream or the Depth-stream are running smoothly when running glview, never both. Libfreenect is pretty much unusable at this stage. I think that I start to delve into the depths of libusb and figure out what the problem is... ... lets see how long that will take ...

from libfreenect.

MrApplejuice avatar MrApplejuice commented on July 21, 2024

Okay... just figured kind of a solution for all Ubuntu users experiencing the given problem of not being able to use libfreenect. If you use the ubuntu packages provided Arne Alamut described in http://openkinect.org/wiki/Getting_Started#Ubuntu, the library kind of works. Still a lot of invalid magic numbers but at least fluent data streams. If you are using natty like me you can install the maverick packages since no build vor natty is provided yet. they seem to work pretty well...

I hope that helps someone, but this bug is far from being solved it seems, since the compiled libraries seem to show the exact same bug described in the first post :-) [though I have not tested that thoroughly in the last couple of minutes]

from libfreenect.

xamox avatar xamox commented on July 21, 2024

I think this maybe related to my laptop specifically as well. I'm not sure what the deal is with it, but I know it's related to USB and linux. I can run libfreenect on my desktop machine (Ubuntu 10.10 w/ updates 64-bit) and not have issues. On my laptop too sometimes it's like the kinect isn't detected, I have to unplug it and plug it back in.

I haven't tried building and installing other various versions of libusb. I'm on maverick (10.10) at the moment, I tried to upgrade but was running into video issues, the new natty interface doesn't seem stable enough for the development I need it for.

I appreciate you responding, I'm not sure why it runs fine on my desktop vs. laptop. If you have any suggestions I'm happy to try it.

from libfreenect.

MrApplejuice avatar MrApplejuice commented on July 21, 2024

Ok.... could be! I was also running my Ubuntu on a laptop, too. I installed Arch Linux on my desktop machine since friends reported libfreenect would run perfectly with libusb from Arch Linux (I still assume that the error orginates from libusb). However, on my desktop I have a near-perfect framerate with only very, very few errors

[Stream 70] Invalid magic ####

So, it could be laptops, which is weird or a broken distro-package (for some hardware or so). Sill wierd, but I am happy that I can use my kinect now again :D

So the only suggestion now I have until now is: Try another distro (like Arch Linux - lots of configuring but it paid off for me)! That is surely not the best option, but since I have no time to dig into the kernel/libusb code myself, that is the best I have to offer.

from libfreenect.

toebbel avatar toebbel commented on July 21, 2024

same problem with fakenect/record.c
if I remove the following lines, the program doesn't provide me any RGB/depth images.

freenect_raw_tilt_state* state;
freenect_update_tilt_state(dev);
state = freenect_get_tilt_state(dev);

from libfreenect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.