koide3 / glim

GLIM: versatile and extensible range-based 3D localization and mapping framework
MIT License
445 stars 55 forks source link

Indeterminant linear system detected while working near variable #65

Open hardesh-peppermint opened 4 weeks ago

hardesh-peppermint commented 4 weeks ago

Hello,

Firstly thank you for making this package.

Describe the bug I'm trying to run the ROS2 package without IMU. Seeing the error in global optimization as described below.

To Reproduce Set IMU to false and use the CPU method instead of GPU

Expected behavior Error should not come

Screenshots Screenshot from 2024-08-18 21-56-29

Environment (please complete the following information):

koide3 commented 3 weeks ago

That error happens when IMU is disabled and there is absolutely no overlap between submaps. Please try the following configuration that force creating odometry-based relative pose constraints to make the system well constrained.

config_global_mapping_gpu.json :

https://github.com/koide3/glim/blob/64a98d8ce59e83e07ae59e7765e656b677296c60/config/config_global_mapping_gpu.json#L33

changh95 commented 2 weeks ago

I'm getting a similar error, and I have IMU. What could be the issue?

deliangye commented 2 days ago

I run into the same issue with the data you provide -- os1_128_01. Reprodue: set IMU to true and use the CPU method instead of GPU