Installed the drivers for the Structure Core, and the complete device works directly.
Under Ubuntu 16.04 with Linux kernel 4.15.0-45, I installed the „Structure SDK (Cross-Platform)”, version 0.6.1 from the Structure developers portal. After unpacking the download, I followed the instructions in ./Linux/README.html:
sudo apt-get install libc6-dev libstdc++-5-dev libgl1-mesa-dev libegl1-mesa-dev libusb-1.0-0-dev libxcursor-dev libxinerama-dev libxrandr-dev
# Navigate to the location of the unpacked downloadcd Linux/
sudo Driver/install-structure-core-linux.sh
./Scripts/build.sh
In the download, two sample applications with source code are included:
SimpleStreamer, which provides a nice example of how to handle data from the sensor.
Recorder, which provides a primitive GUI around the sensor’s outputs.
The following images are screenshots from Recorder, with different settings. Recorder shows the following four streams: a depth image computed from the left and right infrared cameras in the top left, the regular RGB image in the top right, the infrared image from the left camera in the bottom left, and the infrared image from the right camera in the bottom right.