cartographer_ros icon indicating copy to clipboard operation
cartographer_ros copied to clipboard

"Encountered a point with a larger stamp than the last point in the cloud"

Open Oburshan opened this issue 4 years ago • 13 comments

Hey, i am getting this fatal error when launching the pure localization mode live, with VLP-16. Its happen sometimes and shutting down the node.

[FATAL] [1604575697.682604927]: F1105 13:28:17.000000 10916 msg_conversion.cc:273] Check failed: point.time <= 0.f (1.27498e-06 vs. 0) Encountered a point with a larger stamp than the last point in the cloud.

Thanks!

Oburshan avatar Nov 05 '20 11:11 Oburshan

Have you solved the problem?why?

Nova555 avatar Dec 29 '20 09:12 Nova555

I filtered the frames that contained this problem and it is working great. I don’t understand why the original code kills the node on this scenario when they could just throw this specific pointcloud frame sample.

Oburshan avatar Dec 29 '20 10:12 Oburshan

Redownload and catkin_make

Nova555 avatar Dec 29 '20 11:12 Nova555

Thank's but I've already fixed it, I think there is a deeper problem that whenever one sensor sample does not meet a particular requirement it kills the node instead of throwing away this specific sample. I will try to fix it in the original code and pull request it.

Oburshan avatar Dec 29 '20 13:12 Oburshan

Hi,this problem reappeared. Can you share your code to fix this problem?

Nova555 avatar May 06 '21 06:05 Nova555

We'v met same problem, is there any option that we can use to let cartographer ignore the topic instead of throw crashing?

hengjiUSTC avatar Jun 14 '21 10:06 hengjiUSTC

Me, too. I also get this fatal error! Could some know how to solve it for now?

nonlinear1 avatar Aug 04 '21 01:08 nonlinear1

@Oburshan Do you have any way to solve this problem?

nonlinear1 avatar Aug 04 '21 01:08 nonlinear1

Modify " {Eigen::Vector3f{point.x, point.y, point.z}, point.time}); " to " {Eigen::Vector3f{point.x, point.y, point.z}, 0.f}); " with msg_conversion.cc

Nova555 avatar Oct 29 '21 01:10 Nova555

I filtered the frames that contained this problem and it is working great. I don’t understand why the original code kills the node on this scenario when they could just throw this specific pointcloud frame sample.

how did you filtered the problematic message ?

patcmorneau avatar Nov 22 '22 17:11 patcmorneau

@patcmorneau the method which is given by Nova555 👍 Modify " {Eigen::Vector3f{point.x, point.y, point.z}, point.time}); " to " {Eigen::Vector3f{point.x, point.y, point.z}, 0.f}); " with msg_conversion.cc is work for me.

nonlinear1 avatar Nov 23 '22 01:11 nonlinear1

Although cartograher is very good at code style and software architecture. for this timestamp processing, it is bad

nonlinear1 avatar Nov 23 '22 01:11 nonlinear1

removed all topics but imu and lidar from my bag and the error is gone now ... will see if i can generate a map now

patcmorneau avatar Nov 23 '22 21:11 patcmorneau