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
startis 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_accelandon_off_routeare 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
avprofile 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.1
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 |
|---|---|---|---|---|
| urml_av_runtime-0.5.1.tar.gz | 10.7 kB | Without provenance | Details for urml_av_runtime-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| urml_av_runtime-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for urml_av_runtime-0.5.1-py3-none-any.whl |
Total release size: 20.2 kB
Release files / urml_av_runtime-0.5.1.tar.gz
| Download URL | urml_av_runtime-0.5.1.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ba6b8e8e1b3be39efbf873b6a4d1c368708a654638096a6e098d052c5295a9b
|
|
BLAKE2b-256 checksum How to use checksums |
4a5d4099ddb6fb83775c2b3beafa48ffc775970e7070fe2e8e921225dcfd8245
|
| 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.1-py3-none-any.whl
| Download URL | urml_av_runtime-0.5.1-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
650d4e71e86a0125f70529ee2e5f4e5237926d0043201f07edbd20f28d6181bc
|
|
BLAKE2b-256 checksum How to use checksums |
8628d4f7f97cdc6937cb43e32d64b186e1c49fdcc0004ee9538f91c1b3b4eee3
|
| 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.1
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.