SLAM Back-End Optimization Explained: Pose Graphs, g2o, GTSAM & iSAM2

How SLAM back ends actually work: pose graphs and factor graphs, bundle adjustment, g2o vs GTSAM, iSAM2's incremental Bayes tree solver, and why loop closure is the step that can wreck the whole map.