Merging Sessions
About
You can merge multiple mapping sessions into a single map using the offline viewer. This is useful when you want to create a large map from multiple mapping sessions, or when you want to improve the global consistency of the map by merging multiple sessions.
Note
The map data is likely to be broken when warnings like [global] [warning] X34 -> E69 is missing
are shown, and the optimization may get corrupted when merging broken map data. Before merging sessions, make sure each map data is not broken. A broken map can be repaired by clicking Recover graph
. You have to repair maps one by one (Load a broken map -> repair it -> save it -> close it, then do so for the next map).
Example
Example dump data:
- mmm.tar.gz [32MB] (3 indoor sessions)
- inarimae_mmm.tar.gz [245MB] (3 sessions in large outdoor)
Start offline viewer
Open mapping sessions
- Open the first session :
File
->Open New Map
->Select the first dump directory
-> SelectYes
on the dialog to enable optimization. - Open the second session :
File
->Open Additional Map
->Select the second dump directory
.
Merge sessions
- Click
Merge sessions
- Choose the default registration parameter set (
Indoor
orOutdoor
) and clickOK
- Align point clouds using automatic or manual alignment
- Automatic alignment :
Run global registration
and check if the point clouds are roughly aligned - Manual alignment : Roughly align the source points (green) with the target points (red) by manipulating the Gizmo UI.
- Automatic alignment :
- Click
Run fine registration
to perform ICP matching - Click
Create factor
to merge sessions
Fuse sessions (Global matching cost minimization)
- Click
Find overlapping submaps
to create matching cost factors between overlapping submaps. This improves the global consistency between sessions. - Click
Optimize
several times to run optimization steps (Or click the check box to continuously run optimization)
Merge result | Merge result (Colored by session ID) | Factor graph |
---|---|---|