Ubuntu18.04 安装D435i
注册公钥
sudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
ubuntu18.04 库地址
sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u
安装SDK
git clone https://github.com/IntelRealSense/librealsense
git clone https://gitee.com/kay2020/librealsense
##构建librealsense二进制文件和核心模块的核心软件包 sudo apt-get install git libssl-dev libusb-1.0-0-dev pkg-config libgtk-3-dev #Distribution-specific packages: sudo apt-get install libglfw3-dev libgl1-mesa-dev libglu1-mesa-dev #ubuntu18 环境 sudo apt-get install librealsense2-dkms sudo apt-get install librealsense2-utils # 安装以下内容会直接安装最新版 sudo apt-get install librealsense2-dev sudo apt-get install librealsense2-dbg
cd librealsense
./scripts/setup_udev_rules.sh
./scripts/patch-realsense-ubuntu-lts.sh
编译
mkdir build cd build cmake ../ -DBUILD_EXAMPLES=true make -j4 sudo make install
测试
realsense-viewer
参考
https://blog.csdn.net/jiangsala/article/details/119359711
作者:kay 出处:https://www.cnblogs.com/kay2018/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 如果文中有什么错误,欢迎指出。以免更多的人被误导。 |