Skip to main content

URML

A small, opinionated, human-readable language for describing robot intent.

urml.dev


urml-legged-runtime

Legged/quadruped reference runtime for URML — first-class adapters for Boston Dynamics Spot and ANYbotics ANYmal.

Two vendors, two substrates, the same ROSAdapter Protocol:

  • SpotAdapter talks the Boston Dynamics bosdyn gRPC SDK directly. No ROS 2 dependency — like PX4Adapter for MAVLink, it is a second proof that URML's spec carries no ROS assumptions. Spot's own companion computer is commonly a Jetson, so the offline, Jetson-class deployment story is native here.
  • AnymalAdapter speaks ROS 2, so it composes the ROS 2 runtime's RclpyAdapter — the same single-sourced-substrate pattern the industrial-arm runtime uses. No duplicated ROS 2 plumbing.

Method coverage

SpotAdapter (bosdyn):

URML primitive Mapping
move_to / hover GraphNav navigate-to (location → waypoint via SpotConfig)
dock bosdyn.client.docking blocking dock
wait held stand command
measure robot-state telemetry (battery / e-stop) — partial
wait_for robot-state poll — partial
report structured record to a local sink (no cloud)
scan documented not-supported result: no area-scan controller (a scan is waypoints plus a capture at each one)

Not supported on a bare Spot — grasp/release (needs the Spot Arm SDK), detect, capture, speak, listen, and the drone trio — return not_supported_on_spot: ... (returned, not raised).

AnymalAdapter (composes RclpyAdapter): move_to/hover, wait, measure, wait_for, report delegate to the ROS 2 substrate. grasp/release (no arm), dock, detect, scan, capture, speak, listen, and the drone trio return not_supported_on_quadruped[anymal]: .... A payload-equipped ANYmal pairs with a companion adapter, exactly as the drone stack pairs flight with a ROS 2 companion.

Install

pip install -e reference/legged-runtime          # AnymalAdapter (needs a sourced ROS 2 env to construct)
pip install -e reference/legged-runtime[spot]    # + SpotAdapter (bosdyn wheels)

bosdyn and rclpy are imported lazily, so the package imports on every host; constructing an adapter needs that vendor's runtime.

Use

from urml_legged_runtime import SpotAdapter, SpotConfig

cfg = SpotConfig(hostname="192.168.80.3", location_to_waypoint={"dock": "wp-12"})
with SpotAdapter(cfg) as spot:                       # credentials read from env-var NAMES in cfg
    assert spot.send_navigation_goal(location="dock").success
from urml_conformance import ConformanceRunner
from urml_legged_runtime import LEGGED_ADAPTERS

runner = ConformanceRunner(adapter_factory=lambda: LEGGED_ADAPTERS["spot"]())

Status

v0.1 (this release):

  • SpotAdapter (standalone bosdyn) + AnymalAdapter (composes RclpyAdapter) + LEGGED_ADAPTERS registry.
  • Hermetic unit tests: Spot against an injected fake bosdyn (navigation, dock, wait, measure, scan (not supported), every not-supported sentinel, lifecycle power-off, the missing-[spot]-extra error); ANYmal against an injected fake inner (delegation + not-supported + conformance hook + runtime_checkable).
  • Gated .github/workflows/legged-integration.yml: spot-smoke (real bosdyn wheels), spot-arm64-build (the bosdyn stack under linux/arm64 QEMU — the Jetson-companion signal, mirroring px4-arm64-build), and a gated legged-sim-e2e matrix that skips cleanly without a sim/credential.

Follow-ups (not yet):

  • US-compliant capability manifests (Boston Dynamics — US/Hyundai-owned; ANYbotics — Switzerland). Blocked on the Mobility.drive_type schema, which has no legged/quadruped value; that is the Phase-5 RFC fast-follow. Quadruped conformance fixtures land with the RFC, not before (correct sequencing, not a shortcut).
  • Spot Arm SDK wiring for grasp/release; a vision/speech companion split.
  • A real Spot sim path: Boston Dynamics' public sim is weaker than PX4 SITL and Isaac-Sim Spot needs an RTX host (never the Jetson). Until that or hardware exists, the Spot integration lane is honestly the hermetic fake-bosdyn path; the gated sim job skips cleanly.

Core Commitment

This runtime is licensed under the Business Source License 1.1: free for non-production use, commercial license for production (see LICENSING.md). No vendor coupling, no cloud dependency.

Metadata

Release files for urml-legged-runtime 0.5.2

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

Source distribution (sdist)

Source distribution for urml-legged-runtime 0.5.2
File Size Uploaded Provenance Actions
urml_legged_runtime-0.5.2.tar.gz 14.5 kB Without provenance Details for urml_legged_runtime-0.5.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for urml-legged-runtime 0.5.2
File Interpreter ABI Platform Actions
urml_legged_runtime-0.5.2-py3-none-any.whl Python 3 none any Details for urml_legged_runtime-0.5.2-py3-none-any.whl

Total release size: 27.9 kB

Release files / urml_legged_runtime-0.5.2.tar.gz

Download URL urml_legged_runtime-0.5.2.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
92df43ea10e1fbfa844e1baacf65ada5b8bd14f7ad91e333e8b175502a04c7ae
BLAKE2b-256 checksum
How to use checksums
6318435f566d0bdb425d8d612bb39be39943b3c6661a7c002872eda69a407c9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / urml_legged_runtime-0.5.2-py3-none-any.whl

Download URL urml_legged_runtime-0.5.2-py3-none-any.whl
Size 13.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f4ab35fea2f55c7e1831fb06504dfe09dfee3d992e41ce9760a80fab18958f9
BLAKE2b-256 checksum
How to use checksums
6b0962e418009ba15e556f9635ab5b7e13b3d30538893fdadea1771d3e400621
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for urml-legged-runtime 0.5.2

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.

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 release files No provenance

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