赞
踩
参考文档: Link
安装 Intel® RealSense™ SDK 2.0,参考上一篇文章: Link
从源码安装 Intel® RealSense™ ROS
mkdir -p ~/workspace/realsense_ws/src
cd ~/workspace/realsense_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 ..
ddynamic_reconfigure
sudo apt install ros-noetic-ddynamic-reconfigure
catkin_init_workspace
cd ..
catkin_make clean
catkin_make -DCATKIN_ENABLE_TESTING=False -DCMAKE_BUILD_TYPE=Release
catkin_make install
roslaunch realsense2_camera rs_camera.launch
rviz
运行 roslaunch realsense2_camera rs_rgbd.launch
时报错如下:
Resource not found: rgbd_launch
ROS path [0]=/opt/ros/noetic/share/ros
ROS path [1]=/home/chenhui/workspace/realsense_ws/src
ROS path [2]=/opt/ros/noetic/share
The traceback for the exception was written to the log file
解决方法:
参考 issue: Llink
sudo apt install ros-noetic-rgbd-launch
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。