Agnostic Robot Middleware
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:
nativeros1ros2
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.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| armw-3.1.0.tar.gz | 184.5 kB | Without provenance | Details for armw-3.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| armw-3.1.0-py3-none-any.whl | Python 3 | none | any | Details for armw-3.1.0-py3-none-any.whl |
Total release size: 402.8 kB
Release files / armw-3.1.0.tar.gz
| Download URL | armw-3.1.0.tar.gz |
|---|---|
| Size | 184.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b32c28859467019b51403ce357224155c6a9e9b6d3da3161e418f5946219618
|
|
BLAKE2b-256 checksum How to use checksums |
255e8f6f8e4eac965c5e54c29890027d0efd8d24ba6fb39862419d0f37225abe
|
| 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.1.0-py3-none-any.whl
| Download URL | armw-3.1.0-py3-none-any.whl |
|---|---|
| Size | 218.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5810508f5f4e27bde7f57530b5ffb9f4d2e823443a8ff3950de3a539f5a27e26
|
|
BLAKE2b-256 checksum How to use checksums |
8195cc341871212a9ecf984ac351eece588a0b75acd78efb387f4c6cf82eb3dc
|
| 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.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.