Skip to content

Example3

koide3 edited this page Oct 29, 2019 · 17 revisions

In this example, we correct a distorted map with loop closing, edge refinement, and plane constraints, then merge it with another map.

Example graph files:

Loading Map Data

Open "centrair_101_graph":

Menubar -> File -> Open -> New map -> Choose "centrair_101_graph"

You see a largely distorted map generated from odometry data given by LeGO-LOAM (Disable z_clipping in the Shader setting window to see the entire map). Let's correct this using several map correction features. Screenshot_20191029_101343 png

Manual Loop Closing

Choose two keyframes to make a loop constraint.

Right click a keyframe -> Loop begin -> Right click another one -> Loop end

Screenshot_20191029_102002 png

You'll see a sub-window to estimate the relative pose between the selected keyframes. First, make an initial guess using FPFH-based pose estimation: Auto align -> OK This global registration method may fail sometimes. If it fails, align the keyframes roughly using "PX, PY, PZ, RX, RY, RZ" pose controllers. Once the keyframes are roughly aligned, perform scan matching for fine registration: Scan matching -> OK Check if the alignment is fine, and then click Add edge to add a relative pose edge to the pose graph.

Note: see PCL documentation(FPFH, Registration) for the details of the parameters.

Screenshot_20191029_102048 png

Clone this wiki locally