Difference between revisions of "PCL/OpenNI troubleshooting"

From robotica.unileon.es
Jump to: navigation, search
(Página nueva: This page try to covers all of the issues I ran into while trying to get my Kinect device ready for developing with PCL. If you have any questions regarding this subject or know of a ...)
 
Line 2: Line 2:
  
 
=No device found / No devices connected=
 
=No device found / No devices connected=
 +
 +
If your system does not seem to be able to use Kinect, despite it being correctly plugged and listed by <span style="color:#228B22">''lsusb''</span>, then you may have a problem with the installed drivers. I eventually discovered that, in 32-bit Ubuntu, it was necessary to downgrade <span style="color:#228B22">''openni-dev''</span> and <span style="color:#228B22">''ps-engine''</span> to versions 1.3.2.1 and 5.0.3.3 respectively, using your package manager.
 +
 +
If you use <span style="color:#228B22">''Synaptic''</span>, the instructions are simple. Select both mentioned packages, press <span style="color:#228B22">'''Ctrl+E'''</span> to choose the desired version you want installed, and then apply the changes, accepting to overwrite any files. Then, to prevent them from being restored in the next upgrade, select each and click the <span style="color:#228B22">''"Lock Version"''</span> option in the <span style="color:#228B22">''"Package"''</span> menu. The packages will then be picked up by the <span style="color:#FF1493">"Status: Pinned"</span> filter on the left. Reboot, and everything should be working now.
 +
 +
[[Image:Synaptic_Kinect_lock.png|thumb|none|700px|Downgraded and locked ''openni-dev'' and ''ps-engine'' in Synaptic package manager.]]
  
 
=glInit() not found / OpenGL isues=
 
=glInit() not found / OpenGL isues=

Revision as of 08:14, 18 September 2012

This page try to covers all of the issues I ran into while trying to get my Kinect device ready for developing with PCL. If you have any questions regarding this subject or know of a different bug, feel free to send me an email describing it, and I will add it to this section. Just remember to try Google first!

No device found / No devices connected

If your system does not seem to be able to use Kinect, despite it being correctly plugged and listed by lsusb, then you may have a problem with the installed drivers. I eventually discovered that, in 32-bit Ubuntu, it was necessary to downgrade openni-dev and ps-engine to versions 1.3.2.1 and 5.0.3.3 respectively, using your package manager.

If you use Synaptic, the instructions are simple. Select both mentioned packages, press Ctrl+E to choose the desired version you want installed, and then apply the changes, accepting to overwrite any files. Then, to prevent them from being restored in the next upgrade, select each and click the "Lock Version" option in the "Package" menu. The packages will then be picked up by the "Status: Pinned" filter on the left. Reboot, and everything should be working now.

Downgraded and locked openni-dev and ps-engine in Synaptic package manager.

glInit() not found / OpenGL isues