RealSence D435i相机使用

  • Post author:
  • Post category:其他




RealSense D435i驱动安装

官网链接:

https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md



Ubuntu16.04安装

  • 注册公钥
sudo apt-key adv --keyserver keys.gnupg.net --recv-key C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C8B3A55A6F3EFCDE
  • 添加repositories(Ubuntu 16 LTS)
sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u
  • 安装library
sudo apt-get install librealsense2-dkms
sudo apt-get install librealsense2-utils
  • 安装developer和debug packages
sudo apt-get install librealsense2-dev
sudo apt-get install librealsense2-dbg
  • 测试SDK
realsense-viewer

打开RGB、双目和IMU,可以看到如下结果

在这里插入图片描述



Ubuntu18.04安装


不同之处

  • 注册公钥
sudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE`
  • 添加repositories(Ubuntu 16 LTS)
sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo bionic main" -u



编译RealSense

Intel公司提供的RealSense的ROS安装包;

官方教程:

https://github.com/intel-ros/realsense.git


安按照ros工程进行编译

cd ~/catkin_ws/src
git clone https://github.com/intel-ros/realsense.git
cd ..
catkin_make
rospack profile
source devel/setup.bash

  • 遇见问题
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "ddynamic_reconfigure" with any of the following names: ddynamic_reconfigureConfig.cmake ddynamic_reconfigure-config.cmake



测试RealSense

  1. 打开刚刚编译的文件夹
source devel/setup.bash
//打开两个终端:
roslaunch realsense2_camera rs_camera.launch
rostopic list

然后运行(不加filters:=pointcloud好像没有点云的节点)

roslaunch realsense2_camera rs_camera.launch filters:=pointcloud


参考链接


https://blog.csdn.net/weixin_48135525/article/details/117471071

https://blog.csdn.net/weixin_44580210/article/details/89789416

https://blog.csdn.net/qq_41839222/article/details/86552367



版权声明:本文为gyqJulius_Caesar原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。