Failed to load nodelet [/camera/realsense2_camera] of type [realsense2_camera/RealSenseNodeFactory]

输入:

roslaunch realsense2_camera rs_rgbd.launch

报错:
Failed to load nodelet [/camera/realsense2_camera] of type [realsense2_camera/RealSenseNodeFactory]_第1张图片报错原因:

是找不到realsense2_camera包,在安装D435的包时,以为bashrc文件里已存在要添加的路径故没有执行

解决方法:

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

参考链接
https://blog.csdn.net/u012926144/article/details/80767540

你可能感兴趣的:(ROS,ubuntu)