GithubHelp home page GithubHelp logo

Robosense data failed about pv-lio HOT 22 CLOSED

hviktortsoi avatar hviktortsoi commented on June 3, 2024
Robosense data failed

from pv-lio.

Comments (22)

Yeah2333 avatar Yeah2333 commented on June 3, 2024 1

The code output No effective points , and then crush. I check the code, it seems no enough measurement ptpl. And i check the code , in this line https://github.com/HViktorTsoi/PV-LIO/blob/a4d2dbf0f5a65446cd36af3dfca7416d9ea38919/include/voxel_map_util.hpp#L703C36-L703C36. This line check p2plane dist, but plane.radius get a very low value.
image
So, i edit this line just using 0.1 instead of plane.radius. But the code also crush.
And i found rviz have some wrong plane. So i think code may have some troubel in plane extract.
image

from pv-lio.

885288421 avatar 885288421 commented on June 3, 2024 1

The lidar is robosense,but we used a rospackage rs_to_velodyne to convert the data ,the imu topic is"/sensor/imu/imu_data",the lidat topic is "/sensor/lidar/points",the rosbag url is :https://pan.baidu.com/s/1BmncWoxoeeMgn1BMP7VUnA password: 3nst.
extrinsic_T: [-0.376489, -0.0505456, -0.109697 ]
extrinsic_R: [ 1, 0, 0,
0, 1, 0,
0, 0, 1 ]
I hope to hear good news,thanks!

from pv-lio.

CharlieV5 avatar CharlieV5 commented on June 3, 2024 1

I have test in Ubuntu18.04, ROS melodic. The program runs well. So probably the problem is about the system environment.

from pv-lio.

CharlieV5 avatar CharlieV5 commented on June 3, 2024 1

Good results confirmed on Ubuntu20.04 ROS noetic! Very nice job! Thank you!

from pv-lio.

CharlieV5 avatar CharlieV5 commented on June 3, 2024

系统为Ubuntu20.04, Noetic

from pv-lio.

Yeah2333 avatar Yeah2333 commented on June 3, 2024

我也遇到了一样的问题。
image

from pv-lio.

HViktorTsoi avatar HViktorTsoi commented on June 3, 2024

We tested our implementation with Ubuntu18.04 and ROS melodic. There may be some issue with the default Eigen of Ubuntu 20.04, we will soon test it with your environment

from pv-lio.

HViktorTsoi avatar HViktorTsoi commented on June 3, 2024

系统为Ubuntu20.04, Noetic

Could you tell us which version of Eigen you are using?

from pv-lio.

CharlieV5 avatar CharlieV5 commented on June 3, 2024

系统为Ubuntu20.04, Noetic

Could you tell us which version of Eigen you are using?

Eigen 3.4.0

from pv-lio.

JJho1314 avatar JJho1314 commented on June 3, 2024

Hi,I meet same trouble with ubuntu 18.04 and ROS melodic, and the version of my Eigen is 3.3.7, thanks

from pv-lio.

HViktorTsoi avatar HViktorTsoi commented on June 3, 2024

Hey guys, I've tested with Eigen 3.3.7 / 3.3.4 and it works fine with both version. What is your PCL version? And could you upload the whole output from the first few seconds of the algorithm's execution?

from pv-lio.

Yeah2333 avatar Yeah2333 commented on June 3, 2024

I meet same trouble with ubuntu18.04, ros melodic, eigen 3.3.7

from pv-lio.

Yeah2333 avatar Yeah2333 commented on June 3, 2024

By the way ,before code crush. i have some eigen aligned problem. I fix this using align allocater

from pv-lio.

885288421 avatar 885288421 commented on June 3, 2024

Hi,This is an excellent project, thank you for your contribution!but I meet same trouble with ubuntu 20.04 and ROS nortic, and the version of my Eigen is 3.3.7, pcl is 1.10.0,I record my rosbag outdoors,I would like to know how to fix this.thanks

from pv-lio.

HViktorTsoi avatar HViktorTsoi commented on June 3, 2024

Hi, a tiny but important question, for those using the demo rosbag dataset, did you play the bags in order with rosbag play *.bag? There may be some issues if you play the second or the third bag alone, because the LIO currently requires static initialization.

from pv-lio.

HViktorTsoi avatar HViktorTsoi commented on June 3, 2024

Hi,This is an excellent project, thank you for your contribution!but I meet same trouble with ubuntu 20.04 and ROS nortic, and the version of my Eigen is 3.3.7, pcl is 1.10.0,I record my rosbag outdoors,I would like to know how to fix this.thanks

Hi, could you upload the rosbag and LiDAR-IMU extrinsic parameter for us to debug? That will be a lot more efficient for addressing this issue.

from pv-lio.

HViktorTsoi avatar HViktorTsoi commented on June 3, 2024

The lidar is robosense,but we used a rospackage rs_to_velodyne to convert the data ,the imu topic is"/sensor/imu/imu_data",the lidat topic is "/sensor/lidar/points",the rosbag url is :https://pan.baidu.com/s/1BmncWoxoeeMgn1BMP7VUnA password: 3nst. extrinsic_T: [-0.376489, -0.0505456, -0.109697 ] extrinsic_R: [ 1, 0, 0, 0, 1, 0, 0, 0, 1 ] I hope to hear good news,thanks!

Hi, we found the problem, it's because of the parameter setting, the default parameter we provide is for narrow indoor environment, but your test scene is a largescale outdoor scene(and the LiDAR is sparse), there for the down_sample_size and voxel_size are too small for such scenario. After increasing these two parameter, it runs normally.
Screenshot from 2023-07-17 16-45-19
Screenshot from 2023-07-17 16-50-00

We have provided a config file called robosense_outdoor.yaml, please pull the updated repo, and modify the config file path in robosense.launch to

    <rosparam command="load" file="$(find pv_lio)/config/robosense_outdoor.yaml"/>

Then run the algorithm.

You may also try to tune the parameter setting for better performances.

Thanks for providing the test data!

from pv-lio.

885288421 avatar 885288421 commented on June 3, 2024

hi,thanks for your help. the problem still exists.Do you test on noetic,I will change the environment to test the rosbag .

from pv-lio.

HViktorTsoi avatar HViktorTsoi commented on June 3, 2024

hi,thanks for your help. the problem still exists.Do you test on noetic,I will change the environment to test the rosbag .

We tested with Ubuntu18.04, ROS melodic, pcl1.8 and Eigen 3.3.4

from pv-lio.

HViktorTsoi avatar HViktorTsoi commented on June 3, 2024

Hey guys, we reproduce this bug on Ubuntu 20.04, it is because some numerical type convention issue of GCC 9.3 and the default Eigen of Ubuntu 20.04, which causing abnormal result while calculating the voxel coordinates of points.

We have pushed a fix for this issue. Please pull the latest code and test it. It would be very nice if you let us know the test result.

from pv-lio.

alwynmathew avatar alwynmathew commented on June 3, 2024

@HViktorTsoi I get the below error with roslaunch pv_lio mapping_robosense.launch and rosbag play staircase_crazy_rotation/2022-08-30-20-33-52_0.bag.

Ubuntu 20.04
ROS Noetic
Eigen 3.3.7
PCL 1.10

pv_lio_node: /usr/include/eigen3/Eigen/src/Core/DenseStorage.h:128: Eigen::internal::plain_array<T, Size, 
MatrixOrArrayOptions, 32>::plain_array() [with T = double; int Size = 36; int MatrixOrArrayOptions = 0]: 
Assertion `(internal::UIntPtr(eigen_unaligned_array_assert_workaround_gcc47(array)) & (31)) == 0 && 
"this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " 
**** READ THIS WEB PAGE !!! ****"' failed.
[pv_lio_node-1] process has died [pid 23511, exit code -6, cmd /home/alwyn/catkin_pv/devel/lib/pv_lio/pv_lio_node 
__name:=pv_lio_node __log:=/home/alwyn/.ros/log/95c3ca40-5e20-11ee-9ce3-2b06debad6a1/pv_lio_node-1.log].

from pv-lio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.