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.1.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.1.0
File Size Uploaded Provenance Actions
armw-4.1.0.tar.gz 201.9 kB Without provenance Details for armw-4.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 429.7 kB

Release files / armw-4.1.0.tar.gz

Download URL armw-4.1.0.tar.gz
Size 201.9 kB
Tags Source
SHA-256 checksum
How to use checksums
46b5be67ec9d3151e28cbec5efc7908e57a6e299d84221b1ff914a421d09261a
BLAKE2b-256 checksum
How to use checksums
fa4185de3c78496d583d8d23af98cb57e4da832f649e598fc1a997ee0a84baea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

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

Download URL armw-4.1.0-py3-none-any.whl
Size 227.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0128203f076b9239a22f87790e2f484c36099414d63b20d853f661fe8fcccda5
BLAKE2b-256 checksum
How to use checksums
0cc721a0c1469f0d850b53380aade1c5c6903bf532c8b555c903a910f390caae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

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