1Create an Eclipse Project and add OpenAL
Follow the first part of this handy tutorial to create an Eclipse project with OpenCV:
Then follow these instructions to add in OpenAL:
2Install Ubuntu and ROS on the AAEON Up Board
To set up SNAP on your RealSense Development Kit, first install Ubuntu and ROS by following these instructions.
3Install OpenCV in Ubuntu
I used this handy bash script to install it. Make sure your UP board is connected to the internet.
4Install OpenAL in Ubuntu
Run the following commands in the terminal:
sudo apt-get update sudo apt-get install libopenal1 libopenal-dev sudo apt-get install libalut0 libalut-dev
5Install Eclipse IDE in Ubuntu
This lets you build the SNAP project!
6Put the SNAP Code in
Replace main.cpp in your Eclipse project with RealSense_Hardware_BackEnd.cpp , and compile! If you plug in the RealSense camera and run it, you should see a cool grayscale depth visualization and hear strange noises.
7Add the binary to Startup Programs
Following these instructions, add the compiled SNAP Back End binary to the Ubuntu Startup Applications. That way, you don't have to have a monitor plugged in every time you power up the realsense, and you can operate it with just headphones, camera, and battery.