OpenKinect-for-Processing icon indicating copy to clipboard operation
OpenKinect-for-Processing copied to clipboard

Kinect 1414 initializeDevice() not possible

Open WilyWildWilly opened this issue 5 years ago • 0 comments

image

Hello,

I have a Kinect model 1414, adapted to usb and with the right power supply (I see it in lsusb and its video output in Cheese), but following the examples from Mr. Shiffman I get the following error message when employing the initDevice function on a Kinect-class object: "the function initDevice() does not exist". It looks OK for objects of class Kinect2, but if I try to use this class with my kinect 1414 the processing3 process crashes.

So I ended up not using the initDevice() function, my code looks like this:

import org.openkinect.freenect.*;
import org.openkinect.processing.*;

Kinect kinect;

void setup() {
  fullScreen();
  kinect = new Kinect(this);
  
  kinect.initDepth();
 // kinect.initDevice();
}

void draw() {
 background(10); 
}

but when I run it, I obviously have nothing coming from the uninitialized kinect, and read this in my console:

Found path: /home/gcg/sketchbook/libraries/openkinect_processing/library/v1/linux/
Loaded freenect from /home/gcg/sketchbook/libraries/openkinect_processing/library/v1/linux/libfreenect.so
Could not open camera: -3
Failed to open camera subdevice or it is not disabled.Failed to open motor subddevice or it is not disabled.
Failed to open audio subdevice or it is not disabled.There are no kinects, returning null

Running on Ubuntu 18.04.1 64 bit

WilyWildWilly avatar Oct 23 '20 20:10 WilyWildWilly