Closed arjunskumar closed 3 years ago
Installed Eigen 3.3.9
and PCL 1.9.1
and rebuild the package and now I'm getting below error
[PoseEstimation-3] process has died
Hello @arjunskumar, Have you managed to solve this? I'm facing the same issue just like you.
@congphase No, It can be library mismatch issues.
@arjunskumar Thanks for the reply. I'm trying to figure out too.
I use Eigen 3.3.9
and PCL 1.11.1
.
@congphase are you able to solve it?
@arjunskumar Hello. Solved, my friend.
What version of ROS are you using? I was using Kinetic.
Here'e what was going on:
The repo requires Eigen >= 3.3
. Eigen is the dependency of PCL
, and Ceres
. The problem was mainly because 2 different versions of Eigen are existing in my system:
Eigen >= 3.3
that I tried to build from source to meet the requirement. Eigen
(libeigen3-dev), which is 3.2.9
for Kinetic, as it is the dependency of pre-built PCL
, which is 1.7.2
by sudo apt install libpcl-dev
.I tried to remove libpcl-dev
and libeigen3-dev
. But believe me, this will mess things up.
Now 2 options are viable:
Eigen >= 3.3
Melodic
(docker, fresh install, ...), to take advantage of the pre-built binaries that already meet the requirement: Eigen 3.3.4
and PCL
Just pick one.
@congphase Yes it worked for me. Thanks
@arjunskumar Hello. Solved, my friend.
What version of ROS are you using? I was using Kinetic.
Here'e what was going on:
The repo requires
Eigen >= 3.3
. Eigen is the dependency ofPCL
, andCeres
. The problem was mainly because 2 different versions of Eigen are existing in my system:
- The
Eigen >= 3.3
that I tried to build from source to meet the requirement.- The pre-built binary of
Eigen
(libeigen3-dev), which is3.2.9
for Kinetic, as it is the dependency of pre-builtPCL
, which is1.7.2
bysudo apt install libpcl-dev
.I tried to remove
libpcl-dev
andlibeigen3-dev
. But believe me, this will mess things up.Now 2 options are viable:
- Modify this line of CMakeLists.txt to tell LIO-Livox to use
Eigen >= 3.3
- Switch to
Melodic
(docker, fresh install, ...), to take advantage of the pre-built binaries that already meet the requirement:Eigen 3.3.4
andPCL
Just pick one.
我想问下,你们lio-livox的 环境配置是多少? opencv3.3 pcl1.8.1 ceres1.14 eigen3.3.9 ,但是我一直crash了,我已经修改了segment的头文件里面的返回函数类型整型,我改成了void。但是后面的posesitimation 节点部分就卡住了,我怀疑是ceres优化的问题,我也进行了debug,但是还是有问题,很着急,希望你们看到给我个解答,谢谢啦
I have Eigen 3.3.7
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "3.3")
-- Checking for module 'eigen3'
-- Found eigen3, version 3.3.7
Converted lvx to bag file
Then I launch
But I'm unable to run the package, it is giving an error as mentioned in the subject.