Hi,
The poses of mapData are
copied from Statistics object of Rtabmap object. Poses of Statistics are set
here, which is a
copy of _optimizedPoses. The pose with the highest ID is the current robot pose (in /map frame). The latest pose is added
here in _optimizedPoses.
cheers