我有一个处理草图,它与微软 Kinect 一起工作,我现在正试图与华硕 Xtion RGB+D 相机一起工作。我收到附加的错误。这是我的代码:
// Daniel Shiffman
// Kinect Point Cloud example
// http://www.shiffman.net
// https://github.com/shiffman/libfreenect/tree/master/wrappers/java/processing
import org.openkinect.*;
import org.openkinect.processing.*;
import muehlseife.*; //<- import library
import java.io.*;
import processing.opengl.*;
octaneRenderer oct; //<- setup variable
boolean exportObj = false;
// Kinect Library object
Kinect kinect;
float a = 0;
// Size of kinect image
int w = 640;
int h = 480;
// writing state indicator
boolean write = false;
// threshold filter initial value
int fltValue = 950;
// "recording" object. each vector element holds a coordinate map vector
Vector <Object> recording = new Vector<Object>();
// We'll use a lookup table so that we don't have to repeat the math over and over
float[] depthLookUp = new float[2048];
void setup() {
//size(800,600,P3D);
size(800,600,OPENGL);
kinect = new Kinect(this);
kinect.start();
kinect.enableDepth(true);
// We don't need the grayscale image in this example
// so this makes it more efficient
kinect.processDepthImage(false);
...
知道如何让 xtion 工作吗?