Skip to main content

Agnostic Robot Middleware

Latest Release Docs

main pipeline main coverage

devel pipeline devel coverage

ARMW is a Python shim layer for writing robot middleware code that can run on ROS 1, ROS 2, or ARMW's native backend (which has no external dependencies) with the same application-facing API.

Use ARMW when you want node code to depend on a small compatibility layer instead of directly depending on rospy or rclpy.

Quick Start

Install the package from PyPi:

pip install armw

Or locally after cloning (-e for editable mode):

pip install -e .

Select a backend explicitly when you want deterministic behavior:

export ARMW_MIDDLEWARE=native

On Windows PowerShell:

$env:ARMW_MIDDLEWARE = "native"

Create and run a minimal node:

import armw


class MinimalNode(armw.ArmwNode):
    def __init__(self):
        super().__init__("minimal_node")
        self.log_info("minimal_node started")


if __name__ == "__main__":
    armw.run_node(MinimalNode, node_name="minimal_node")

More complete guides are in docs/:

Backend Selection

ARMW chooses a middleware backend at import time.

Set ARMW_MIDDLEWARE to force one of:

  • native
  • ros1
  • ros2

If ARMW_MIDDLEWARE is not set, ARMW tries to detect ROS 1 first, then ROS 2. The native backend is best for tests and local processes that do not need a ROS runtime.

Building the Docs

Preview the documentation site locally, rebuilding on save:

make serve-docs

This opens a local server (default http://localhost:8000) backed by sphinx-autobuild. Use make docs for a one-off build to docs/_build/html, or make clean-docs to remove it.

Metadata

Release files for armw 3.2.0

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

Source distribution (sdist)

Source distribution for armw 3.2.0
File Size Uploaded Provenance Actions
armw-3.2.0.tar.gz 189.2 kB Without provenance Details for armw-3.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for armw 3.2.0
File Interpreter ABI Platform Actions
armw-3.2.0-py3-none-any.whl Python 3 none any Details for armw-3.2.0-py3-none-any.whl

Total release size: 409.0 kB

Release files / armw-3.2.0.tar.gz

Download URL armw-3.2.0.tar.gz
Size 189.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6db304b2ea52b665a3f8925413cff1ff8f35276446b42a6f1ed44e1a8771e51d
BLAKE2b-256 checksum
How to use checksums
bccccc38a4d1ef4c1b7b9946e8996fc5bf96e51e743ef9772d39ec14531f4a0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / armw-3.2.0-py3-none-any.whl

Download URL armw-3.2.0-py3-none-any.whl
Size 219.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52b7fdf096708153a3f367baf3a5dfc092857d33ba418e6fea01ad2d7c1d078f
BLAKE2b-256 checksum
How to use checksums
be95eff9dc04b9a60e2ef2f9d43bce9f75dc8279e026bbe163d47c6ea8cf3e98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for armw 3.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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