Repo symbol

mola_sm_loop_closure repository

mola_sm_loop_closure

ROS Distro
humble

Repository Summary

Description
Checkout URI https://github.com/MOLAorg/mola_sm_loop_closure.git
VCS Type git
VCS Version develop
Last Updated 2026-04-25
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
mola_sm_loop_closure 1.0.0

README

CI ROS CI Check clang-format Docs

Distro Build dev Build releases Stable version
ROS 2 Humble (u22.04) Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Jazzy @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Kilted @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Rolling (u24.04) Build Status amd64 Build Status
arm64 Build Status
Version

mola_sm_loop_closure

Offline loop-closure engine for MOLA CSimpleMap files. Given an input simplemap produced by any MOLA odometry front-end, the package re-optimises all keyframe poses by detecting and closing loops, then writes the corrected simplemap back to disk.

Two algorithms

Algorithm Class Best for
SimplemapLoopClosure mola::SimplemapLoopClosure Long maps with noticeable drift; groups keyframes into submaps and runs heavy point-cloud ICP between submap pairs
FrameToFrameLoopClosure mola::FrameToFrameLoopClosure GNSS-augmented datasets or quick re-optimisation; runs frame-to-frame ICP with a GNC graph optimizer

CLI usage

# SimplemapLoopClosure (default algorithm):
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -p pipelines/loop-closure-lidar3d-gicp.yaml

# FrameToFrameLoopClosure:
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -a mola::FrameToFrameLoopClosure \
    -p pipelines/loop-closure-f2f-lidar3d-gicp.yaml

Available pipelines

YAML file Sensor type Algorithm
loop-closure-lidar3d-gicp.yaml 3-D LiDAR (GICP) SimplemapLoopClosure
loop-closure-lidar3d-icp.yaml 3-D LiDAR (point-to-point ICP) SimplemapLoopClosure
loop-closure-lidar2d.yaml 2-D LiDAR SimplemapLoopClosure
loop-closure-f2f-lidar3d-gicp.yaml 3-D LiDAR (GICP) FrameToFrameLoopClosure

Key YAML knobs

SimplemapLoopClosure

  • submap_max_absolute_length / submap_min_absolute_length — controls submap granularity.
  • assume_planar_world: true enables annealed soft planar constraints (z, roll, pitch).
    • planar_world_initial_sigma_z, planar_world_initial_sigma_ang, planar_world_annealing_rounds — tune the annealing schedule.
    • planar_world_hard_flatten: true restores the old hard-flattening behaviour.
  • use_gnss: true / gnss_add_horizontality: true — GNSS-assisted global alignment.

FrameToFrameLoopClosure

  • lc_candidate_strategyDISTANCE_STRATIFIED (default), PROXIMITY_ONLY, or MULTI_OBJECTIVE.
  • assume_planar_world: true — planar-world annealing.
  • use_gnss: true — per-keyframe GNSS factors (FactorGnssEnu).

See the online tutorial for a step-by-step example.

License

Copyright (C) 2018-2026 Jose Luis Blanco jlblanco@ual.es, University of Almeria

This package is released under the GNU GPL v3 license as open source, with the main intention of being useful for research and evaluation purposes. Commercial licenses available upon request.

Contributions require acceptance of the Contributor License Agreement (CLA).

CONTRIBUTING

Contributing to MOLA

Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution.

MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below.


Table of Contents

  1. Contributor License Agreement
  2. Code of Conduct
  3. Types of Contributions
  4. Getting Started
  5. Development Workflow
  6. Commit and Pull Request Guidelines
  7. Coding Standards
  8. Testing Requirements
  9. Documentation
  10. Review Process
  11. Reporting Issues

1. Contributor License Agreement

All contributions to MOLA require acceptance of the Contributor License Agreement (CLA) prior to being merged.

MOLA is distributed under a dual licensing model:

  • Open source: GNU General Public License v3 (GPL v3)
  • Commercial: A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3

The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work.

When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered.


2. Code of Conduct

All contributors are expected to adhere to the project’s Code of Conduct. We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project.


3. Types of Contributions

We welcome the following types of contributions:

  • Bug fixes — corrections to incorrect or unexpected behavior
  • Performance improvements — optimizations with measurable, documented impact
  • New modules or algorithms — extensions to MOLA’s modular architecture
  • Documentation improvements — corrections, clarifications, and additions to existing documentation
  • Dataset integrations — support for additional SLAM benchmark or real-world datasets
  • ROS 2 integrations — improvements to the ROS 2 interface, launch files, or message definitions
  • Tests — new or improved unit, integration, or regression tests

If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap.


4. Getting Started

Full setup instructions, dependencies, and build guides are available in the official documentation:

https://docs.mola-slam.org/

Ensure your development environment is fully configured and that all existing tests pass before making any changes.


5. Development Workflow

  1. Fork the repository and create a new branch from main (or the relevant base branch).
  2. Name your branch descriptively, e.g. fix/imu-integration-drift or feat/lidar-odometry-module.
  3. Make your changes in focused, logically grouped commits.
  4. Ensure all tests pass locally before opening a Pull Request.
  5. Open a Pull Request against the main branch with a clear description of your changes.

Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern.


6. Commit and Pull Request Guidelines

Commits

  • Write commit messages in the imperative mood: Fix timestamp alignment in IMU handler, not Fixed or Fixes.
  • Keep the subject line under 72 characters.
  • Reference relevant issues in the commit body where applicable, e.g. Closes #123.

Pull Requests

  • Provide a clear summary of the problem being solved and the approach taken.
  • Include references to any related issues, discussions, or prior art.
  • If the PR introduces a user-visible change, update the relevant documentation and changelog.
  • Mark the PR as a draft if it is not yet ready for review.

File truncated at 100 lines see the full file

# Contributing to MOLA Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution. MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below. --- ## Table of Contents 1. [Contributor License Agreement](#1-contributor-license-agreement) 2. [Code of Conduct](#2-code-of-conduct) 3. [Types of Contributions](#3-types-of-contributions) 4. [Getting Started](#4-getting-started) 5. [Development Workflow](#5-development-workflow) 6. [Commit and Pull Request Guidelines](#6-commit-and-pull-request-guidelines) 7. [Coding Standards](#7-coding-standards) 8. [Testing Requirements](#8-testing-requirements) 9. [Documentation](#9-documentation) 10. [Review Process](#10-review-process) 11. [Reporting Issues](#11-reporting-issues) --- ## 1. Contributor License Agreement All contributions to MOLA require acceptance of the [Contributor License Agreement (CLA)](./individual-cla.md) prior to being merged. MOLA is distributed under a dual licensing model: - **Open source:** GNU General Public License v3 (GPL v3) - **Commercial:** A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3 The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work. When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered. --- ## 2. Code of Conduct All contributors are expected to adhere to the project's [Code of Conduct](./CODE_OF_CONDUCT.md). We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project. --- ## 3. Types of Contributions We welcome the following types of contributions: - **Bug fixes** — corrections to incorrect or unexpected behavior - **Performance improvements** — optimizations with measurable, documented impact - **New modules or algorithms** — extensions to MOLA's modular architecture - **Documentation improvements** — corrections, clarifications, and additions to existing documentation - **Dataset integrations** — support for additional SLAM benchmark or real-world datasets - **ROS 2 integrations** — improvements to the ROS 2 interface, launch files, or message definitions - **Tests** — new or improved unit, integration, or regression tests If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap. --- ## 4. Getting Started Full setup instructions, dependencies, and build guides are available in the official documentation: **https://docs.mola-slam.org/** Ensure your development environment is fully configured and that all existing tests pass before making any changes. --- ## 5. Development Workflow 1. **Fork** the repository and create a new branch from `main` (or the relevant base branch). 2. Name your branch descriptively, e.g. `fix/imu-integration-drift` or `feat/lidar-odometry-module`. 3. Make your changes in focused, logically grouped commits. 4. Ensure all tests pass locally before opening a Pull Request. 5. Open a Pull Request against the `main` branch with a clear description of your changes. Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern. --- ## 6. Commit and Pull Request Guidelines **Commits** - Write commit messages in the imperative mood: `Fix timestamp alignment in IMU handler`, not `Fixed` or `Fixes`. - Keep the subject line under 72 characters. - Reference relevant issues in the commit body where applicable, e.g. `Closes #123`. **Pull Requests** - Provide a clear summary of the problem being solved and the approach taken. - Include references to any related issues, discussions, or prior art. - If the PR introduces a user-visible change, update the relevant documentation and changelog. - Mark the PR as a draft if it is not yet ready for review. --- File truncated at 100 lines [see the full file](https://github.com/MOLAorg/mola_sm_loop_closure/tree/develop/CONTRIBUTING.md)
Repo symbol

mola_sm_loop_closure repository

mola_sm_loop_closure

ROS Distro
jazzy

Repository Summary

Description
Checkout URI https://github.com/MOLAorg/mola_sm_loop_closure.git
VCS Type git
VCS Version develop
Last Updated 2026-04-25
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
mola_sm_loop_closure 1.0.0

README

CI ROS CI Check clang-format Docs

Distro Build dev Build releases Stable version
ROS 2 Humble (u22.04) Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Jazzy @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Kilted @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Rolling (u24.04) Build Status amd64 Build Status
arm64 Build Status
Version

mola_sm_loop_closure

Offline loop-closure engine for MOLA CSimpleMap files. Given an input simplemap produced by any MOLA odometry front-end, the package re-optimises all keyframe poses by detecting and closing loops, then writes the corrected simplemap back to disk.

Two algorithms

Algorithm Class Best for
SimplemapLoopClosure mola::SimplemapLoopClosure Long maps with noticeable drift; groups keyframes into submaps and runs heavy point-cloud ICP between submap pairs
FrameToFrameLoopClosure mola::FrameToFrameLoopClosure GNSS-augmented datasets or quick re-optimisation; runs frame-to-frame ICP with a GNC graph optimizer

CLI usage

# SimplemapLoopClosure (default algorithm):
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -p pipelines/loop-closure-lidar3d-gicp.yaml

# FrameToFrameLoopClosure:
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -a mola::FrameToFrameLoopClosure \
    -p pipelines/loop-closure-f2f-lidar3d-gicp.yaml

Available pipelines

YAML file Sensor type Algorithm
loop-closure-lidar3d-gicp.yaml 3-D LiDAR (GICP) SimplemapLoopClosure
loop-closure-lidar3d-icp.yaml 3-D LiDAR (point-to-point ICP) SimplemapLoopClosure
loop-closure-lidar2d.yaml 2-D LiDAR SimplemapLoopClosure
loop-closure-f2f-lidar3d-gicp.yaml 3-D LiDAR (GICP) FrameToFrameLoopClosure

Key YAML knobs

SimplemapLoopClosure

  • submap_max_absolute_length / submap_min_absolute_length — controls submap granularity.
  • assume_planar_world: true enables annealed soft planar constraints (z, roll, pitch).
    • planar_world_initial_sigma_z, planar_world_initial_sigma_ang, planar_world_annealing_rounds — tune the annealing schedule.
    • planar_world_hard_flatten: true restores the old hard-flattening behaviour.
  • use_gnss: true / gnss_add_horizontality: true — GNSS-assisted global alignment.

FrameToFrameLoopClosure

  • lc_candidate_strategyDISTANCE_STRATIFIED (default), PROXIMITY_ONLY, or MULTI_OBJECTIVE.
  • assume_planar_world: true — planar-world annealing.
  • use_gnss: true — per-keyframe GNSS factors (FactorGnssEnu).

See the online tutorial for a step-by-step example.

License

Copyright (C) 2018-2026 Jose Luis Blanco jlblanco@ual.es, University of Almeria

This package is released under the GNU GPL v3 license as open source, with the main intention of being useful for research and evaluation purposes. Commercial licenses available upon request.

Contributions require acceptance of the Contributor License Agreement (CLA).

CONTRIBUTING

Contributing to MOLA

Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution.

MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below.


Table of Contents

  1. Contributor License Agreement
  2. Code of Conduct
  3. Types of Contributions
  4. Getting Started
  5. Development Workflow
  6. Commit and Pull Request Guidelines
  7. Coding Standards
  8. Testing Requirements
  9. Documentation
  10. Review Process
  11. Reporting Issues

1. Contributor License Agreement

All contributions to MOLA require acceptance of the Contributor License Agreement (CLA) prior to being merged.

MOLA is distributed under a dual licensing model:

  • Open source: GNU General Public License v3 (GPL v3)
  • Commercial: A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3

The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work.

When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered.


2. Code of Conduct

All contributors are expected to adhere to the project’s Code of Conduct. We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project.


3. Types of Contributions

We welcome the following types of contributions:

  • Bug fixes — corrections to incorrect or unexpected behavior
  • Performance improvements — optimizations with measurable, documented impact
  • New modules or algorithms — extensions to MOLA’s modular architecture
  • Documentation improvements — corrections, clarifications, and additions to existing documentation
  • Dataset integrations — support for additional SLAM benchmark or real-world datasets
  • ROS 2 integrations — improvements to the ROS 2 interface, launch files, or message definitions
  • Tests — new or improved unit, integration, or regression tests

If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap.


4. Getting Started

Full setup instructions, dependencies, and build guides are available in the official documentation:

https://docs.mola-slam.org/

Ensure your development environment is fully configured and that all existing tests pass before making any changes.


5. Development Workflow

  1. Fork the repository and create a new branch from main (or the relevant base branch).
  2. Name your branch descriptively, e.g. fix/imu-integration-drift or feat/lidar-odometry-module.
  3. Make your changes in focused, logically grouped commits.
  4. Ensure all tests pass locally before opening a Pull Request.
  5. Open a Pull Request against the main branch with a clear description of your changes.

Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern.


6. Commit and Pull Request Guidelines

Commits

  • Write commit messages in the imperative mood: Fix timestamp alignment in IMU handler, not Fixed or Fixes.
  • Keep the subject line under 72 characters.
  • Reference relevant issues in the commit body where applicable, e.g. Closes #123.

Pull Requests

  • Provide a clear summary of the problem being solved and the approach taken.
  • Include references to any related issues, discussions, or prior art.
  • If the PR introduces a user-visible change, update the relevant documentation and changelog.
  • Mark the PR as a draft if it is not yet ready for review.

File truncated at 100 lines see the full file

# Contributing to MOLA Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution. MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below. --- ## Table of Contents 1. [Contributor License Agreement](#1-contributor-license-agreement) 2. [Code of Conduct](#2-code-of-conduct) 3. [Types of Contributions](#3-types-of-contributions) 4. [Getting Started](#4-getting-started) 5. [Development Workflow](#5-development-workflow) 6. [Commit and Pull Request Guidelines](#6-commit-and-pull-request-guidelines) 7. [Coding Standards](#7-coding-standards) 8. [Testing Requirements](#8-testing-requirements) 9. [Documentation](#9-documentation) 10. [Review Process](#10-review-process) 11. [Reporting Issues](#11-reporting-issues) --- ## 1. Contributor License Agreement All contributions to MOLA require acceptance of the [Contributor License Agreement (CLA)](./individual-cla.md) prior to being merged. MOLA is distributed under a dual licensing model: - **Open source:** GNU General Public License v3 (GPL v3) - **Commercial:** A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3 The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work. When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered. --- ## 2. Code of Conduct All contributors are expected to adhere to the project's [Code of Conduct](./CODE_OF_CONDUCT.md). We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project. --- ## 3. Types of Contributions We welcome the following types of contributions: - **Bug fixes** — corrections to incorrect or unexpected behavior - **Performance improvements** — optimizations with measurable, documented impact - **New modules or algorithms** — extensions to MOLA's modular architecture - **Documentation improvements** — corrections, clarifications, and additions to existing documentation - **Dataset integrations** — support for additional SLAM benchmark or real-world datasets - **ROS 2 integrations** — improvements to the ROS 2 interface, launch files, or message definitions - **Tests** — new or improved unit, integration, or regression tests If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap. --- ## 4. Getting Started Full setup instructions, dependencies, and build guides are available in the official documentation: **https://docs.mola-slam.org/** Ensure your development environment is fully configured and that all existing tests pass before making any changes. --- ## 5. Development Workflow 1. **Fork** the repository and create a new branch from `main` (or the relevant base branch). 2. Name your branch descriptively, e.g. `fix/imu-integration-drift` or `feat/lidar-odometry-module`. 3. Make your changes in focused, logically grouped commits. 4. Ensure all tests pass locally before opening a Pull Request. 5. Open a Pull Request against the `main` branch with a clear description of your changes. Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern. --- ## 6. Commit and Pull Request Guidelines **Commits** - Write commit messages in the imperative mood: `Fix timestamp alignment in IMU handler`, not `Fixed` or `Fixes`. - Keep the subject line under 72 characters. - Reference relevant issues in the commit body where applicable, e.g. `Closes #123`. **Pull Requests** - Provide a clear summary of the problem being solved and the approach taken. - Include references to any related issues, discussions, or prior art. - If the PR introduces a user-visible change, update the relevant documentation and changelog. - Mark the PR as a draft if it is not yet ready for review. --- File truncated at 100 lines [see the full file](https://github.com/MOLAorg/mola_sm_loop_closure/tree/develop/CONTRIBUTING.md)
Repo symbol

mola_sm_loop_closure repository

mola_sm_loop_closure

ROS Distro
kilted

Repository Summary

Description
Checkout URI https://github.com/MOLAorg/mola_sm_loop_closure.git
VCS Type git
VCS Version develop
Last Updated 2026-04-25
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
mola_sm_loop_closure 1.0.0

README

CI ROS CI Check clang-format Docs

Distro Build dev Build releases Stable version
ROS 2 Humble (u22.04) Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Jazzy @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Kilted @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Rolling (u24.04) Build Status amd64 Build Status
arm64 Build Status
Version

mola_sm_loop_closure

Offline loop-closure engine for MOLA CSimpleMap files. Given an input simplemap produced by any MOLA odometry front-end, the package re-optimises all keyframe poses by detecting and closing loops, then writes the corrected simplemap back to disk.

Two algorithms

Algorithm Class Best for
SimplemapLoopClosure mola::SimplemapLoopClosure Long maps with noticeable drift; groups keyframes into submaps and runs heavy point-cloud ICP between submap pairs
FrameToFrameLoopClosure mola::FrameToFrameLoopClosure GNSS-augmented datasets or quick re-optimisation; runs frame-to-frame ICP with a GNC graph optimizer

CLI usage

# SimplemapLoopClosure (default algorithm):
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -p pipelines/loop-closure-lidar3d-gicp.yaml

# FrameToFrameLoopClosure:
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -a mola::FrameToFrameLoopClosure \
    -p pipelines/loop-closure-f2f-lidar3d-gicp.yaml

Available pipelines

YAML file Sensor type Algorithm
loop-closure-lidar3d-gicp.yaml 3-D LiDAR (GICP) SimplemapLoopClosure
loop-closure-lidar3d-icp.yaml 3-D LiDAR (point-to-point ICP) SimplemapLoopClosure
loop-closure-lidar2d.yaml 2-D LiDAR SimplemapLoopClosure
loop-closure-f2f-lidar3d-gicp.yaml 3-D LiDAR (GICP) FrameToFrameLoopClosure

Key YAML knobs

SimplemapLoopClosure

  • submap_max_absolute_length / submap_min_absolute_length — controls submap granularity.
  • assume_planar_world: true enables annealed soft planar constraints (z, roll, pitch).
    • planar_world_initial_sigma_z, planar_world_initial_sigma_ang, planar_world_annealing_rounds — tune the annealing schedule.
    • planar_world_hard_flatten: true restores the old hard-flattening behaviour.
  • use_gnss: true / gnss_add_horizontality: true — GNSS-assisted global alignment.

FrameToFrameLoopClosure

  • lc_candidate_strategyDISTANCE_STRATIFIED (default), PROXIMITY_ONLY, or MULTI_OBJECTIVE.
  • assume_planar_world: true — planar-world annealing.
  • use_gnss: true — per-keyframe GNSS factors (FactorGnssEnu).

See the online tutorial for a step-by-step example.

License

Copyright (C) 2018-2026 Jose Luis Blanco jlblanco@ual.es, University of Almeria

This package is released under the GNU GPL v3 license as open source, with the main intention of being useful for research and evaluation purposes. Commercial licenses available upon request.

Contributions require acceptance of the Contributor License Agreement (CLA).

CONTRIBUTING

Contributing to MOLA

Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution.

MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below.


Table of Contents

  1. Contributor License Agreement
  2. Code of Conduct
  3. Types of Contributions
  4. Getting Started
  5. Development Workflow
  6. Commit and Pull Request Guidelines
  7. Coding Standards
  8. Testing Requirements
  9. Documentation
  10. Review Process
  11. Reporting Issues

1. Contributor License Agreement

All contributions to MOLA require acceptance of the Contributor License Agreement (CLA) prior to being merged.

MOLA is distributed under a dual licensing model:

  • Open source: GNU General Public License v3 (GPL v3)
  • Commercial: A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3

The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work.

When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered.


2. Code of Conduct

All contributors are expected to adhere to the project’s Code of Conduct. We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project.


3. Types of Contributions

We welcome the following types of contributions:

  • Bug fixes — corrections to incorrect or unexpected behavior
  • Performance improvements — optimizations with measurable, documented impact
  • New modules or algorithms — extensions to MOLA’s modular architecture
  • Documentation improvements — corrections, clarifications, and additions to existing documentation
  • Dataset integrations — support for additional SLAM benchmark or real-world datasets
  • ROS 2 integrations — improvements to the ROS 2 interface, launch files, or message definitions
  • Tests — new or improved unit, integration, or regression tests

If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap.


4. Getting Started

Full setup instructions, dependencies, and build guides are available in the official documentation:

https://docs.mola-slam.org/

Ensure your development environment is fully configured and that all existing tests pass before making any changes.


5. Development Workflow

  1. Fork the repository and create a new branch from main (or the relevant base branch).
  2. Name your branch descriptively, e.g. fix/imu-integration-drift or feat/lidar-odometry-module.
  3. Make your changes in focused, logically grouped commits.
  4. Ensure all tests pass locally before opening a Pull Request.
  5. Open a Pull Request against the main branch with a clear description of your changes.

Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern.


6. Commit and Pull Request Guidelines

Commits

  • Write commit messages in the imperative mood: Fix timestamp alignment in IMU handler, not Fixed or Fixes.
  • Keep the subject line under 72 characters.
  • Reference relevant issues in the commit body where applicable, e.g. Closes #123.

Pull Requests

  • Provide a clear summary of the problem being solved and the approach taken.
  • Include references to any related issues, discussions, or prior art.
  • If the PR introduces a user-visible change, update the relevant documentation and changelog.
  • Mark the PR as a draft if it is not yet ready for review.

File truncated at 100 lines see the full file

# Contributing to MOLA Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution. MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below. --- ## Table of Contents 1. [Contributor License Agreement](#1-contributor-license-agreement) 2. [Code of Conduct](#2-code-of-conduct) 3. [Types of Contributions](#3-types-of-contributions) 4. [Getting Started](#4-getting-started) 5. [Development Workflow](#5-development-workflow) 6. [Commit and Pull Request Guidelines](#6-commit-and-pull-request-guidelines) 7. [Coding Standards](#7-coding-standards) 8. [Testing Requirements](#8-testing-requirements) 9. [Documentation](#9-documentation) 10. [Review Process](#10-review-process) 11. [Reporting Issues](#11-reporting-issues) --- ## 1. Contributor License Agreement All contributions to MOLA require acceptance of the [Contributor License Agreement (CLA)](./individual-cla.md) prior to being merged. MOLA is distributed under a dual licensing model: - **Open source:** GNU General Public License v3 (GPL v3) - **Commercial:** A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3 The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work. When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered. --- ## 2. Code of Conduct All contributors are expected to adhere to the project's [Code of Conduct](./CODE_OF_CONDUCT.md). We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project. --- ## 3. Types of Contributions We welcome the following types of contributions: - **Bug fixes** — corrections to incorrect or unexpected behavior - **Performance improvements** — optimizations with measurable, documented impact - **New modules or algorithms** — extensions to MOLA's modular architecture - **Documentation improvements** — corrections, clarifications, and additions to existing documentation - **Dataset integrations** — support for additional SLAM benchmark or real-world datasets - **ROS 2 integrations** — improvements to the ROS 2 interface, launch files, or message definitions - **Tests** — new or improved unit, integration, or regression tests If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap. --- ## 4. Getting Started Full setup instructions, dependencies, and build guides are available in the official documentation: **https://docs.mola-slam.org/** Ensure your development environment is fully configured and that all existing tests pass before making any changes. --- ## 5. Development Workflow 1. **Fork** the repository and create a new branch from `main` (or the relevant base branch). 2. Name your branch descriptively, e.g. `fix/imu-integration-drift` or `feat/lidar-odometry-module`. 3. Make your changes in focused, logically grouped commits. 4. Ensure all tests pass locally before opening a Pull Request. 5. Open a Pull Request against the `main` branch with a clear description of your changes. Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern. --- ## 6. Commit and Pull Request Guidelines **Commits** - Write commit messages in the imperative mood: `Fix timestamp alignment in IMU handler`, not `Fixed` or `Fixes`. - Keep the subject line under 72 characters. - Reference relevant issues in the commit body where applicable, e.g. `Closes #123`. **Pull Requests** - Provide a clear summary of the problem being solved and the approach taken. - Include references to any related issues, discussions, or prior art. - If the PR introduces a user-visible change, update the relevant documentation and changelog. - Mark the PR as a draft if it is not yet ready for review. --- File truncated at 100 lines [see the full file](https://github.com/MOLAorg/mola_sm_loop_closure/tree/develop/CONTRIBUTING.md)
Repo symbol

mola_sm_loop_closure repository

mola_sm_loop_closure

ROS Distro
rolling

Repository Summary

Description
Checkout URI https://github.com/MOLAorg/mola_sm_loop_closure.git
VCS Type git
VCS Version develop
Last Updated 2026-04-25
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
mola_sm_loop_closure 1.0.0

README

CI ROS CI Check clang-format Docs

Distro Build dev Build releases Stable version
ROS 2 Humble (u22.04) Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Jazzy @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Kilted @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Rolling (u24.04) Build Status amd64 Build Status
arm64 Build Status
Version

mola_sm_loop_closure

Offline loop-closure engine for MOLA CSimpleMap files. Given an input simplemap produced by any MOLA odometry front-end, the package re-optimises all keyframe poses by detecting and closing loops, then writes the corrected simplemap back to disk.

Two algorithms

Algorithm Class Best for
SimplemapLoopClosure mola::SimplemapLoopClosure Long maps with noticeable drift; groups keyframes into submaps and runs heavy point-cloud ICP between submap pairs
FrameToFrameLoopClosure mola::FrameToFrameLoopClosure GNSS-augmented datasets or quick re-optimisation; runs frame-to-frame ICP with a GNC graph optimizer

CLI usage

# SimplemapLoopClosure (default algorithm):
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -p pipelines/loop-closure-lidar3d-gicp.yaml

# FrameToFrameLoopClosure:
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -a mola::FrameToFrameLoopClosure \
    -p pipelines/loop-closure-f2f-lidar3d-gicp.yaml

Available pipelines

YAML file Sensor type Algorithm
loop-closure-lidar3d-gicp.yaml 3-D LiDAR (GICP) SimplemapLoopClosure
loop-closure-lidar3d-icp.yaml 3-D LiDAR (point-to-point ICP) SimplemapLoopClosure
loop-closure-lidar2d.yaml 2-D LiDAR SimplemapLoopClosure
loop-closure-f2f-lidar3d-gicp.yaml 3-D LiDAR (GICP) FrameToFrameLoopClosure

Key YAML knobs

SimplemapLoopClosure

  • submap_max_absolute_length / submap_min_absolute_length — controls submap granularity.
  • assume_planar_world: true enables annealed soft planar constraints (z, roll, pitch).
    • planar_world_initial_sigma_z, planar_world_initial_sigma_ang, planar_world_annealing_rounds — tune the annealing schedule.
    • planar_world_hard_flatten: true restores the old hard-flattening behaviour.
  • use_gnss: true / gnss_add_horizontality: true — GNSS-assisted global alignment.

FrameToFrameLoopClosure

  • lc_candidate_strategyDISTANCE_STRATIFIED (default), PROXIMITY_ONLY, or MULTI_OBJECTIVE.
  • assume_planar_world: true — planar-world annealing.
  • use_gnss: true — per-keyframe GNSS factors (FactorGnssEnu).

See the online tutorial for a step-by-step example.

License

Copyright (C) 2018-2026 Jose Luis Blanco jlblanco@ual.es, University of Almeria

This package is released under the GNU GPL v3 license as open source, with the main intention of being useful for research and evaluation purposes. Commercial licenses available upon request.

Contributions require acceptance of the Contributor License Agreement (CLA).

CONTRIBUTING

Contributing to MOLA

Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution.

MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below.


Table of Contents

  1. Contributor License Agreement
  2. Code of Conduct
  3. Types of Contributions
  4. Getting Started
  5. Development Workflow
  6. Commit and Pull Request Guidelines
  7. Coding Standards
  8. Testing Requirements
  9. Documentation
  10. Review Process
  11. Reporting Issues

1. Contributor License Agreement

All contributions to MOLA require acceptance of the Contributor License Agreement (CLA) prior to being merged.

MOLA is distributed under a dual licensing model:

  • Open source: GNU General Public License v3 (GPL v3)
  • Commercial: A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3

The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work.

When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered.


2. Code of Conduct

All contributors are expected to adhere to the project’s Code of Conduct. We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project.


3. Types of Contributions

We welcome the following types of contributions:

  • Bug fixes — corrections to incorrect or unexpected behavior
  • Performance improvements — optimizations with measurable, documented impact
  • New modules or algorithms — extensions to MOLA’s modular architecture
  • Documentation improvements — corrections, clarifications, and additions to existing documentation
  • Dataset integrations — support for additional SLAM benchmark or real-world datasets
  • ROS 2 integrations — improvements to the ROS 2 interface, launch files, or message definitions
  • Tests — new or improved unit, integration, or regression tests

If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap.


4. Getting Started

Full setup instructions, dependencies, and build guides are available in the official documentation:

https://docs.mola-slam.org/

Ensure your development environment is fully configured and that all existing tests pass before making any changes.


5. Development Workflow

  1. Fork the repository and create a new branch from main (or the relevant base branch).
  2. Name your branch descriptively, e.g. fix/imu-integration-drift or feat/lidar-odometry-module.
  3. Make your changes in focused, logically grouped commits.
  4. Ensure all tests pass locally before opening a Pull Request.
  5. Open a Pull Request against the main branch with a clear description of your changes.

Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern.


6. Commit and Pull Request Guidelines

Commits

  • Write commit messages in the imperative mood: Fix timestamp alignment in IMU handler, not Fixed or Fixes.
  • Keep the subject line under 72 characters.
  • Reference relevant issues in the commit body where applicable, e.g. Closes #123.

Pull Requests

  • Provide a clear summary of the problem being solved and the approach taken.
  • Include references to any related issues, discussions, or prior art.
  • If the PR introduces a user-visible change, update the relevant documentation and changelog.
  • Mark the PR as a draft if it is not yet ready for review.

File truncated at 100 lines see the full file

# Contributing to MOLA Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution. MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below. --- ## Table of Contents 1. [Contributor License Agreement](#1-contributor-license-agreement) 2. [Code of Conduct](#2-code-of-conduct) 3. [Types of Contributions](#3-types-of-contributions) 4. [Getting Started](#4-getting-started) 5. [Development Workflow](#5-development-workflow) 6. [Commit and Pull Request Guidelines](#6-commit-and-pull-request-guidelines) 7. [Coding Standards](#7-coding-standards) 8. [Testing Requirements](#8-testing-requirements) 9. [Documentation](#9-documentation) 10. [Review Process](#10-review-process) 11. [Reporting Issues](#11-reporting-issues) --- ## 1. Contributor License Agreement All contributions to MOLA require acceptance of the [Contributor License Agreement (CLA)](./individual-cla.md) prior to being merged. MOLA is distributed under a dual licensing model: - **Open source:** GNU General Public License v3 (GPL v3) - **Commercial:** A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3 The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work. When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered. --- ## 2. Code of Conduct All contributors are expected to adhere to the project's [Code of Conduct](./CODE_OF_CONDUCT.md). We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project. --- ## 3. Types of Contributions We welcome the following types of contributions: - **Bug fixes** — corrections to incorrect or unexpected behavior - **Performance improvements** — optimizations with measurable, documented impact - **New modules or algorithms** — extensions to MOLA's modular architecture - **Documentation improvements** — corrections, clarifications, and additions to existing documentation - **Dataset integrations** — support for additional SLAM benchmark or real-world datasets - **ROS 2 integrations** — improvements to the ROS 2 interface, launch files, or message definitions - **Tests** — new or improved unit, integration, or regression tests If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap. --- ## 4. Getting Started Full setup instructions, dependencies, and build guides are available in the official documentation: **https://docs.mola-slam.org/** Ensure your development environment is fully configured and that all existing tests pass before making any changes. --- ## 5. Development Workflow 1. **Fork** the repository and create a new branch from `main` (or the relevant base branch). 2. Name your branch descriptively, e.g. `fix/imu-integration-drift` or `feat/lidar-odometry-module`. 3. Make your changes in focused, logically grouped commits. 4. Ensure all tests pass locally before opening a Pull Request. 5. Open a Pull Request against the `main` branch with a clear description of your changes. Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern. --- ## 6. Commit and Pull Request Guidelines **Commits** - Write commit messages in the imperative mood: `Fix timestamp alignment in IMU handler`, not `Fixed` or `Fixes`. - Keep the subject line under 72 characters. - Reference relevant issues in the commit body where applicable, e.g. `Closes #123`. **Pull Requests** - Provide a clear summary of the problem being solved and the approach taken. - Include references to any related issues, discussions, or prior art. - If the PR introduces a user-visible change, update the relevant documentation and changelog. - Mark the PR as a draft if it is not yet ready for review. --- File truncated at 100 lines [see the full file](https://github.com/MOLAorg/mola_sm_loop_closure/tree/develop/CONTRIBUTING.md)
No version for distro github showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

mola_sm_loop_closure repository

mola_sm_loop_closure

ROS Distro
humble

Repository Summary

Description
Checkout URI https://github.com/MOLAorg/mola_sm_loop_closure.git
VCS Type git
VCS Version develop
Last Updated 2026-04-25
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
mola_sm_loop_closure 1.0.0

README

CI ROS CI Check clang-format Docs

Distro Build dev Build releases Stable version
ROS 2 Humble (u22.04) Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Jazzy @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Kilted @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Rolling (u24.04) Build Status amd64 Build Status
arm64 Build Status
Version

mola_sm_loop_closure

Offline loop-closure engine for MOLA CSimpleMap files. Given an input simplemap produced by any MOLA odometry front-end, the package re-optimises all keyframe poses by detecting and closing loops, then writes the corrected simplemap back to disk.

Two algorithms

Algorithm Class Best for
SimplemapLoopClosure mola::SimplemapLoopClosure Long maps with noticeable drift; groups keyframes into submaps and runs heavy point-cloud ICP between submap pairs
FrameToFrameLoopClosure mola::FrameToFrameLoopClosure GNSS-augmented datasets or quick re-optimisation; runs frame-to-frame ICP with a GNC graph optimizer

CLI usage

# SimplemapLoopClosure (default algorithm):
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -p pipelines/loop-closure-lidar3d-gicp.yaml

# FrameToFrameLoopClosure:
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -a mola::FrameToFrameLoopClosure \
    -p pipelines/loop-closure-f2f-lidar3d-gicp.yaml

Available pipelines

YAML file Sensor type Algorithm
loop-closure-lidar3d-gicp.yaml 3-D LiDAR (GICP) SimplemapLoopClosure
loop-closure-lidar3d-icp.yaml 3-D LiDAR (point-to-point ICP) SimplemapLoopClosure
loop-closure-lidar2d.yaml 2-D LiDAR SimplemapLoopClosure
loop-closure-f2f-lidar3d-gicp.yaml 3-D LiDAR (GICP) FrameToFrameLoopClosure

Key YAML knobs

SimplemapLoopClosure

  • submap_max_absolute_length / submap_min_absolute_length — controls submap granularity.
  • assume_planar_world: true enables annealed soft planar constraints (z, roll, pitch).
    • planar_world_initial_sigma_z, planar_world_initial_sigma_ang, planar_world_annealing_rounds — tune the annealing schedule.
    • planar_world_hard_flatten: true restores the old hard-flattening behaviour.
  • use_gnss: true / gnss_add_horizontality: true — GNSS-assisted global alignment.

FrameToFrameLoopClosure

  • lc_candidate_strategyDISTANCE_STRATIFIED (default), PROXIMITY_ONLY, or MULTI_OBJECTIVE.
  • assume_planar_world: true — planar-world annealing.
  • use_gnss: true — per-keyframe GNSS factors (FactorGnssEnu).

See the online tutorial for a step-by-step example.

License

Copyright (C) 2018-2026 Jose Luis Blanco jlblanco@ual.es, University of Almeria

This package is released under the GNU GPL v3 license as open source, with the main intention of being useful for research and evaluation purposes. Commercial licenses available upon request.

Contributions require acceptance of the Contributor License Agreement (CLA).

CONTRIBUTING

Contributing to MOLA

Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution.

MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below.


Table of Contents

  1. Contributor License Agreement
  2. Code of Conduct
  3. Types of Contributions
  4. Getting Started
  5. Development Workflow
  6. Commit and Pull Request Guidelines
  7. Coding Standards
  8. Testing Requirements
  9. Documentation
  10. Review Process
  11. Reporting Issues

1. Contributor License Agreement

All contributions to MOLA require acceptance of the Contributor License Agreement (CLA) prior to being merged.

MOLA is distributed under a dual licensing model:

  • Open source: GNU General Public License v3 (GPL v3)
  • Commercial: A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3

The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work.

When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered.


2. Code of Conduct

All contributors are expected to adhere to the project’s Code of Conduct. We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project.


3. Types of Contributions

We welcome the following types of contributions:

  • Bug fixes — corrections to incorrect or unexpected behavior
  • Performance improvements — optimizations with measurable, documented impact
  • New modules or algorithms — extensions to MOLA’s modular architecture
  • Documentation improvements — corrections, clarifications, and additions to existing documentation
  • Dataset integrations — support for additional SLAM benchmark or real-world datasets
  • ROS 2 integrations — improvements to the ROS 2 interface, launch files, or message definitions
  • Tests — new or improved unit, integration, or regression tests

If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap.


4. Getting Started

Full setup instructions, dependencies, and build guides are available in the official documentation:

https://docs.mola-slam.org/

Ensure your development environment is fully configured and that all existing tests pass before making any changes.


5. Development Workflow

  1. Fork the repository and create a new branch from main (or the relevant base branch).
  2. Name your branch descriptively, e.g. fix/imu-integration-drift or feat/lidar-odometry-module.
  3. Make your changes in focused, logically grouped commits.
  4. Ensure all tests pass locally before opening a Pull Request.
  5. Open a Pull Request against the main branch with a clear description of your changes.

Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern.


6. Commit and Pull Request Guidelines

Commits

  • Write commit messages in the imperative mood: Fix timestamp alignment in IMU handler, not Fixed or Fixes.
  • Keep the subject line under 72 characters.
  • Reference relevant issues in the commit body where applicable, e.g. Closes #123.

Pull Requests

  • Provide a clear summary of the problem being solved and the approach taken.
  • Include references to any related issues, discussions, or prior art.
  • If the PR introduces a user-visible change, update the relevant documentation and changelog.
  • Mark the PR as a draft if it is not yet ready for review.

File truncated at 100 lines see the full file

# Contributing to MOLA Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution. MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below. --- ## Table of Contents 1. [Contributor License Agreement](#1-contributor-license-agreement) 2. [Code of Conduct](#2-code-of-conduct) 3. [Types of Contributions](#3-types-of-contributions) 4. [Getting Started](#4-getting-started) 5. [Development Workflow](#5-development-workflow) 6. [Commit and Pull Request Guidelines](#6-commit-and-pull-request-guidelines) 7. [Coding Standards](#7-coding-standards) 8. [Testing Requirements](#8-testing-requirements) 9. [Documentation](#9-documentation) 10. [Review Process](#10-review-process) 11. [Reporting Issues](#11-reporting-issues) --- ## 1. Contributor License Agreement All contributions to MOLA require acceptance of the [Contributor License Agreement (CLA)](./individual-cla.md) prior to being merged. MOLA is distributed under a dual licensing model: - **Open source:** GNU General Public License v3 (GPL v3) - **Commercial:** A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3 The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work. When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered. --- ## 2. Code of Conduct All contributors are expected to adhere to the project's [Code of Conduct](./CODE_OF_CONDUCT.md). We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project. --- ## 3. Types of Contributions We welcome the following types of contributions: - **Bug fixes** — corrections to incorrect or unexpected behavior - **Performance improvements** — optimizations with measurable, documented impact - **New modules or algorithms** — extensions to MOLA's modular architecture - **Documentation improvements** — corrections, clarifications, and additions to existing documentation - **Dataset integrations** — support for additional SLAM benchmark or real-world datasets - **ROS 2 integrations** — improvements to the ROS 2 interface, launch files, or message definitions - **Tests** — new or improved unit, integration, or regression tests If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap. --- ## 4. Getting Started Full setup instructions, dependencies, and build guides are available in the official documentation: **https://docs.mola-slam.org/** Ensure your development environment is fully configured and that all existing tests pass before making any changes. --- ## 5. Development Workflow 1. **Fork** the repository and create a new branch from `main` (or the relevant base branch). 2. Name your branch descriptively, e.g. `fix/imu-integration-drift` or `feat/lidar-odometry-module`. 3. Make your changes in focused, logically grouped commits. 4. Ensure all tests pass locally before opening a Pull Request. 5. Open a Pull Request against the `main` branch with a clear description of your changes. Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern. --- ## 6. Commit and Pull Request Guidelines **Commits** - Write commit messages in the imperative mood: `Fix timestamp alignment in IMU handler`, not `Fixed` or `Fixes`. - Keep the subject line under 72 characters. - Reference relevant issues in the commit body where applicable, e.g. `Closes #123`. **Pull Requests** - Provide a clear summary of the problem being solved and the approach taken. - Include references to any related issues, discussions, or prior art. - If the PR introduces a user-visible change, update the relevant documentation and changelog. - Mark the PR as a draft if it is not yet ready for review. --- File truncated at 100 lines [see the full file](https://github.com/MOLAorg/mola_sm_loop_closure/tree/develop/CONTRIBUTING.md)
No version for distro galactic showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

mola_sm_loop_closure repository

mola_sm_loop_closure

ROS Distro
humble

Repository Summary

Description
Checkout URI https://github.com/MOLAorg/mola_sm_loop_closure.git
VCS Type git
VCS Version develop
Last Updated 2026-04-25
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
mola_sm_loop_closure 1.0.0

README

CI ROS CI Check clang-format Docs

Distro Build dev Build releases Stable version
ROS 2 Humble (u22.04) Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Jazzy @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Kilted @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Rolling (u24.04) Build Status amd64 Build Status
arm64 Build Status
Version

mola_sm_loop_closure

Offline loop-closure engine for MOLA CSimpleMap files. Given an input simplemap produced by any MOLA odometry front-end, the package re-optimises all keyframe poses by detecting and closing loops, then writes the corrected simplemap back to disk.

Two algorithms

Algorithm Class Best for
SimplemapLoopClosure mola::SimplemapLoopClosure Long maps with noticeable drift; groups keyframes into submaps and runs heavy point-cloud ICP between submap pairs
FrameToFrameLoopClosure mola::FrameToFrameLoopClosure GNSS-augmented datasets or quick re-optimisation; runs frame-to-frame ICP with a GNC graph optimizer

CLI usage

# SimplemapLoopClosure (default algorithm):
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -p pipelines/loop-closure-lidar3d-gicp.yaml

# FrameToFrameLoopClosure:
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -a mola::FrameToFrameLoopClosure \
    -p pipelines/loop-closure-f2f-lidar3d-gicp.yaml

Available pipelines

YAML file Sensor type Algorithm
loop-closure-lidar3d-gicp.yaml 3-D LiDAR (GICP) SimplemapLoopClosure
loop-closure-lidar3d-icp.yaml 3-D LiDAR (point-to-point ICP) SimplemapLoopClosure
loop-closure-lidar2d.yaml 2-D LiDAR SimplemapLoopClosure
loop-closure-f2f-lidar3d-gicp.yaml 3-D LiDAR (GICP) FrameToFrameLoopClosure

Key YAML knobs

SimplemapLoopClosure

  • submap_max_absolute_length / submap_min_absolute_length — controls submap granularity.
  • assume_planar_world: true enables annealed soft planar constraints (z, roll, pitch).
    • planar_world_initial_sigma_z, planar_world_initial_sigma_ang, planar_world_annealing_rounds — tune the annealing schedule.
    • planar_world_hard_flatten: true restores the old hard-flattening behaviour.
  • use_gnss: true / gnss_add_horizontality: true — GNSS-assisted global alignment.

FrameToFrameLoopClosure

  • lc_candidate_strategyDISTANCE_STRATIFIED (default), PROXIMITY_ONLY, or MULTI_OBJECTIVE.
  • assume_planar_world: true — planar-world annealing.
  • use_gnss: true — per-keyframe GNSS factors (FactorGnssEnu).

See the online tutorial for a step-by-step example.

License

Copyright (C) 2018-2026 Jose Luis Blanco jlblanco@ual.es, University of Almeria

This package is released under the GNU GPL v3 license as open source, with the main intention of being useful for research and evaluation purposes. Commercial licenses available upon request.

Contributions require acceptance of the Contributor License Agreement (CLA).

CONTRIBUTING

Contributing to MOLA

Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution.

MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below.


Table of Contents

  1. Contributor License Agreement
  2. Code of Conduct
  3. Types of Contributions
  4. Getting Started
  5. Development Workflow
  6. Commit and Pull Request Guidelines
  7. Coding Standards
  8. Testing Requirements
  9. Documentation
  10. Review Process
  11. Reporting Issues

1. Contributor License Agreement

All contributions to MOLA require acceptance of the Contributor License Agreement (CLA) prior to being merged.

MOLA is distributed under a dual licensing model:

  • Open source: GNU General Public License v3 (GPL v3)
  • Commercial: A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3

The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work.

When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered.


2. Code of Conduct

All contributors are expected to adhere to the project’s Code of Conduct. We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project.


3. Types of Contributions

We welcome the following types of contributions:

  • Bug fixes — corrections to incorrect or unexpected behavior
  • Performance improvements — optimizations with measurable, documented impact
  • New modules or algorithms — extensions to MOLA’s modular architecture
  • Documentation improvements — corrections, clarifications, and additions to existing documentation
  • Dataset integrations — support for additional SLAM benchmark or real-world datasets
  • ROS 2 integrations — improvements to the ROS 2 interface, launch files, or message definitions
  • Tests — new or improved unit, integration, or regression tests

If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap.


4. Getting Started

Full setup instructions, dependencies, and build guides are available in the official documentation:

https://docs.mola-slam.org/

Ensure your development environment is fully configured and that all existing tests pass before making any changes.


5. Development Workflow

  1. Fork the repository and create a new branch from main (or the relevant base branch).
  2. Name your branch descriptively, e.g. fix/imu-integration-drift or feat/lidar-odometry-module.
  3. Make your changes in focused, logically grouped commits.
  4. Ensure all tests pass locally before opening a Pull Request.
  5. Open a Pull Request against the main branch with a clear description of your changes.

Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern.


6. Commit and Pull Request Guidelines

Commits

  • Write commit messages in the imperative mood: Fix timestamp alignment in IMU handler, not Fixed or Fixes.
  • Keep the subject line under 72 characters.
  • Reference relevant issues in the commit body where applicable, e.g. Closes #123.

Pull Requests

  • Provide a clear summary of the problem being solved and the approach taken.
  • Include references to any related issues, discussions, or prior art.
  • If the PR introduces a user-visible change, update the relevant documentation and changelog.
  • Mark the PR as a draft if it is not yet ready for review.

File truncated at 100 lines see the full file

# Contributing to MOLA Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution. MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below. --- ## Table of Contents 1. [Contributor License Agreement](#1-contributor-license-agreement) 2. [Code of Conduct](#2-code-of-conduct) 3. [Types of Contributions](#3-types-of-contributions) 4. [Getting Started](#4-getting-started) 5. [Development Workflow](#5-development-workflow) 6. [Commit and Pull Request Guidelines](#6-commit-and-pull-request-guidelines) 7. [Coding Standards](#7-coding-standards) 8. [Testing Requirements](#8-testing-requirements) 9. [Documentation](#9-documentation) 10. [Review Process](#10-review-process) 11. [Reporting Issues](#11-reporting-issues) --- ## 1. Contributor License Agreement All contributions to MOLA require acceptance of the [Contributor License Agreement (CLA)](./individual-cla.md) prior to being merged. MOLA is distributed under a dual licensing model: - **Open source:** GNU General Public License v3 (GPL v3) - **Commercial:** A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3 The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work. When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered. --- ## 2. Code of Conduct All contributors are expected to adhere to the project's [Code of Conduct](./CODE_OF_CONDUCT.md). We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project. --- ## 3. Types of Contributions We welcome the following types of contributions: - **Bug fixes** — corrections to incorrect or unexpected behavior - **Performance improvements** — optimizations with measurable, documented impact - **New modules or algorithms** — extensions to MOLA's modular architecture - **Documentation improvements** — corrections, clarifications, and additions to existing documentation - **Dataset integrations** — support for additional SLAM benchmark or real-world datasets - **ROS 2 integrations** — improvements to the ROS 2 interface, launch files, or message definitions - **Tests** — new or improved unit, integration, or regression tests If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap. --- ## 4. Getting Started Full setup instructions, dependencies, and build guides are available in the official documentation: **https://docs.mola-slam.org/** Ensure your development environment is fully configured and that all existing tests pass before making any changes. --- ## 5. Development Workflow 1. **Fork** the repository and create a new branch from `main` (or the relevant base branch). 2. Name your branch descriptively, e.g. `fix/imu-integration-drift` or `feat/lidar-odometry-module`. 3. Make your changes in focused, logically grouped commits. 4. Ensure all tests pass locally before opening a Pull Request. 5. Open a Pull Request against the `main` branch with a clear description of your changes. Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern. --- ## 6. Commit and Pull Request Guidelines **Commits** - Write commit messages in the imperative mood: `Fix timestamp alignment in IMU handler`, not `Fixed` or `Fixes`. - Keep the subject line under 72 characters. - Reference relevant issues in the commit body where applicable, e.g. `Closes #123`. **Pull Requests** - Provide a clear summary of the problem being solved and the approach taken. - Include references to any related issues, discussions, or prior art. - If the PR introduces a user-visible change, update the relevant documentation and changelog. - Mark the PR as a draft if it is not yet ready for review. --- File truncated at 100 lines [see the full file](https://github.com/MOLAorg/mola_sm_loop_closure/tree/develop/CONTRIBUTING.md)
No version for distro iron showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

mola_sm_loop_closure repository

mola_sm_loop_closure

ROS Distro
humble

Repository Summary

Description
Checkout URI https://github.com/MOLAorg/mola_sm_loop_closure.git
VCS Type git
VCS Version develop
Last Updated 2026-04-25
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
mola_sm_loop_closure 1.0.0

README

CI ROS CI Check clang-format Docs

Distro Build dev Build releases Stable version
ROS 2 Humble (u22.04) Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Jazzy @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Kilted @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Rolling (u24.04) Build Status amd64 Build Status
arm64 Build Status
Version

mola_sm_loop_closure

Offline loop-closure engine for MOLA CSimpleMap files. Given an input simplemap produced by any MOLA odometry front-end, the package re-optimises all keyframe poses by detecting and closing loops, then writes the corrected simplemap back to disk.

Two algorithms

Algorithm Class Best for
SimplemapLoopClosure mola::SimplemapLoopClosure Long maps with noticeable drift; groups keyframes into submaps and runs heavy point-cloud ICP between submap pairs
FrameToFrameLoopClosure mola::FrameToFrameLoopClosure GNSS-augmented datasets or quick re-optimisation; runs frame-to-frame ICP with a GNC graph optimizer

CLI usage

# SimplemapLoopClosure (default algorithm):
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -p pipelines/loop-closure-lidar3d-gicp.yaml

# FrameToFrameLoopClosure:
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -a mola::FrameToFrameLoopClosure \
    -p pipelines/loop-closure-f2f-lidar3d-gicp.yaml

Available pipelines

YAML file Sensor type Algorithm
loop-closure-lidar3d-gicp.yaml 3-D LiDAR (GICP) SimplemapLoopClosure
loop-closure-lidar3d-icp.yaml 3-D LiDAR (point-to-point ICP) SimplemapLoopClosure
loop-closure-lidar2d.yaml 2-D LiDAR SimplemapLoopClosure
loop-closure-f2f-lidar3d-gicp.yaml 3-D LiDAR (GICP) FrameToFrameLoopClosure

Key YAML knobs

SimplemapLoopClosure

  • submap_max_absolute_length / submap_min_absolute_length — controls submap granularity.
  • assume_planar_world: true enables annealed soft planar constraints (z, roll, pitch).
    • planar_world_initial_sigma_z, planar_world_initial_sigma_ang, planar_world_annealing_rounds — tune the annealing schedule.
    • planar_world_hard_flatten: true restores the old hard-flattening behaviour.
  • use_gnss: true / gnss_add_horizontality: true — GNSS-assisted global alignment.

FrameToFrameLoopClosure

  • lc_candidate_strategyDISTANCE_STRATIFIED (default), PROXIMITY_ONLY, or MULTI_OBJECTIVE.
  • assume_planar_world: true — planar-world annealing.
  • use_gnss: true — per-keyframe GNSS factors (FactorGnssEnu).

See the online tutorial for a step-by-step example.

License

Copyright (C) 2018-2026 Jose Luis Blanco jlblanco@ual.es, University of Almeria

This package is released under the GNU GPL v3 license as open source, with the main intention of being useful for research and evaluation purposes. Commercial licenses available upon request.

Contributions require acceptance of the Contributor License Agreement (CLA).

CONTRIBUTING

Contributing to MOLA

Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution.

MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below.


Table of Contents

  1. Contributor License Agreement
  2. Code of Conduct
  3. Types of Contributions
  4. Getting Started
  5. Development Workflow
  6. Commit and Pull Request Guidelines
  7. Coding Standards
  8. Testing Requirements
  9. Documentation
  10. Review Process
  11. Reporting Issues

1. Contributor License Agreement

All contributions to MOLA require acceptance of the Contributor License Agreement (CLA) prior to being merged.

MOLA is distributed under a dual licensing model:

  • Open source: GNU General Public License v3 (GPL v3)
  • Commercial: A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3

The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work.

When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered.


2. Code of Conduct

All contributors are expected to adhere to the project’s Code of Conduct. We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project.


3. Types of Contributions

We welcome the following types of contributions:

  • Bug fixes — corrections to incorrect or unexpected behavior
  • Performance improvements — optimizations with measurable, documented impact
  • New modules or algorithms — extensions to MOLA’s modular architecture
  • Documentation improvements — corrections, clarifications, and additions to existing documentation
  • Dataset integrations — support for additional SLAM benchmark or real-world datasets
  • ROS 2 integrations — improvements to the ROS 2 interface, launch files, or message definitions
  • Tests — new or improved unit, integration, or regression tests

If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap.


4. Getting Started

Full setup instructions, dependencies, and build guides are available in the official documentation:

https://docs.mola-slam.org/

Ensure your development environment is fully configured and that all existing tests pass before making any changes.


5. Development Workflow

  1. Fork the repository and create a new branch from main (or the relevant base branch).
  2. Name your branch descriptively, e.g. fix/imu-integration-drift or feat/lidar-odometry-module.
  3. Make your changes in focused, logically grouped commits.
  4. Ensure all tests pass locally before opening a Pull Request.
  5. Open a Pull Request against the main branch with a clear description of your changes.

Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern.


6. Commit and Pull Request Guidelines

Commits

  • Write commit messages in the imperative mood: Fix timestamp alignment in IMU handler, not Fixed or Fixes.
  • Keep the subject line under 72 characters.
  • Reference relevant issues in the commit body where applicable, e.g. Closes #123.

Pull Requests

  • Provide a clear summary of the problem being solved and the approach taken.
  • Include references to any related issues, discussions, or prior art.
  • If the PR introduces a user-visible change, update the relevant documentation and changelog.
  • Mark the PR as a draft if it is not yet ready for review.

File truncated at 100 lines see the full file

# Contributing to MOLA Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution. MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below. --- ## Table of Contents 1. [Contributor License Agreement](#1-contributor-license-agreement) 2. [Code of Conduct](#2-code-of-conduct) 3. [Types of Contributions](#3-types-of-contributions) 4. [Getting Started](#4-getting-started) 5. [Development Workflow](#5-development-workflow) 6. [Commit and Pull Request Guidelines](#6-commit-and-pull-request-guidelines) 7. [Coding Standards](#7-coding-standards) 8. [Testing Requirements](#8-testing-requirements) 9. [Documentation](#9-documentation) 10. [Review Process](#10-review-process) 11. [Reporting Issues](#11-reporting-issues) --- ## 1. Contributor License Agreement All contributions to MOLA require acceptance of the [Contributor License Agreement (CLA)](./individual-cla.md) prior to being merged. MOLA is distributed under a dual licensing model: - **Open source:** GNU General Public License v3 (GPL v3) - **Commercial:** A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3 The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work. When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered. --- ## 2. Code of Conduct All contributors are expected to adhere to the project's [Code of Conduct](./CODE_OF_CONDUCT.md). We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project. --- ## 3. Types of Contributions We welcome the following types of contributions: - **Bug fixes** — corrections to incorrect or unexpected behavior - **Performance improvements** — optimizations with measurable, documented impact - **New modules or algorithms** — extensions to MOLA's modular architecture - **Documentation improvements** — corrections, clarifications, and additions to existing documentation - **Dataset integrations** — support for additional SLAM benchmark or real-world datasets - **ROS 2 integrations** — improvements to the ROS 2 interface, launch files, or message definitions - **Tests** — new or improved unit, integration, or regression tests If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap. --- ## 4. Getting Started Full setup instructions, dependencies, and build guides are available in the official documentation: **https://docs.mola-slam.org/** Ensure your development environment is fully configured and that all existing tests pass before making any changes. --- ## 5. Development Workflow 1. **Fork** the repository and create a new branch from `main` (or the relevant base branch). 2. Name your branch descriptively, e.g. `fix/imu-integration-drift` or `feat/lidar-odometry-module`. 3. Make your changes in focused, logically grouped commits. 4. Ensure all tests pass locally before opening a Pull Request. 5. Open a Pull Request against the `main` branch with a clear description of your changes. Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern. --- ## 6. Commit and Pull Request Guidelines **Commits** - Write commit messages in the imperative mood: `Fix timestamp alignment in IMU handler`, not `Fixed` or `Fixes`. - Keep the subject line under 72 characters. - Reference relevant issues in the commit body where applicable, e.g. `Closes #123`. **Pull Requests** - Provide a clear summary of the problem being solved and the approach taken. - Include references to any related issues, discussions, or prior art. - If the PR introduces a user-visible change, update the relevant documentation and changelog. - Mark the PR as a draft if it is not yet ready for review. --- File truncated at 100 lines [see the full file](https://github.com/MOLAorg/mola_sm_loop_closure/tree/develop/CONTRIBUTING.md)
No version for distro melodic showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

mola_sm_loop_closure repository

mola_sm_loop_closure

ROS Distro
humble

Repository Summary

Description
Checkout URI https://github.com/MOLAorg/mola_sm_loop_closure.git
VCS Type git
VCS Version develop
Last Updated 2026-04-25
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
mola_sm_loop_closure 1.0.0

README

CI ROS CI Check clang-format Docs

Distro Build dev Build releases Stable version
ROS 2 Humble (u22.04) Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Jazzy @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Kilted @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Rolling (u24.04) Build Status amd64 Build Status
arm64 Build Status
Version

mola_sm_loop_closure

Offline loop-closure engine for MOLA CSimpleMap files. Given an input simplemap produced by any MOLA odometry front-end, the package re-optimises all keyframe poses by detecting and closing loops, then writes the corrected simplemap back to disk.

Two algorithms

Algorithm Class Best for
SimplemapLoopClosure mola::SimplemapLoopClosure Long maps with noticeable drift; groups keyframes into submaps and runs heavy point-cloud ICP between submap pairs
FrameToFrameLoopClosure mola::FrameToFrameLoopClosure GNSS-augmented datasets or quick re-optimisation; runs frame-to-frame ICP with a GNC graph optimizer

CLI usage

# SimplemapLoopClosure (default algorithm):
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -p pipelines/loop-closure-lidar3d-gicp.yaml

# FrameToFrameLoopClosure:
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -a mola::FrameToFrameLoopClosure \
    -p pipelines/loop-closure-f2f-lidar3d-gicp.yaml

Available pipelines

YAML file Sensor type Algorithm
loop-closure-lidar3d-gicp.yaml 3-D LiDAR (GICP) SimplemapLoopClosure
loop-closure-lidar3d-icp.yaml 3-D LiDAR (point-to-point ICP) SimplemapLoopClosure
loop-closure-lidar2d.yaml 2-D LiDAR SimplemapLoopClosure
loop-closure-f2f-lidar3d-gicp.yaml 3-D LiDAR (GICP) FrameToFrameLoopClosure

Key YAML knobs

SimplemapLoopClosure

  • submap_max_absolute_length / submap_min_absolute_length — controls submap granularity.
  • assume_planar_world: true enables annealed soft planar constraints (z, roll, pitch).
    • planar_world_initial_sigma_z, planar_world_initial_sigma_ang, planar_world_annealing_rounds — tune the annealing schedule.
    • planar_world_hard_flatten: true restores the old hard-flattening behaviour.
  • use_gnss: true / gnss_add_horizontality: true — GNSS-assisted global alignment.

FrameToFrameLoopClosure

  • lc_candidate_strategyDISTANCE_STRATIFIED (default), PROXIMITY_ONLY, or MULTI_OBJECTIVE.
  • assume_planar_world: true — planar-world annealing.
  • use_gnss: true — per-keyframe GNSS factors (FactorGnssEnu).

See the online tutorial for a step-by-step example.

License

Copyright (C) 2018-2026 Jose Luis Blanco jlblanco@ual.es, University of Almeria

This package is released under the GNU GPL v3 license as open source, with the main intention of being useful for research and evaluation purposes. Commercial licenses available upon request.

Contributions require acceptance of the Contributor License Agreement (CLA).

CONTRIBUTING

Contributing to MOLA

Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution.

MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below.


Table of Contents

  1. Contributor License Agreement
  2. Code of Conduct
  3. Types of Contributions
  4. Getting Started
  5. Development Workflow
  6. Commit and Pull Request Guidelines
  7. Coding Standards
  8. Testing Requirements
  9. Documentation
  10. Review Process
  11. Reporting Issues

1. Contributor License Agreement

All contributions to MOLA require acceptance of the Contributor License Agreement (CLA) prior to being merged.

MOLA is distributed under a dual licensing model:

  • Open source: GNU General Public License v3 (GPL v3)
  • Commercial: A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3

The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work.

When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered.


2. Code of Conduct

All contributors are expected to adhere to the project’s Code of Conduct. We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project.


3. Types of Contributions

We welcome the following types of contributions:

  • Bug fixes — corrections to incorrect or unexpected behavior
  • Performance improvements — optimizations with measurable, documented impact
  • New modules or algorithms — extensions to MOLA’s modular architecture
  • Documentation improvements — corrections, clarifications, and additions to existing documentation
  • Dataset integrations — support for additional SLAM benchmark or real-world datasets
  • ROS 2 integrations — improvements to the ROS 2 interface, launch files, or message definitions
  • Tests — new or improved unit, integration, or regression tests

If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap.


4. Getting Started

Full setup instructions, dependencies, and build guides are available in the official documentation:

https://docs.mola-slam.org/

Ensure your development environment is fully configured and that all existing tests pass before making any changes.


5. Development Workflow

  1. Fork the repository and create a new branch from main (or the relevant base branch).
  2. Name your branch descriptively, e.g. fix/imu-integration-drift or feat/lidar-odometry-module.
  3. Make your changes in focused, logically grouped commits.
  4. Ensure all tests pass locally before opening a Pull Request.
  5. Open a Pull Request against the main branch with a clear description of your changes.

Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern.


6. Commit and Pull Request Guidelines

Commits

  • Write commit messages in the imperative mood: Fix timestamp alignment in IMU handler, not Fixed or Fixes.
  • Keep the subject line under 72 characters.
  • Reference relevant issues in the commit body where applicable, e.g. Closes #123.

Pull Requests

  • Provide a clear summary of the problem being solved and the approach taken.
  • Include references to any related issues, discussions, or prior art.
  • If the PR introduces a user-visible change, update the relevant documentation and changelog.
  • Mark the PR as a draft if it is not yet ready for review.

File truncated at 100 lines see the full file

# Contributing to MOLA Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution. MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below. --- ## Table of Contents 1. [Contributor License Agreement](#1-contributor-license-agreement) 2. [Code of Conduct](#2-code-of-conduct) 3. [Types of Contributions](#3-types-of-contributions) 4. [Getting Started](#4-getting-started) 5. [Development Workflow](#5-development-workflow) 6. [Commit and Pull Request Guidelines](#6-commit-and-pull-request-guidelines) 7. [Coding Standards](#7-coding-standards) 8. [Testing Requirements](#8-testing-requirements) 9. [Documentation](#9-documentation) 10. [Review Process](#10-review-process) 11. [Reporting Issues](#11-reporting-issues) --- ## 1. Contributor License Agreement All contributions to MOLA require acceptance of the [Contributor License Agreement (CLA)](./individual-cla.md) prior to being merged. MOLA is distributed under a dual licensing model: - **Open source:** GNU General Public License v3 (GPL v3) - **Commercial:** A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3 The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work. When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered. --- ## 2. Code of Conduct All contributors are expected to adhere to the project's [Code of Conduct](./CODE_OF_CONDUCT.md). We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project. --- ## 3. Types of Contributions We welcome the following types of contributions: - **Bug fixes** — corrections to incorrect or unexpected behavior - **Performance improvements** — optimizations with measurable, documented impact - **New modules or algorithms** — extensions to MOLA's modular architecture - **Documentation improvements** — corrections, clarifications, and additions to existing documentation - **Dataset integrations** — support for additional SLAM benchmark or real-world datasets - **ROS 2 integrations** — improvements to the ROS 2 interface, launch files, or message definitions - **Tests** — new or improved unit, integration, or regression tests If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap. --- ## 4. Getting Started Full setup instructions, dependencies, and build guides are available in the official documentation: **https://docs.mola-slam.org/** Ensure your development environment is fully configured and that all existing tests pass before making any changes. --- ## 5. Development Workflow 1. **Fork** the repository and create a new branch from `main` (or the relevant base branch). 2. Name your branch descriptively, e.g. `fix/imu-integration-drift` or `feat/lidar-odometry-module`. 3. Make your changes in focused, logically grouped commits. 4. Ensure all tests pass locally before opening a Pull Request. 5. Open a Pull Request against the `main` branch with a clear description of your changes. Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern. --- ## 6. Commit and Pull Request Guidelines **Commits** - Write commit messages in the imperative mood: `Fix timestamp alignment in IMU handler`, not `Fixed` or `Fixes`. - Keep the subject line under 72 characters. - Reference relevant issues in the commit body where applicable, e.g. `Closes #123`. **Pull Requests** - Provide a clear summary of the problem being solved and the approach taken. - Include references to any related issues, discussions, or prior art. - If the PR introduces a user-visible change, update the relevant documentation and changelog. - Mark the PR as a draft if it is not yet ready for review. --- File truncated at 100 lines [see the full file](https://github.com/MOLAorg/mola_sm_loop_closure/tree/develop/CONTRIBUTING.md)
No version for distro noetic showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

mola_sm_loop_closure repository

mola_sm_loop_closure

ROS Distro
humble

Repository Summary

Description
Checkout URI https://github.com/MOLAorg/mola_sm_loop_closure.git
VCS Type git
VCS Version develop
Last Updated 2026-04-25
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
mola_sm_loop_closure 1.0.0

README

CI ROS CI Check clang-format Docs

Distro Build dev Build releases Stable version
ROS 2 Humble (u22.04) Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Jazzy @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Kilted @ u24.04 Build Status amd64 Build Status
arm64 Build Status
Version
ROS 2 Rolling (u24.04) Build Status amd64 Build Status
arm64 Build Status
Version

mola_sm_loop_closure

Offline loop-closure engine for MOLA CSimpleMap files. Given an input simplemap produced by any MOLA odometry front-end, the package re-optimises all keyframe poses by detecting and closing loops, then writes the corrected simplemap back to disk.

Two algorithms

Algorithm Class Best for
SimplemapLoopClosure mola::SimplemapLoopClosure Long maps with noticeable drift; groups keyframes into submaps and runs heavy point-cloud ICP between submap pairs
FrameToFrameLoopClosure mola::FrameToFrameLoopClosure GNSS-augmented datasets or quick re-optimisation; runs frame-to-frame ICP with a GNC graph optimizer

CLI usage

# SimplemapLoopClosure (default algorithm):
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -p pipelines/loop-closure-lidar3d-gicp.yaml

# FrameToFrameLoopClosure:
mola-sm-lc-cli -i in.simplemap -o out.simplemap \
    -a mola::FrameToFrameLoopClosure \
    -p pipelines/loop-closure-f2f-lidar3d-gicp.yaml

Available pipelines

YAML file Sensor type Algorithm
loop-closure-lidar3d-gicp.yaml 3-D LiDAR (GICP) SimplemapLoopClosure
loop-closure-lidar3d-icp.yaml 3-D LiDAR (point-to-point ICP) SimplemapLoopClosure
loop-closure-lidar2d.yaml 2-D LiDAR SimplemapLoopClosure
loop-closure-f2f-lidar3d-gicp.yaml 3-D LiDAR (GICP) FrameToFrameLoopClosure

Key YAML knobs

SimplemapLoopClosure

  • submap_max_absolute_length / submap_min_absolute_length — controls submap granularity.
  • assume_planar_world: true enables annealed soft planar constraints (z, roll, pitch).
    • planar_world_initial_sigma_z, planar_world_initial_sigma_ang, planar_world_annealing_rounds — tune the annealing schedule.
    • planar_world_hard_flatten: true restores the old hard-flattening behaviour.
  • use_gnss: true / gnss_add_horizontality: true — GNSS-assisted global alignment.

FrameToFrameLoopClosure

  • lc_candidate_strategyDISTANCE_STRATIFIED (default), PROXIMITY_ONLY, or MULTI_OBJECTIVE.
  • assume_planar_world: true — planar-world annealing.
  • use_gnss: true — per-keyframe GNSS factors (FactorGnssEnu).

See the online tutorial for a step-by-step example.

License

Copyright (C) 2018-2026 Jose Luis Blanco jlblanco@ual.es, University of Almeria

This package is released under the GNU GPL v3 license as open source, with the main intention of being useful for research and evaluation purposes. Commercial licenses available upon request.

Contributions require acceptance of the Contributor License Agreement (CLA).

CONTRIBUTING

Contributing to MOLA

Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution.

MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below.


Table of Contents

  1. Contributor License Agreement
  2. Code of Conduct
  3. Types of Contributions
  4. Getting Started
  5. Development Workflow
  6. Commit and Pull Request Guidelines
  7. Coding Standards
  8. Testing Requirements
  9. Documentation
  10. Review Process
  11. Reporting Issues

1. Contributor License Agreement

All contributions to MOLA require acceptance of the Contributor License Agreement (CLA) prior to being merged.

MOLA is distributed under a dual licensing model:

  • Open source: GNU General Public License v3 (GPL v3)
  • Commercial: A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3

The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work.

When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered.


2. Code of Conduct

All contributors are expected to adhere to the project’s Code of Conduct. We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project.


3. Types of Contributions

We welcome the following types of contributions:

  • Bug fixes — corrections to incorrect or unexpected behavior
  • Performance improvements — optimizations with measurable, documented impact
  • New modules or algorithms — extensions to MOLA’s modular architecture
  • Documentation improvements — corrections, clarifications, and additions to existing documentation
  • Dataset integrations — support for additional SLAM benchmark or real-world datasets
  • ROS 2 integrations — improvements to the ROS 2 interface, launch files, or message definitions
  • Tests — new or improved unit, integration, or regression tests

If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap.


4. Getting Started

Full setup instructions, dependencies, and build guides are available in the official documentation:

https://docs.mola-slam.org/

Ensure your development environment is fully configured and that all existing tests pass before making any changes.


5. Development Workflow

  1. Fork the repository and create a new branch from main (or the relevant base branch).
  2. Name your branch descriptively, e.g. fix/imu-integration-drift or feat/lidar-odometry-module.
  3. Make your changes in focused, logically grouped commits.
  4. Ensure all tests pass locally before opening a Pull Request.
  5. Open a Pull Request against the main branch with a clear description of your changes.

Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern.


6. Commit and Pull Request Guidelines

Commits

  • Write commit messages in the imperative mood: Fix timestamp alignment in IMU handler, not Fixed or Fixes.
  • Keep the subject line under 72 characters.
  • Reference relevant issues in the commit body where applicable, e.g. Closes #123.

Pull Requests

  • Provide a clear summary of the problem being solved and the approach taken.
  • Include references to any related issues, discussions, or prior art.
  • If the PR introduces a user-visible change, update the relevant documentation and changelog.
  • Mark the PR as a draft if it is not yet ready for review.

File truncated at 100 lines see the full file

# Contributing to MOLA Thank you for your interest in contributing to MOLA. This document outlines the process and expectations for contributing to this project. Please read it carefully before submitting any contribution. MOLA is a modular SLAM and localization framework written in C++ with ROS 2 support. We welcome contributions from the community, provided they meet the quality and legal requirements described below. --- ## Table of Contents 1. [Contributor License Agreement](#1-contributor-license-agreement) 2. [Code of Conduct](#2-code-of-conduct) 3. [Types of Contributions](#3-types-of-contributions) 4. [Getting Started](#4-getting-started) 5. [Development Workflow](#5-development-workflow) 6. [Commit and Pull Request Guidelines](#6-commit-and-pull-request-guidelines) 7. [Coding Standards](#7-coding-standards) 8. [Testing Requirements](#8-testing-requirements) 9. [Documentation](#9-documentation) 10. [Review Process](#10-review-process) 11. [Reporting Issues](#11-reporting-issues) --- ## 1. Contributor License Agreement All contributions to MOLA require acceptance of the [Contributor License Agreement (CLA)](./individual-cla.md) prior to being merged. MOLA is distributed under a dual licensing model: - **Open source:** GNU General Public License v3 (GPL v3) - **Commercial:** A separate commercial license is available for industry users who cannot comply with the terms of the GPL v3 The CLA ensures that the project maintainers hold the necessary rights to distribute your contribution under both licensing models. It does not transfer copyright ownership — you retain full ownership of your work. When you open a Pull Request, an automated CLA assistant will verify whether you have previously accepted the agreement. If you have not, you will be prompted to do so before the PR can be reviewed or merged. Contributions submitted without CLA acceptance will not be considered. --- ## 2. Code of Conduct All contributors are expected to adhere to the project's [Code of Conduct](./CODE_OF_CONDUCT.md). We are committed to maintaining a welcoming and professional environment for everyone, regardless of background or experience level. Violations may result in removal from the project. --- ## 3. Types of Contributions We welcome the following types of contributions: - **Bug fixes** — corrections to incorrect or unexpected behavior - **Performance improvements** — optimizations with measurable, documented impact - **New modules or algorithms** — extensions to MOLA's modular architecture - **Documentation improvements** — corrections, clarifications, and additions to existing documentation - **Dataset integrations** — support for additional SLAM benchmark or real-world datasets - **ROS 2 integrations** — improvements to the ROS 2 interface, launch files, or message definitions - **Tests** — new or improved unit, integration, or regression tests If you are considering a large or architectural contribution, please open an issue for discussion before beginning work. This avoids duplication of effort and ensures alignment with the project roadmap. --- ## 4. Getting Started Full setup instructions, dependencies, and build guides are available in the official documentation: **https://docs.mola-slam.org/** Ensure your development environment is fully configured and that all existing tests pass before making any changes. --- ## 5. Development Workflow 1. **Fork** the repository and create a new branch from `main` (or the relevant base branch). 2. Name your branch descriptively, e.g. `fix/imu-integration-drift` or `feat/lidar-odometry-module`. 3. Make your changes in focused, logically grouped commits. 4. Ensure all tests pass locally before opening a Pull Request. 5. Open a Pull Request against the `main` branch with a clear description of your changes. Do not submit Pull Requests that bundle unrelated changes. Each PR should address a single concern. --- ## 6. Commit and Pull Request Guidelines **Commits** - Write commit messages in the imperative mood: `Fix timestamp alignment in IMU handler`, not `Fixed` or `Fixes`. - Keep the subject line under 72 characters. - Reference relevant issues in the commit body where applicable, e.g. `Closes #123`. **Pull Requests** - Provide a clear summary of the problem being solved and the approach taken. - Include references to any related issues, discussions, or prior art. - If the PR introduces a user-visible change, update the relevant documentation and changelog. - Mark the PR as a draft if it is not yet ready for review. --- File truncated at 100 lines [see the full file](https://github.com/MOLAorg/mola_sm_loop_closure/tree/develop/CONTRIBUTING.md)