This site requires JavaScript, please enable it in your browser!
Greenfoot back
hawkwolf
hawkwolf wrote ...

2011/11/27

Greenfoot kinect Server has stopped working - Help please

hawkwolf hawkwolf

2011/11/27

#
I'm running Windows Vista and I think I've installed everything well, and can successfully run the NIUserTracker program. However, I can't run the Greenfoot Kinect Server, and keep getting a message saying "Greenfoot kinect Server has stopped working". I saw another thread - http://www.greenfoot.org/topics/297 , but I don't have any issues with the way thinks look in control panel, and as I've said, all seems to be fine with OpenNI. If I unplug the Kinect and then run the kinect server, it does seem to run and the icon appears in the system tray with a line through it. When I then reconnect the hardware, the same message appears "....stopped working". Can someone please help, as I am nearly there!!!! Thanks, and respect to those who are contributing to this great project, which I am doing my best to promote at every oportunity.
nccb nccb

2011/11/28

#
This is a tricky one to debug. The "stopped working" message in Windows actually means "full-on crashed". The problem seems to be caused by trying to initialise a connection to the Kinect device, but that is actually a fairly straightforward part of the code, and is identical to the OpenNI samples which are apparently working. To check a quick few things that have come up in the past:
  • Have you had any other Kinect software installed before (OpenKinect, or other versions of OpenNI?)
  • Did you install OpenNI using the links on the Greenfoot website (installing direct from the OpenNI site could lead to you having a different version)
You can also try running the Kinect Server exe using the "-m" or "-n" flags (might be "/m" or "/n" on Windows, I don't have a Windows machine to hand right now). That would involve opening up a command prompt (or pressing Windows key + R) and running: "C:/Program Files/Greenfoot Kinect Server/Greenfoot-Kinect-Server.exe" -m -n (The m flag turns off some of the image processing, the n flag adjusts the networking. It's a bit of a long shot but might be worth trying.)
hawkwolf hawkwolf

2011/12/11

#
Because I originally could not get the drivers to load, I used alternative software versions from the official OpenNi sites, and this seems to have caused the issue, as I followed your suggestion and reinstalled the versions from the Greenfoot site and it now works. Thanks. I managed to solve the original driver problem by installing them manually through the "Add hardware" program in Control Panel. If I didn't do that, the drivers failed to automatically install and there was nothing in the Device Driver panel to show any Primesense devices. I'm suprised this hasn't been a problem for others.
You need to login to post a reply.