Skip to main content

SlamToolbox

面向 ROS2 激光点云地图的交互式处理工具,通过终端菜单完成地图数据录制、点云帧提取、回环检测修正、动态障碍物清除、3D 地图构建和 2D 栅格地图生成。

环境要求

  • Ubuntu 22.04 + ROS2 Humble,或 Ubuntu 24.04 + ROS2 Jazzy(x86_64)。
  • 地图数据统一存放在 ~/Map 下。

安装

  1. 安装 ROS2 和 pip:

    Ubuntu 22.04:

    sudo apt update
    sudo apt install -y ros-humble-desktop python3-pip
    

    Ubuntu 24.04:

    sudo apt update
    sudo apt install -y ros-jazzy-desktop python3-pip
    

    如尚未配置 ROS2 的 apt 仓库,先参考官方文档: Humble / Jazzy。

  2. 加载 ROS2 环境并安装 slam_toolbox:

    Ubuntu 22.04:

    source /opt/ros/humble/setup.bash
    pip install slam_toolbox
    

    Ubuntu 24.04(系统 pip 受 PEP 668 保护,需加 --break-system-packages):

    source /opt/ros/jazzy/setup.bash
    pip install --break-system-packages slam_toolbox
    
  3. 启动:

    slam_toolbox
    

使用

每次打开新终端,先 source /opt/ros/<发行版>/setup.bash 再运行 slam_toolbox, 按终端菜单操作即可。地图输出到 ~/Map/<地图名称>/,其中 map/ 目录包含最新的 map.pcd(3D 地图)和 map.pgm、map.yaml(2D 栅格地图)。

Interactive SLAM GUI 显示

Interactive SLAM 通过 Docker 容器 + X11 转发显示界面,两种环境均可使用:

  • WSL2:需 Windows 11 的 WSLg(WSL2_GUI_APPS_ENABLED=1、DISPLAY=:0), 或自行安装 VcXsrv 等 X server 并正确设置 DISPLAY。WSL 下自动使用 Mesa 软件渲染,无需 NVIDIA 容器运行时。
  • Ubuntu 桌面:在 X11 / Wayland 桌面会话中运行即可。若主机有 NVIDIA GPU 且 已安装 nvidia-container-toolkit,会自动启用 GPU 直通;否则回退到 /dev/dri 或软件渲染。

如自动选择有误,可用 SLAM_TOOLBOX_GPU_MODE=gpu|dri|software 强制指定渲染后端。

许可证

本项目采用 Mozilla Public License 2.0(MPL-2.0) 协议开源。

ERASOR2、Removert 等第三方上游项目,以独立容器形式分发,遵循各自的上游许可证,详见 NOTICE。

Metadata

Release files for slam-toolbox 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slam-toolbox 0.2.5
File Size Uploaded Provenance Actions
slam_toolbox-0.2.5.tar.gz 100.7 kB With provenance Details for slam_toolbox-0.2.5.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for slam-toolbox 0.2.5
File Interpreter ABI Platform Actions
slam_toolbox-0.2.5-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details for slam_toolbox-0.2.5-cp312-cp312-manylinux_2_34_x86_64.whl
slam_toolbox-0.2.5-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details for slam_toolbox-0.2.5-cp311-cp311-manylinux_2_34_x86_64.whl
slam_toolbox-0.2.5-cp310-cp310-manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ x86-64 Details for slam_toolbox-0.2.5-cp310-cp310-manylinux_2_34_x86_64.whl

Total release size: 1.0 MB

Release files / slam_toolbox-0.2.5.tar.gz

Download URL slam_toolbox-0.2.5.tar.gz
Size 100.7 kB
Tags Source
SHA-256 checksum
How to use checksums
12d7c8404f185e1e33b7113ebbf281eb6427b6bdb930a879d7c10f036b0c88ce
BLAKE2b-256 checksum
How to use checksums
760fdb82bad67e1ac797391c90fba0f10f191b6476c608e6f55303a434c3a80d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / slam_toolbox-0.2.5-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL slam_toolbox-0.2.5-cp312-cp312-manylinux_2_34_x86_64.whl
Size 306.8 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
10182c1a5be715fe74a0c9c7f7b9ad827a5f899bbfd2d65ea41c52f0e1ae827c
BLAKE2b-256 checksum
How to use checksums
1994f57880907ff3353f9c29cf59cd608b61462d4558f5e846725ac6298cbb17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / slam_toolbox-0.2.5-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL slam_toolbox-0.2.5-cp311-cp311-manylinux_2_34_x86_64.whl
Size 304.5 kB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
5cae8d74a03c63abdb14942873b9f87179b08ca2f88a35284c67000cc3591683
BLAKE2b-256 checksum
How to use checksums
0f366543349fb58739dd59d5be03c0b2980a9b44b9ce2396c40630ebce1e682e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / slam_toolbox-0.2.5-cp310-cp310-manylinux_2_34_x86_64.whl

Download URL slam_toolbox-0.2.5-cp310-cp310-manylinux_2_34_x86_64.whl
Size 302.9 kB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
43acc06753a6a15aebaf110e97a4ba95bce7e9999720d3125b76f47dcc4695e6
BLAKE2b-256 checksum
How to use checksums
cefaff3af45c52f2cc7538e42fee0bc4c91a36d2acc00752c9c5441329734b6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for slam-toolbox 0.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for slam_toolbox-0.2.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page