Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kinect v1 1414 not detecting in Processing 3.4 or 3.5.3 on MacOS Mojave #15

Open
nielsotto opened this issue Mar 14, 2019 · 14 comments
Open

Comments

@nielsotto
Copy link

nielsotto commented Mar 14, 2019

Issue Summary

The SimpleOpenNI can't initialise my device. It just freezes when run. I'm trying the examples which follows the installation in Processing. The OpenKinect library works fine and starts the camera up pretty quickly. I tried copying some .lib files from OpenKinect to SimpleOpenNI, as I saw that as a suggestion in another post, but that didn't do anything.

Executed Command (if any)

Tried the examples from the installation. The Point_Cloud one stops at
Line 21 for(int i = 0; i < depthPoints.length; i++){ and highlights in yellow.
It's a general issue though so not command specific.

Processing Output (if any)

2019-03-14 22:05:24.128 java[40999:4016777] pid(40999)/euid(501) is calling TIS/TSM in
non-main thread environment, ERROR : This is NOT allowed. Please call TIS/TSM in main
thread!!!
2019-03-14 22:05:24.513 java[40999:4016777] WARNING: NSWindow drag regions should
only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
0 AppKit 0x00007fff2be45ccc -[NSWindow(NSWindow_Theme)
_postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 386
1 AppKit 0x00007fff2be4307c -[NSWindow
_initContent:styleMask:backing:defer:contentView:] + 1488
2 AppKit 0x00007fff2be42aa6 -[NSWindow
initWithContentRect:styleMask:backing:defer:] + 45
3 libnativewindow_macosx.jnilib 0x00000001235873fe
Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
4 ??? 0x000000010916da88 0x0 + 4447459976
)
SimpleOpenNI Version 1.96
After initialization:

SimpleOpenNI Error: Can't open device: DeviceOpen using default: no devices found

Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help → Troubleshooting.

Type of Issue

You might select multiple topics, delete the rest:

  • Compilation/installation error
    I'm following instructions from the README about v1 and just copying files into the Processing Library. Do I need anything else? Something installed maybe?
  • Execution error
    It definitely gives me errors on execution
  • Help wanted
    Do you have any ideas what's wrong? And does 3.5.3 work even though SimpleOpenNI says it's for 3.5.2?

Your System Configuration

Operating system:
MacOS Mojave 10.14.3
Running with Processing 3.4 and tried 3.5.4

Version of Kinect:
Kinect v1 1414

Thanks

@totovr
Copy link
Owner

totovr commented Mar 15, 2019

Hello, I teste the version in branch 3.5.2 and is working for me:

Screen Shot 2019-03-15 at 10 22 15

Screen Shot 2019-03-15 at 10 24 47

is not necessary to add files from another libraries, try to change the USB port.

@nielsotto
Copy link
Author

I've tried every USB port now. Does it make a difference that I'm on the 2016 Macbook Pro with USB-C? I'm using a converter, and OpenKinnect works just fine.
Screenshot 2019-03-15 at 21 12 29
See screenshot. That's all I'm getting every time.

This is the OpenKinnect one:
Screenshot 2019-03-15 at 21 14 30

@totovr
Copy link
Owner

totovr commented Mar 16, 2019

Is the light of the Kinect turning green or red?

@nielsotto
Copy link
Author

It's turned green

@nielsotto
Copy link
Author

I stumbled upon this article https://decyborg.wordpress.com/2013/01/19/kinect-on-os-x-10-8-and-processing/
But your installation guide says to just copy/paste the SimpleOpenNI folder into Processing/Libraries, and since OpenKinect works, I don't assume I have to go through the steps in the article?

@totovr
Copy link
Owner

totovr commented Mar 17, 2019

I already checked the library in a Macbook Pro 2014, and Air 2013. Tomorrow one friend will lend me his Pro 2018, wait a little please.

@hackerman084
Copy link

I am having the same issue with a Macbook Pro 2015, running Mojave and Processing 3.5.3!

@tkota0726
Copy link

Hello, all. I think you can try to install this library.
https://github.com/OpenKinect/libfreenect
I solved this issue after installing this.

@totovr totovr closed this as completed Mar 26, 2019
@totovr totovr reopened this Mar 26, 2019
@totovr
Copy link
Owner

totovr commented Mar 26, 2019

OpenKinect has not purpose in the Processing environment, I also checked in a Macbook Pro 2014 , same generation has the one that you have @hackerman084, and the library works, unfortunaly I could not get a Macbook Pro with USB type C @nielsotto.

@nielsotto
Copy link
Author

Hi @totovr . What's the status on this?

@thedoger82
Copy link

Hi everybody, i have the exact same problem... openkinect from processing works perfect, but simpleopenni give me the same error as everybody, can we try to find a solution for this?

Thanks in advanced!!! :)

El Capitan
Kinect v1
processing 3.5.3

@sicchio
Copy link

sicchio commented Mar 22, 2021

Also having this same issue. Anyone find a solution?
Mojave
Kinect v1
Processing 3.5.3

@masc4ii
Copy link

masc4ii commented Apr 9, 2021

Same issue here.
macOS 10.14.6, MBPR13" 2013
Kinect v1 1414 (is blinking green)
Processing 3.5.3

@curlytom
Copy link

Did anyone ever solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants