升级librealsense后出现提示“系统中安装了librealsense2.so.2.55版本的库,错误信息中提到的是找不到librealsense2.so.2.54”

nodelet with 16 worker threads.
[ERROR] [1715677243.126169359]: Failed to load nodelet [/camera/realsense2_camera] of type [realsense2_camera/RealSenseNodeFactory] even after refreshing the cache: Failed to load library /home/mo/Downloads/Fast-Drone-250/devel/lib//librealsense2_camera.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = librealsense2.so.2.54: cannot open shared object file: No such file or directory)
[ERROR] [1715677243.126197960]: The error before refreshing the cache was: Failed to load library /home/mo/Downloads/Fast-Drone-250/devel/lib//librealsense2_camera.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = librealsense2.so.2.54: cannot open shared object file: No such file or directory)
[FATAL] [1715677243.126286238]: Failed to load nodelet '/camera/realsense2_camera` of type `realsense2_camera/RealSenseNodeFactory` to manager `realsense2_camera_manager'
[camera/realsense2_camera-3] process has died [pid 8094, exit code 255, cmd /opt/ros/noetic/lib/nodelet/nodelet load realsense2_camera/RealSenseNodeFactory realsense2_camera_manager __name:=realsense2_camera __log:=/home/mo/.ros/log/7178ec1a-11d0-11ef-b9b5-e5174983d6c6/camera-realsense2_camera-3.log].
log file: /home/mo/.ros/log/7178ec1a-11d0-11ef-b9b5-e5174983d6c6/camera-realsense2_camera-3*.log

 根据我错误的解决方法:更新ROS包以支持最新版本的librealsense

cd /path/to/realsense-ros #realsense的工作空间
git pull origin master
catkin_make clean
catkin_make
source devel/setup.bash

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值