Comments (6)
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.
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.
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.
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.
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.
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)
- Kinect HOT 1
- Java wrapper always has null value for buffer in callback
- freenect can't detect the kinect camera HOT 1
- same issue. i even tried different versions of python and different versions of ubuntu to run it on and none worked HOT 1
- /libfreenect/build/wrappers/python/freenect3.c:747:10: fatal error: numpy/arrayobject.h: File or directory not found
- Can we kill the sync_get_depth and sync_get_video calls after a specific amount of time?
- libfreenect fails to build with Cython 3.0.0 HOT 2
- No such file or directory [D:\libfreenect\libfreenect\build\src\freenectstatic.vcxproj]
- [Feature request] Skeleon Tracking HOT 2
- Python3 wrapper, c1: fatal error C1083: Cannot open source file: 'freenect.c': No such file or directory HOT 2
- CMake warning about legacy GL library and GLVND libraries for OpenGL and GLX. HOT 3
- libfreenect fails to build after latest commit HOT 1
- Questions about timestamp HOT 2
- Unable to use both a kinect and a regular webcam at the same time HOT 1
- Can't import python3 wrapper (ModuleNotFoundError: No module named 'freenect') HOT 1
- missing rpath issue with 0.7.5 release
- ImportError: dynamic module does not define module export function (PyInit_freenect)
- NOT AN ISSUE, THIS IS A QUESTION ( CAN'T FIND THE FORUM TO ASK THIS ) HOT 2
- Kinect Red LED Light Technical Issue HOT 2
- cc1: fatal error: freenect.c: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libfreenect.