Skip to main content

URML

urml-av-runtime

Autonomous-vehicle reference runtime for URML — AutowareAdapter, over the Autoware Universe AD API.

The first substrate to implement URML's TrajectoryAdapter Protocol (RFC-0020). Until now only MockROSAdapter did; this backs the AV verbs against a real Autoware stack through the documented AD API (autoware_adapi_v1_msgs).

Method coverage

URML primitive Autoware AD API behaviour
plan_path (compute) /api/routing/set_route_points (SetRoutePoints) sets a route to the goal pose; Autoware plans the dense trajectory from the vehicle's localized pose. URML binds a route handle, not raw waypoints
follow_trajectory (actuate) /api/operation_mode/change_to_autonomous (ChangeOperationMode) + a VelocityLimit publish engages autonomous driving under an optional speed cap. The only AV verb that actuates
wait / report none passive hold / local report sink, so a full AV program runs

Everything else in the substrate surface is not implemented: an AV program is plan_path then follow_trajectory (see examples/av/robotaxi-trip.urml.yaml).

Honest boundaries

  • start is ignored: Autoware routes from the vehicle's current localized pose.
  • along (an HD-map corridor id) is checked by the validator upstream; the AD API routing request takes no such field, so it is not forwarded.
  • max_accel and on_off_route are vehicle- and planning-configured in Autoware; the adapter records the intent, it does not set them per call.
  • Every AD API service / topic / message-type name is overridable in AutowareConfig, so the adapter tracks a specific Autoware release without a code change.

Install / use

rclpy and the Autoware message packages ship with a ROS 2 + Autoware install, not from PyPI, so there is no installable extra. They are imported lazily, so this module loads on every host (Windows included) and the hermetic suite runs without ROS 2.

pip install -e reference/av-runtime      # hermetic dev; adapter needs Linux + Autoware to actuate
from urml_av_runtime import AutowareAdapter, AutowareConfig, MapPose

cfg = AutowareConfig(location_to_pose={
    "depot":   MapPose(x=0.0,  y=0.0),
    "dropoff": MapPose(x=30.0, y=12.0, yaw=1.57),
})
# rclpy.init() is the caller's responsibility, as with RclpyAdapter.
with AutowareAdapter(cfg) as av:
    plan = av.plan_trajectory(start=None, goal="dropoff", along="city_map")
    av.follow_trajectory_goal(trajectory=plan.payload, max_velocity_mps=12.0)

Status

v0.1 (this release):

  • AutowareAdapter + AutowareConfig + load_av_config. Hermetic suite green via fake-rclpy / fake-message injection (pytest reference/av-runtime/tests -q).
  • The av profile is research-grade, not production safety-certified (RFC-0020). Real-vehicle validation on a Linux + Autoware host is a gated follow-up, never claimed from the hermetic suite.

Core Commitment

Business Source License 1.1: free for non-production use, commercial license for production (see LICENSING.md). No vendor coupling, no cloud dependency. rclpy and the Autoware messages are imported lazily, never at module load.

Metadata

Release files for urml-av-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-av-runtime 0.5.2
File Size Uploaded Provenance Actions
urml_av_runtime-0.5.2.tar.gz 10.7 kB Without provenance Details for urml_av_runtime-0.5.2.tar.gz

Built distribution (wheel)

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

Total release size: 20.2 kB

Release files / urml_av_runtime-0.5.2.tar.gz

Download URL urml_av_runtime-0.5.2.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fed383395488ec3ff0de65d3554bc21608c861ab63a39e1d94dc73365ddd6bec
BLAKE2b-256 checksum
How to use checksums
bcbcb2bfbff6abfc9558004ff8c90a9914bdeaaa9c6b8d84e12842b06e905362
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

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

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

Security for urml-av-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