Hi Senia,
From the resulting database:
Get all children:
$ sqlite3 rtabmap.db "select from_id, to_id from Link where type != 0 and from_id > to_id"
Get all parents:
$ sqlite3 rtabmap.db "select from_id, to_id from Link where type != 0 and from_id < to_id"
When a loop closure detection happens between two images, the parent node is the newest/current image, and the child is the oldest image. A child can have multiple parents and a parent can have multiple children.
The "Optimization error" is the final error after TORO/g2o or GTSAM optimization. For example with g2o, it is the
chi^2 error.
cheers,
Mathieu