Comments (2)
via one of daniel's link on another crashing issue... i think this may be a good solution:
from http://groups.google.com/group/openkinect/browse_frm/thread/df3f3ee312145dff?pli=1
"The best solution that I've found so far (which is hacky and may make those actually familiar with USB driver programming smack their foreheads), is to edit src/usb_libusb10.c in libfreenect to restart isochronous transfers that die. After editing, it should read:
FN_WARNING("Isochronous transfer error: %d ", xfer->status);
libusb_submit_transfer(xfer);
//strm->dead_xfers++;
You'll still get error messages (unless you comment out the warning line, I suppose), and the framerate may be affected, but the streams will at least stop freezing up."
but i'm to sure how to rebuild the openkinect library--can someone help me with this? the basic processing library examples use a build.xml file with ant in eclipse, but i'm having trouble figuring out which files/folders to open in eclipse.
i've managed to rebuild the libKinect.jnilib file (i think) from the xcode project in the wrappers folder, but not sure if just opening the xcode project file and changing the couple lines in usb_libusb10.c and hitting build is the correct way to do it... i'm also not sure where to start on recreating the openkinect.jar file. thanks
from libfreenect.
ok, pretty sure you can just rebuild the libKinect.jnilib using the xcode project, but i don't think that was my issue... think my issue was a memory leak in the kinect.getRawDepth() call... you can see it in the point cloud example. if someone runs into this issue trying to do an 8 hour + install prior to this bug being fixed, i set up a system that has processing quit the app every four hours (using a conditional statement testing the hour / minute / second and then restarting the app with cron. i.e processing app quits at 3:59:58 and cron opens it up again at 4:00:00. will submit a bug about the memory leak.
from libfreenect.
Related Issues (20)
- Proper disposal
- add LED / motor control HOT 1
- make IR image available HOT 1
- Crashes on close
- Make raw depth array more efficient HOT 1
- Isochronous transfer error / lock-ups HOT 4
- Calibration HOT 1
- Exemple crash HOT 6
- Check depth to grayscale mapping HOT 1
- freezing on old macs HOT 2
- Problems with getDepthImage() method. HOT 5
- Blank feeds and FPS HOT 1
- kinect.getRawDepth() memory leak? HOT 4
- Accelerometer access HOT 5
- Kinect example will freeze after certain time HOT 2
- revisit for Processing 2.0 HOT 7
- Unsatisfied Link Error with Processing 2b06 HOT 7
- NullPointerExeption issue - Kinect model 1473? HOT 14
- NullPointerException in enable series methods and tilt, etc.. HOT 2
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.