Part_1: 安装librealsense SDK2.0 注册密钥 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 打开显示界面验证 realsense-viewer Part_2: 安装realsense-ros sudo apt-get install ros-melodic-ddynamic-reconfigure 安装源码 mkdir -p ~/catkin_ws/src 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 .. catkin_init_workspace cd .. catkin_make clean catkin_make -DCATKIN_ENABLE_TESTING=False -DCMAKE_BUILD_TYPE=Release catkin_make install 添加路径到工作环境 echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc source ~/.bashrc 验证安装 sudo apt-get install ros-melodic-rgbd-launch roslaunch realsense2_camera rs_camera.launch roslaunch realsense2_camera rs_rgbd.launch
标签:ros,catkin,D455,get,sudo,apt,install,Ros From: https://www.cnblogs.com/lovebay/p/18607186