T265驱动安装

Realsense T265 installation

The following instruction has been tested in Ubuntu 16.04 Kinetic

The library is installed in one folder and realsense ros packages are installed in workspace

Step 1: Install the latest Intel® RealSense™ SDK 2.0

Follow the steps in link: https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md or following steps

1

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

2

get into realsense workspace

git clone https://github.com/IntelRealSense/librealsense.git

Unplug any connected Intel RealSense camera.

cd librealsense

sudo apt-get install git libssl-dev libusb-1.0-0-dev pkg-config libgtk-3-dev

sudo apt-get install libglfw3-dev

./scripts/setup_udev_rules.sh

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

If you see the following error, reboot with the UEFI secure boot deactivate and reboot with it activated to refresh.

Patched kernels modules were created successfully

Replacing videodev -
Applying the patched module ... modprobe: ERROR: could not insert 'videodev': Required key not available
Failed to insert the patched module. Operation is aborted, the original module is restored
Verify that the current kernel version is aligned to the patched module version
The original videodev module was reloaded

Final success

Patched kernels modules were created successfully

Replacing videodev -
Applying the patched module ... succeeded
Replacing uvcvideo -
Applying the patched module ... succeeded
Replacing hid_sensor_accel_3d -
Applying the patched module ... succeeded
Replacing hid_sensor_gyro_3d -
Applying the patched module ... succeeded

Script has completed. Please consult the installation guide for further instruction.

3

Building librealsense2 SDK

mkdir build && cd build

cmake ../ -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=true

sudo make uninstall && make clean && make && sudo make install

Step 2: Installing the packages

sudo apt-key adv --keyserver keys.gnupg.net --recv-key C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C8B3A55A6F3EFCDE

sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u

sudo apt-get install librealsense2-dkms

sudo apt-get install librealsense2-utils

sudo apt-get install librealsense2-dev

sudo apt-get install librealsense2-dbg

Verify installation

realsense-viewer

Dismiss update firmware if recommend message shows up

sudo apt-get update

sudo apt-get upgrade

Step 3: Install Intel® RealSense™ ROS from Sources

mkdir -p realsense_ws/src

cd realsense_ws/src/

git clone https://github.com/IntelRealSense/realsense-ros.git

cd realsense-ros/

git checkout `git tag | sort -V | grep -P "^\d+\.\d+\.\d+" | tail -1`

cd ..

catkin_init_workspace

git clone https://github.com/pal-robotics/ddynamic_reconfigure.git

cd ..

catkin_make clean

catkin_make -DCATKIN_ENABLE_TESTING=False -DCMAKE_BUILD_TYPE=Release

catkin_make install

echo "source ~/YOUR_WORKSAPCE/devel/setup.bash" >> ~/.bashrc

source ~/.bashrc

Test isntallation

roslaunch realsense2_camera rs_t265.launch
  • 0
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值