uoip / g2opy

Python binding of SLAM graph optimization framework g2o
668 stars 176 forks source link

PGO with unknown translation magnitude #77

Closed lahavlipson closed 8 months ago

lahavlipson commented 11 months ago

What relative pose measurements is the PoseGraphOptimization example in the README expecting?

After matching keypoints between a pair of images, I can compute the relative rotation and the translation direction, but not the magnitude of the translation. I want to compute global poses given a set of these 5D measurements between image pairs.

Is the set_measurement method of the g2o.EdgeSE3 class assuming that the provided translation magnitude is part of the measurement? How can I specify that the magnitude of translation is unknown?

Thanks!