cartographer-tuning

Configures Google Cartographer with ROS 2 Lua settings for reproducible indoor 2D SLAM tuning.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configure Google Cartographer for ROS 2 to achieve reliable 2D SLAM with stable submaps, accurate scan matching, and robust loop closure.

Core Features & Use Cases

  • Trajectory Builder tuning to optimize 2D mapping accuracy and responsiveness.
  • Pose graph and loop closure guidance to reduce drift in indoor environments.
  • End-to-end indoor differential-drive example with complete Lua config and ROS 2 launch integration.

Quick Start

Load the provided indoor-differential-drive Cartographer Lua configuration and adjust parameters for your robot to begin tuning.

Frequently Asked Questions about cartographer-tuning

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

FAQPage Schema
How do I tune Cartographer for ROS 2 SLAM to improve indoor mapping accuracy?

To tune Cartographer for ROS 2 SLAM, you adjust the Lua configuration to optimize the trajectory builder, submaps, scan matching, and pose graph settings. This provides repeatable workflows for accurate 2D mapping and predictable robot behavior.

What is the best way to configure pose graph and loop closure in Google Cartographer?

Configuring the pose graph and loop closure in Google Cartographer requires adjusting specific Lua parameters to reduce drift in indoor environments. Proper tuning ensures robust loop closure and stable submap generation during 2D SLAM.

Can I use Cartographer tuning for a differential-drive robot with a custom lidar configuration?

Yes, Cartographer tuning applies across different robot platforms and lidar configurations. The Skill provides an end-to-end indoor differential-drive example with complete Lua configuration and ROS 2 launch integration for reproducible mapping results.

How do I set up trajectory builder parameters in Cartographer for responsive 2D mapping?

Setting up trajectory builder parameters in Cartographer involves modifying the Lua configuration to balance 2D mapping accuracy and responsiveness. This optimizes scan matching and submap creation for your specific indoor navigation task.

Why does my ROS 2 SLAM mapping workflow produce drifting or unstable submaps?

Drifting or unstable submaps in ROS 2 SLAM mapping usually indicate misconfigured pose graph and trajectory builder settings. Tuning Cartographer's Lua configuration for scan matching and loop closure resolves drift and stabilizes indoor mapping.