Load more than 1 .g2o files
smalltheater opened this issue · comments
smalltheater commented
Hello author,
thank your work for implementation of PCM. I am confused about loading pose graphs. In your testLoadGraph.cpp:
Kimera-RPGO/tests/testLoadGraph.cpp
Lines 164 to 221 in 19436dc
you load 2 graphs at the same time. The Key used for loop closure are a1,b1. However, the keys in robot_a.g2o and robot_b.g2o are numbers:
Kimera-RPGO/tests/data/robot_a.g2o
Lines 1 to 6 in 19436dc
The connections between a1 and b1 do not make sense. I think the loop closure should be built with that number keys(6989586621679009794).
Yun Chang commented
Hi,
This should be correct, the confusion might come from how GTSAM symbol works. https://gtsam.org/doxygen/4.0.0/a03039.html
a is the chr and 1 is the index.