Ubuntu16.04及ROS Kinetic环境下安装使用RealSense SR300

参考:https://blog.csdn.net/Sparta_117/article/details/77851876
进行到编译配置文件这一步的时候:

./scripts/patch-realsense-ubuntu-xenial.sh
bash: ./scripts/patch-realsense-ubuntu-xenial.sh: 没有那个文件或目录

于是去官网查看:https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md

4.Build and apply patched kernel modules for:

Ubuntu 14/16/18 LTS script will download, patch and build realsense-affected kernel modules (drivers).
Then it will attempt to insert the patched module instead of the active one. If failed the original uvc modules will be restored.
./scripts/patch-realsense-ubuntu-lts.sh
Intel® Joule™ with Ubuntu Based on the custom kernel provided by Canonical Ltd.
 ./scripts/patch-realsense-ubuntu-xenial-joule.sh
Arch-based distributions
    You need to install the base-devel package group.
    You also need to install the matching linux-headers as well (i.e.: linux-lts-headers for the linux-lts kernel).
        Navigate to the scripts folder `cd ./scripts/`
        Then run the following script to patch the uvc module:`./patch-arch.sh` 

(注意:以下()内的均为错误步骤!
错误地执行:

./scripts/patch-realsense-ubuntu-lts.sh

总报“连接超时”错误:
于是查询执行了

git config --global url."https://".insteadOf git://

又报这个错误:

正克隆到 './ubuntu-xenial-Ubuntu-hwe-4.13.0-45.50_16.04.1'...
fatal: unable to access 'https://kernel.ubuntu.com/ubuntu/ubuntu-xenial.git/': Failed to connect to kernel.ubuntu.com port 443: 连接超时


于是决定执行

./scripts/patch-realsense-ubuntu-xenial-joule.sh

继续按照https://blog.csdn.net/Sparta_117/article/details/77851876执行!!成功!!

评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值