Skip to content

About

Reusable Forge mapping node for ROS2 Jazzy

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

English | 简体中文

2D mapping

BREAKING CHANGE: Forge 2.x / Dora 1.x migration

Deploy matching Forge packages, Dora CLI/coordinator/daemon and all connected peer nodes together. Rebuild executable artifacts for that environment; replacing a single node in a Forge 1.x / Dora 0.4.x graph is unsupported.

The locked Python baseline is forge-msgs==2.1.0, forge-common==2.1.0, Pillow==13.0.0 and dora-rs==1.0.1. Forge package families version independently; the forge_msgs.v1 message namespace is unchanged.

Version 2.0.0 aligns the Node major with the Forge compatibility line. Earlier published 0.x Forge 2 artifacts remain immutable; this version alignment does not change their runtime algorithms or message interfaces. The deployment break described here is from Forge 1 / Dora 0.4, not from those earlier Forge 2 artifacts. Retain the previous matching artifact and lock set for rollback. This repository does not currently provide a stable/1.x maintenance branch or a Forge 1 release workflow.

Source checks, binary builds and simulation checks are separate acceptance stages. Hardware, sustained-run and rollback acceptance must be established for the intended deployment; a version declaration does not establish them.

Manages SLAM Toolbox, map observation and map saving. Scan, odometry and TF use the external ROS backend.

Node, Endpoint and Tool API

Item Implementation
Production Nodes 1: mapping; source mapping.main:main; packaged mapping/mapping
Auxiliary programs --version, --check-config and --check-runtime are offline CLI modes, not additional Nodes
Tool support Data-plane only; no ToolEndpoint provider or caller
Endpoints / operations 0 / 0; Dora policy messages are not ToolEndpoint operations
Direct HTTP Tool API 0; an external policy and Gateway own caller-facing Tools
Gateway Tools No fixed Tool IDs in this repository; bindings belong to the consuming Skill

Message inputs, outputs, units and lifecycle: interface contract. Source: entrypoint, handler. Deployment examples: dataflow, configuration. The runtime and release sections specify dependency locks, artifact layout and source provenance.

Runtime

  • Node 2.0.0, Forge 2, Dora CLI/Python bindings 1.0.1, Forge Msgs/Common 2.1.0; exact build dependencies are in uv.lock.
  • Ubuntu 24.04 x86_64, Python 3.12 ABI, external ROS 2 Jazzy and required algorithm/message overlays.
  • Source the ROS/overlay setup before launch. mapping --check-runtime validates imports and generated wire types without opening hardware.
  • The directory_tar_gz artifact contains the complete mapping/ runtime; execute mapping/mapping. Do not move its executable away from its libraries.
  • Forge 1 artifacts remain immutable. Upgrade the binary, Dora and message peers together; changing only the external CLI does not migrate a frozen Node.

Behavior

Optional backend_overrides produce session-owned configuration copies; snapshot_dir writes observations. This Node does not drive autonomous exploration, manage SSH or implement a multi-node workflow.

Optional capabilities remain disabled when unconfigured. The Node owns only its own child processes; it does not modify vendor projects or control unrelated applications. Snapshots are observations, not a control API; consumers must verify freshness.

use_sim_time: true explicitly selects simulation time; the default remains host ROS time. Snapshot writes use an owned same-directory temporary file and atomic replacement.

Development and packaging

uv sync --frozen --group dev --group build
uv run --frozen pytest -q
uv run --frozen ruff check .
source /opt/ros/jazzy/setup.bash
# Source required algorithm/message overlays for this deployment.
BUILD_PYTHON=.venv/bin/python bash scripts/build_pyinstaller.sh

Interfaces: docs/interfaces.md. Configuration examples are in config/; deployment-specific paths and topics must be supplied by the caller. See THIRD_PARTY_NOTICES.md for sources and redistribution notices.

Versioned releases

Contribute through a personal fork and a PR to main. After merging, create a new annotated v2.X.Y tag matching pyproject.toml and dispatch Build versioned release with release_line=2.x and that tag. This workflow accepts only stable v2.X.Y tags; other major versions and prerelease tags are rejected. The workflow validates source identity, the Forge/Dora line, locked dependencies, tests and lint, then builds on Ubuntu 24.04 with ROS 2 Jazzy and checks the real frozen entrypoint. It attaches the runtime archive, SHA256 and source metadata to a Draft Release. Review and publish that draft before separately registering the Node in the resource platform.

Archive names use <entrypoint>-v<version>-ubuntu24.04-x86_64-ros2-jazzy.tar.gz. Existing releases/assets are never overwritten; changed bytes require a new version. ROS and algorithm backends remain external. Build-time Livox validation compiles only digest-checked official wire definitions and never starts a sensor driver. CI/import tests and simulation do not establish physical hardware acceptance.

About

Reusable Forge mapping node for ROS2 Jazzy

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages