ros学习- Intel RealSense D455接入ros

1.环境配置
系统:Ubuntu18.04
ros: melodic
相机:intel RealSense D455
控制器: x86板
2.安装 Realsense SDK
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo $(lsb_release -cs) 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

sudo apt-get update
sudo apt-get upgrade
3.验证
realsense-viewer

ros学习- Intel RealSense D455接入ros_第1张图片

4.接入ros系统
cd ~/catkin_ws/src/
git clone https://github.com/IntelRealSense/realsense-ros.git
cd realsense-ros/
git checkout `git tag | sort -V | grep -P "^2.\d+\.\d+" | tail -1`
cd ..
cd ..
catkin_make clean
catkin_make -DCATKIN_ENABLE_TESTING=False -DCMAKE_BUILD_TYPE=Release
catkin_make install
5.运行
roslaunch realsense2_camera rs_camera.launch

参考连接:ROS1 Realsense

你可能感兴趣的:(ros系列,人工智能,ubuntu)