[liorf_localization_imuPreintegration-2] process has died

使用liorf,编译没报错,但是roslaunch报错如下:

在这里插入图片描述

解决方法:

step1: 如果你之前没有安装 GTSAM,可以尝试安装它

step2: 检查是否缺少依赖库

ldd /home/zz/1210/devel/lib/liorf_localization/liorf_localization_imuPreintegration

ldd 后面跟完整路径。
如果输出中有 not found,说明你的系统缺少某些动态库。
我有一个not found是libmetis-gtsam.so => not found

step3:检查库是否存在

locate libmetis-gtsam.so

如果系统没有 locate 命令,先安装:

sudo apt-get install mlocate
sudo updatedb

在这里插入图片描述

我的这个库存在,所以就是,没有链接好

step4:手动指定动态库路径

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
echo 'export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH' >> ~/.bashrc
source ~/.bashrc
auto-starting new master process[master]: started with pid [27236] ROS_MASTER_URI=http://localhost:11311 setting /run_id to 8763da9e-0086-11f0-bcbb-4f7e799ac125 process[rosout-1]: started with pid [27249] started core service [/rosout] process[gazebo-2]: started with pid [27256] process[gazebo_gui-3]: started with pid [27261] process[rb_0/robot_state_publisher-4]: started with pid [27266] process[rb_0/controller_spawner-5]: started with pid [27267] process[rb_0/ekf_localization-6]: started with pid [27268] process[rb_0/twist_mux-7]: started with pid [27269] process[rb_0/twist_marker_server-8]: started with pid [27271] process[rb_0/urdf_spawner-9]: started with pid [27279] process[rb_0/laserscan_multi_merger-10]: started with pid [27284] process[rb_0/laser_filter_node-11]: started with pid [27287] process[rb_0/odom_to_odom_correct-12]: started with pid [27292] process[rb_0/laser_frame_correct-13]: started with pid [27299] process[rb_1/robot_state_publisher-14]: started with pid [27309] process[rb_1/controller_spawner-15]: started with pid [27311] process[rb_1/ekf_localization-16]: started with pid [27317] process[rb_1/twist_mux-17]: started with pid [27325] process[rb_1/twist_marker_server-18]: started with pid [27328] process[rb_1/urdf_spawner-19]: started with pid [27330] process[rb_1/laserscan_multi_merger-20]: started with pid [27339] process[rb_1/laser_filter_node-21]: started with pid [27344] process[rb_1/odom_to_odom_correct-22]: started with pid [27345] process[rb_1/laser_frame_correct-23]: started with pid [27346] [ INFO] [1741923826.190215784]: Waiting for topics ... [ INFO] [1741923826.248433835]: ----> Started TransOdomImuFrame with tf_prefix. [ INFO] [1741923826.257731303]: ----> Started TransLaserFrame with tf_prefix. [ INFO] [1741923826.270152042]: ----> Started TransLaserFrame with tf_prefix. [ INFO] [1741923826.326293467]: ----> Started TransOdomImuFrame with tf_prefix. [ INFO] [1741923826.327241694]: Waiting for topics ... [gazebo-2] process has died [pid 27256, exit code 255, cmd /opt/ros/noetic/lib/gazebo_ros/gzserver -e ode /home/gany/1/src/ridgeback_mapf/ridgeback_navigation/worlds/long_corridor.world __name:=gazebo __log:=/home/gany/.ros/log/8763da9e-0086-11f0-bcbb-4f7e799ac125/gazebo-2.log]. log file: /home/gany/.ros/log/8763da9e-0086-11f0-bcbb-4f7e799ac125/gazebo-2*.log [ INFO] [1741923826.746045701]: Finished loading Gazebo ROS API Plugin. [ INFO] [1741923826.747068621]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting... [ INFO] [1741923827.220770994]: Waiting for topics ... [ INFO] [1741923827.339474133]: Subscribing to topics 2 [ INFO] [1741923828.221440050]: Subscribing to topics 2 libcurl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to fuel.ignitionrobotics.org:443
03-15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值