ubuntu16.04 Running Elasticfusion

Source: Internet
Author: User

Environment: Ubuntu16.04 64bit

Kinect V1 XBOX 360

1. Install OpenNI2 and try to run

https://fredfire1.wordpress.com/2016/09/23/install-and-setup-kinect-xbox-360-1473-debian-ubuntu-64bit/

The basic course refers to the link configuration. Note here that a libfreenectdriver.so driver Niviewer is also copied under the/openni-linux-x64-2.2/tools/openni2/drivers path to run.

2. Installing related dependencies and libraries

1) together to write here, first loaded, sooner or later to use.

sudo apt-get install build-essential libgtk2.0-dev libjpeg-dev libtiff4-dev libjasper-dev libopenexr-dev cmake Python-dev python-numpy python-tk libtbb-dev libeigen2-dev yasm libfaac-dev Libopencore-amrnb-dev Libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev libx264-dev libqt4-dev Libqt4-opengl-dev Sphinx-common Texlive-latex-extra libv4l-dev libdc1394-22-dev libavcodec-dev libavformat-dev Libswscale-devsudo Apt-get install build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev Libswscale-dev Python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev Libdc1394-22-devsudo Add-apt-repository Ppa:openjdk-r/ppa//New version does not have this library itself loaded sudo apt-get updatesudo apt-get install-y cmake-qt-gui git build-e Ssential libusb-1.0-0-dev libudev-dev openjdk-7-jdk freeglut3-dev libglew-dev libsuitesparse-dev Libeigen3-dev Zlib1g-dev libjpeg-dev libboost1.58-dev libboost1.58-all-dev libeigen3-dev libflann-dev libvtk5-dev Libqhull-dev
sudo apt-get install Libopenni-dev libopenni2-dev//main for environment configuration 16.04 cannot be mounted directly before

3. Install and run Elasticfusion

Download elasticfusion in Git according to the Readme and build.sh installation.

Finally, in the process of making the GUI, use Ccmake.

Cd.. /.. /Guimkdir BUILDCD buildccmake. /srcmake-j8 

Press T to enter the Advanced Configuration window, OpenNI2 lib path do not select the root directory that (the default is this), change to our own installed the libopenni2.so (1th step installation)

Personal Understanding:

Why do this, because the new Ubuntu version can be directly install Libopenni. But the libopenni2.so is not linked to the libfreenectdriver.so Kinect camera driver, so a connected drive is required.

ubuntu16.04 Running Elasticfusion

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.