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 4.0.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 4.0.0
File Size Uploaded Provenance Actions
armw-4.0.0.tar.gz 190.9 kB Without provenance Details for armw-4.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 411.0 kB

Release files / armw-4.0.0.tar.gz

Download URL armw-4.0.0.tar.gz
Size 190.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b9c070acddc357ac465a12f7e0d5e155674189bfd074d39e3fe7e13c14b628bc
BLAKE2b-256 checksum
How to use checksums
3a488687b2f6fa22563065a12b7ab07ce4c281898b517e0c2cf9008e20ca3d30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

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

Security for armw 4.0.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