slam-toolbox-lifelong

Trim low-information nodes and update serialized maps for lifelong SLAM.

18|2|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/wimblerobotics/ros2-copilot-skills --skill slam-toolbox-lifelong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slam-toolbox-lifelong
Source: https://github.com/wimblerobotics/ros2-copilot-skills/tree/main/slam-toolbox-lifelong
Command: npx skills add https://github.com/wimblerobotics/ros2-copilot-skills --skill slam-toolbox-lifelong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Lifelong mapping addresses unbounded map growth in long-duration robots by allowing the map to evolve, trim stale data, and persist improvements across sessions.

Core Features & Use Cases

  • Graph trimming removes old, low-information nodes to keep the pose-graph size manageable.
  • Map evolution updates the current map when revisiting areas, reflecting changes like moved furniture or opened doors.
  • Serialize/deserialize workflows enable pausing and resuming mapping, and saving the latest map to disk.
  • Flexible configuration for frames, resolution, thresholds, and solver settings to suit different environments.
  • Workflow example: initialize mapping in online mode, serialize, switch to Lifelong mode, periodically serialize to preserve the latest map.

Quick Start

Launch slam_toolbox LifelongSlamToolbox with an existing serialized map file and configure map_file_name.

Frequently Asked Questions about slam-toolbox-lifelong

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent unbounded SLAM map growth during long-duration robot deployments?

Lifelong SLAM prevents unbounded map growth by trimming old, low-information nodes from the pose-graph. This keeps the map size manageable while allowing the robot to continue mapping and adapting to environmental changes over long durations.

Can I pause and resume ROS2 SLAM mapping across multiple sessions?

Yes, you can pause and resume ROS2 SLAM mapping using serialize and deserialize workflows. This saves the current map to disk and loads the serialized map file later, enabling continued optimization across multiple sessions.

What is lifelong mapping and when do I need it for pose-graph SLAM?

Lifelong mapping is a SLAM technique that maintains an evolving pose-graph by trimming stale data and updating previously built structure. You need it for long-duration deployments where the robot revisits areas and environmental changes occur.

How do I start lifelong SLAM with an existing serialized map?

To start lifelong SLAM with an existing map, launch the LifelongSlamToolbox and configure the map_file_name parameter. This deserializes your saved map, enabling continued optimization and map evolution from the previous state.

Does lifelong SLAM update the map when furniture is moved or doors are opened?

Yes, lifelong SLAM updates the current map when revisiting areas to reflect changes like moved furniture or opened doors. It preserves previously built structure while evolving the map to match the current environment.

What are the limitations of using lifelong SLAM for persistent mapping?

Lifelong SLAM requires proper configuration of map_start_pose, thresholds, and solver settings to function correctly. It also depends on deserializing an existing map, meaning you must have a valid serialized map file to enable continued optimization.