An example of implementing a simple GUI to display output from a Structure Core sensor.
This repository contains files directly from the Structure SDK for Linux, and has been tested on Ubuntu 18.04 (LTS) with a x86_64 architecture. It may be ported to other platforms.
First, clone this repository:
git clone git@github.com:shantanubala/structure-gui.gitThen, install the dependencies:
sudo apt-get update
sudo apt-get install -y cmake build-essential libc6-dev libstdc++-5-dev libgl1-mesa-dev libegl1-mesa-dev libusb-1.0-0-dev libxcursor-dev libxinerama-dev libxrandr-devEnable driver access:
bash Driver/install-structure-core-linux.shAll of the build steps have been combined into a single script to create a build:
cd Scripts
bash build.shEnter the directory for builds:
cd Builds/<config>-<arch>/SourceOn release builds for Ubuntu, that would be:
cd Builds/release-x86_64/SourceYou can re-compile this specific portion of the code by running the Makefile:
makeOr run the compiled binary:
./Playground