laboshinl / loam_velodyne

Laser Odometry and Mapping (Loam) is a realtime method for state estimation and mapping using a 3D lidar.
http://wiki.ros.org/loam_velodyne
Other
1.7k stars 957 forks source link

[laserMapping-3] process has died [pid 29080, exit code -11 #40

Open kentzou opened 6 years ago

kentzou commented 6 years ago

@dimatura@evenator @laboshinl @facontidavide _001

I run the loam_velodyne according to the github page. In first terminal $ cd ~/catkin_ws/src/ $ git clone https://github.com/laboshinl/loam_velodyne.git $ cd ~/catkin_ws $ catkin_make -DCMAKE_BUILD_TYPE=Release $ source ~/catkin_ws/devel/setup.bash In second terminal $ roslaunch loam_velodyne loam_velodyne.launch $ rosbag play ~/Downloads/velodyne.bag

and then ,show the follow error: [laserMapping-3] process has died [pid 29080, exit code -11, cmd /home/yong/catkin_ws/devel/lib/loam_velodyne/laserMapping __name:=laserMapping __log:=/home/yong/.ros/log/caae77aa-ffda-11e7-b7e2-1002b5cc091b/laserMapping-3.log]. log file: /home/yong/.ros/log/caae77aa-ffda-11e7-b7e2-1002b5cc091b/laserMapping-3*.log

I use ubuntu14.04 and PCL 1.8. I found it caused by this code in LaserMapping.cpp: matX = matAtA.colPivHouseholderQr().solve(matAtB); Could you tell me how to solve it.

ClementLeBihan commented 6 years ago

Hi, got the same problem. Waiting for advices ...

brunoeducsantos commented 6 years ago

Me too

facontidavide commented 6 years ago

@laboshinl should take a look at it, but since it is somehow related to a change I submitted, I will try to take a look at it. Can anyone share a rosbag to reproduce the error, please?

brunoeducsantos commented 6 years ago

Hey, How can I share the rosbag? Github doesnt allow it.

brunoeducsantos commented 6 years ago

The error is:

[laserMapping-8] process has died [pid 2688, exit code -6, cmd /home/bruno/catkin_ws/devel/lib/loam_velodyne/laserMapping name:=laserMapping log:=/home/bruno/.ros/log/00585b14-802d-11e8-8f50-2816ad8422ea/laserMapping-8.log]. log file: /home/bruno/.ros/log/00585b14-802d-11e8-8f50-2816ad8422ea/laserMapping-8.log [multiScanRegistration-6] process has died [pid 2662, exit code -11, cmd /home/bruno/catkin_ws/devel/lib/loam_velodyne/multiScanRegistration /multi_scan_points:=/velodyne_points /imu/data:=/raw_imu name:=multiScanRegistration log:=/home/bruno/.ros/log/00585b14-802d-11e8-8f50-2816ad8422ea/multiScanRegistration-6.log]. log file: /home/bruno/.ros/log/00585b14-802d-11e8-8f50-2816ad8422ea/multiScanRegistration-6.log

facontidavide commented 6 years ago

@BrunoEduardoCSantos let me google it for you

brunoeducsantos commented 6 years ago

Any dataset available it has the error.

facontidavide commented 6 years ago

in that case, I am not able to reproduce the error. @laboshinl any idea?

brunoeducsantos commented 6 years ago

Which version do you have?

brunoeducsantos commented 6 years ago

So, I run on gdb mode and no error comes up.

facontidavide commented 6 years ago

I REALLY don't want to sound rude, so don't take me wrong, but:

1) This is @laboshinl 's project, not mine. But he has been silent so far. I am not an official nor extra-official maintainer of this repository. 2) Nevertheless, I will be happy, just for fun, to take a look at this issue, IF you or anyone else sends me a rosbag to reproduce the error. Otherwise, I will not spend a single minute on it.

You can use my email: davide.faconti@gmail.com if you don't want to post the link here.

Cheers

linweilin commented 6 years ago

Got the same error. I had sent you@facontidavide the rosbag. Waiting your answer.

facontidavide commented 6 years ago

Thanks @Williamc17 . I will take a look when I have time. Don't hold your breath ;)

Jackey-Huo commented 6 years ago

@kentzou @facontidavide @Williamc17 I have met exactly the same problem with you. After some debug and search time, I find it caused by the mismatch compiler flag of prebuild pcl library. I reinstall pcl, build it from source, then everything is Okey.

Related issue and pr from pcl library is here: issue2364 , pr2100

Hope it could be helpful

Allen0 commented 6 years ago

Jackey is right, update pcl to version 1.8, the problem is fixed!! Thx man

YangSiri commented 4 years ago

Hi, @kentzou

Recently i run into similar situation like you not only in loam but also A-LOAM, _loamlivox. It is all about the laserMapping process. Can you tell me your solution to this ?

Looking forward to your generous help ;)

liunao123 commented 3 years ago

Comment out 35th row in CMakeLists.txt, like below.

add_definitions( -march=native )

then catkin_make again, everything is OK in my PC.