-
Notifications
You must be signed in to change notification settings - Fork 6
MacOS
A:
error: GL/gl.h: No such file or directory error: GL/glu.h: No such file or directory
You have probably installed GLEW using homebrew or similar, same as in issue #465.
The workaround is to install GLEW with macports (it does not have any dependencies => just download and install macports and sudo port install glew
) OR do a custom cmake configuration and point it manually to the location of GL/GLEW in the current system.
Q: I am using a Kinect or Asus camera and the alignment of the RGB and depth images is off (i.e., there is a visible offset between the 3D points and the colors when I look at the cloud in pcd_viewer
).*
As in the following image: !rgb_depth_alignment_problems.png!
A:
Edit your SamplesConfig.xml
configuration file. Be careful as you might have many copies of this file on your system, depending on how you installed OpenNI (I found the active one on my system here: /etc/primesense/SamplesConfig.xml
)!
Add the following to the depth node configuration:
<Property type="int" name="Registration" value="1"/>```
So, your `SamplesConfig.xml` should look like this:
Kinect works only with RegistrationType 2. Asus works only with RegistrationType 1.