Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performing global optimization fails #29

Open
tiesus opened this issue Sep 16, 2020 · 0 comments
Open

Performing global optimization fails #29

tiesus opened this issue Sep 16, 2020 · 0 comments

Comments

@tiesus
Copy link

tiesus commented Sep 16, 2020

Hi,
I try to run this on my own data but i always get the following error at the beginning of the global optimization step:

  • /rosdistro: melodic
  • /rosversion: 1.14.9

`NODES
/
lidar_align (lidar_align/lidar_align_node)

ROS_MASTER_URI=http://localhost:11311

process[lidar_align-1]: started with pid [25485]
[ INFO] [1600274269.758818207]: Loading Pointcloud Data...
[ INFO] [1600274270.003986128]: Loading Transformation Data...
[ INFO] [1600274270.015605716]: Interpolating Transformation Data...
[ INFO] [1600274270.023082681]: Performing Global Optimization...
lidar_align_node: /build/pcl-OilVEB/pcl-1.8.1+dfsg1/kdtree/include/pcl/kdtree/impl/kdtree_flann.hpp:136: int pcl::KdTreeFLANN<PointT, Dist>::nearestKSearch(const PointT&, int, std::vector&, std::vector&) const [with PointT = pcl::PointXYZI; Dist = flann::L2_Simple]: Assertion point_representation_->isValid (point) && "Invalid (NaN, Inf) point coordinates given to nearestKSearch!"' failed.

The lidar I use is a DJI Livox MID 40.

My bagfile contains the following messages:
topics: /gps/pose 852 msgs : geometry_msgs/TransformStamped
/livox/lidar 425 msgs : sensor_msgs/PointCloud2

The example bagfile uploaded to google drive works fine on my local machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant