-
1Create an Eclipse Project and add OpenAL
Follow the first part of this handy tutorial to create an Eclipse project with OpenCV:
https://software.intel.com/en-us/articles/using-librealsense-and-opencv-to-stream-rgb-and-depth-data
Then follow these instructions to add in OpenAL:
https://askubuntu.com/questions/736251/how-do-i-link-the-openal-library-to-eclipse-in-ubuntu
-
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.
https://01.org/developerjourney/recipe/intel-realsense-robotic-development-kit
-
3Install OpenCV in Ubuntu
I used this handy bash script to install it. Make sure your UP board is connected to the internet.
https://github.com/milq/milq/blob/master/scripts/bash/install-opencv.sh
-
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!
http://ubuntuhandbook.org/index.php/2016/01/how-to-install-the-latest-eclipse-in-ubuntu-16-04-15-10/
-
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.
https://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.