Livox-SDK / Livox_automatic_calibration

An automatic calibration algorithm for livox LiDAR
Other
242 stars 61 forks source link

calibration program “terminate called after throwing an instance of 'std::length_error' “ #13

Open ORBslam2-3 opened 1 year ago

ORBslam2-3 commented 1 year ago

When I run this code, this problem will occur. I can choose to comment out the line of code viewer_final->spinOnce(10); but then I can’t see the matching point cloud display status. Can you help me analyze it? the reason?

log: Score: 0.271687 0% [ ]terminate called after throwing an instance of 'std::length_error' what(): vector::reserve 已放弃 (核心已转储)

yixin-AI commented 9 months ago

Hi, I found the same problem, are there any solutions.

Okay, I still dont know the problem, but the solution is to commit the line "viewer_final->spinOnce()"

Anutlet commented 4 days ago

When I run this code, this problem will occur. I can choose to comment out the line of code viewer_final->spinOnce(10); but then I can’t see the matching point cloud display status. Can you help me analyze it? the reason?

log: Score: 0.271687 0% [ ]terminate called after throwing an instance of 'std::length_error' what(): vector::reserve 已放弃 (核心已转储)

I think this issue is related to the PCL version. Try updating PCL to a newer version.