Simultaneous localization and mapping, or SLAM, is a common and well-studied problem in robotics. It is a key building…