3D camera: Difference between revisions
From Rsewiki
(Created page with "This page is intended as internal setup and how-to install and use Intel RealSense D435 camera. == Inatllation in Linux == Follow instructions on page https://github.com/In...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
(takes some time, and may fail once or twice) | (takes some time, and may fail once or twice) | ||
Then add repository | Then add repository | ||
16.04 | 16.04 | ||
sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u | sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u | ||
18.04 | 18.04 | ||
sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u | sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u | ||
Line 21: | Line 23: | ||
sudo apt-get install librealsense2-utils | sudo apt-get install librealsense2-utils | ||
I got a number of errors on update (package not signed), but ended up ignoring - that seems to work. | I got a number of errors on update (package not signed) - on 18.04, but ended up ignoring - that seems to work. | ||
This also installs UDEV rules, so camera needs to be re-plugged. | This also installs UDEV rules, so camera needs to be re-plugged. |
Latest revision as of 16:47, 14 August 2018
This page is intended as internal setup and how-to install and use Intel RealSense D435 camera.
Inatllation in Linux
Follow instructions on page https://github.com/IntelRealSense/librealsense/blob/development/doc/distribution_linux.md and install the following:
sudo apt-key adv --keyserver keys.gnupg.net --recv-key C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C8B3A55A6F3EFCDE
(takes some time, and may fail once or twice) Then add repository
16.04
sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u
18.04
sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u
and:
sudo apt-get update. sudo apt-get install librealsense2-dkms sudo apt-get install librealsense2-utils
I got a number of errors on update (package not signed) - on 18.04, but ended up ignoring - that seems to work.
This also installs UDEV rules, so camera needs to be re-plugged.
run realsense-viewer to test
realsense-viewer
At startup the camera may need a new firmware version, a link and instruction is visible.
Then the development software:
sudo apt-get install librealsense2-dev sudo apt-get install librealsense2-dbg
Also install GLFW (Graphics Library Framework - mini openGL)
sudo apt-get install libglfw3-dev
Get software from git
git clone https://github.com/IntelRealSense/librealsense.git cd librealsense mkdir build cd build cmake .. make