Open B-Meg opened 3 years ago
Ah, that's the part of the code that fixes the scale or other things in the map. If you remove the IMU you need to fix the scale (usually by fixing the distance between the first two vertices or the distance to the first keypoint observation for example). I think there's just a bug in that part of the code for the main release, since at that time it wasn't a very tested feature. In our development branch of the code we rewrote that whole part and it should be fixed now.
The function that crashes is applyGaugeFixesForInitialVertices
but I think the problem solution was in this part of the code
versus
I load my map into the maplab console. Optimizing the map with
optvi
works perfect. But when I try to do the BA without IMU by usingoptv
oroptvi --ba_include_inertial=false
I get the following Error:Why do I get it and why only when I am doing the BA without IMU?