AIRLegend / aitrack

6DoF Head tracking software
MIT License
1.07k stars 107 forks source link

Program won't open when using PS3 eye #78

Closed filiptrplan closed 3 years ago

filiptrplan commented 3 years ago

Describe the bug The program won't open when using the PS3eye cam. Works on v0.6.2.

To Reproduce Steps to reproduce the behaviour:

  1. Plug in the PS3eye
  2. Try to open the program

Environment (please complete the following information):

Additional context The program loads for a couple of seconds and then closes itself. If I try to start it with the cam unplugged works fine but then won't detect the camera.

AIRLegend commented 3 years ago

I have a PS3 myself and runs with no problem. Can you share your logfile? Also, you could try changing your camera to another USB port.

filiptrplan commented 3 years ago

I found the problem. Last time I opened the program I chose a camera with an ID of 2. I then unplugged all the cameras, leaving only Camera 0. The program crashed because it was trying to access Camera 2 from the previous config. You should fix that :)