A small, opinionated, human-readable language for describing robot intent.
urml-vda5050-runtime
VDA 5050 reference runtime for URML. Vda5050Adapter drives AMRs and AGVs that speak VDA 5050, the open interface between a fleet control and mobile robots, over MQTT. No ROS 2 dependency.
What it does
In VDA 5050 the fleet control owns the route graph. It sends each vehicle an order (a path of nodes and edges, with actions on them) and reads progress from the vehicle's state. This adapter plays the fleet control for one vehicle. The URML runtime calls it only after the validator has accepted the program; each dispatch step then becomes one order. A step succeeds only when the vehicle's own state says the order reached its last node and every action is FINISHED.
URML program --validate--> URMLRuntime --> Vda5050Adapter --order / instantActions--> vehicle
^------------------state---------------'
It targets VDA 5050 3.0.0 (2026-03-18). protocol_version and interface_name in the config set the topic prefix for 2.x vehicles; the message shape is 3.0.0's, which 2.x vehicles have not been tested against.
Method coverage
| URML primitive | VDA 5050 |
|---|---|
move_to |
an order along the shortest configured route from the vehicle's lastNodeId; URML speed caps each edge's maximumSpeed |
dock |
an order to the station ending in the service's action (charge is startCharging, park is none); until: full waits on powerSupply.stateOfCharge |
grasp / release (and so pick_from / place_at) |
pick / drop at the current node, with its stationName / stationType and the object class as loadType |
detect |
detectObject at the current node, when the vehicle declares it |
measure |
a fresh state: battery, voltage, current, position |
call_program |
a configured vendor action (RFC-0015) |
wait |
local sleep (the vehicle holds at its node) |
report |
local record, no cloud |
Returned as not supported, with a reason: wait_for (the vehicle interface carries no external events), scan, capture, speak, listen, release hand_to_user. The drone trio returns not_applicable_vda5050.
Before every order the adapter asks for a fresh state (stateRequest) and refuses to send if the vehicle is not in an operating mode that accepts orders, has an active emergency stop, reports an URGENT / CRITICAL / FATAL error, is still running an order, or stands on a node the config does not know. (A vehicle that ignores stateRequest still works, but each step then waits state_timeout_seconds before the adapter falls back to the last state it received.) After sending it reports a vehicle rejection with the vehicle's own error type (for example INVALID_ORDER_ACTION). When an order does not finish within order_timeout_seconds, it sends cancelOrder before reporting the failure.
Configuration
Node ids, edges, stations and the vehicle's action set are deployment facts, so they live in a vda5050_adapter.yaml next to the URML artifacts, not in the program or manifest. See examples/vda5050/vda5050_adapter.yaml for a commented example. supported_actions is the vehicle factsheet's protocolFeatures.agvActions; an action outside it is refused before anything is sent.
Install and run
pip install -e reference/vda5050-runtime # hermetic: simulated vehicle, in-memory broker
pip install -e "reference/vda5050-runtime[mqtt]" # real broker via paho-mqtt
python examples/vda5050/run_demo.py # the warehouse example as VDA 5050 orders
from urml_vda5050_runtime import Vda5050Adapter, load_vda5050_config
config = load_vda5050_config("vda5050_adapter.yaml")
with Vda5050Adapter(config) as amr: # connects to config.broker_host
print(amr.send_navigation_goal(location="shelf_a3"))
Tested
- Hermetic suite (
tests/): the adapter againstSimulatedVehicleon anInMemoryBroker. Every message either side publishes is validated against the official VDA 5050 JSON schemas for 3.0.0, as upstream maintains them on itsmainbranch (tests/vda5050_schemas/, MIT, pinned to a commit). Includes the repository's unchanged warehouse example run end to end through the validator andURMLRuntime, and a validator rejection that sends nothing to the vehicle. - Live broker (
tests/integration/,URML_VDA5050_BROKER=host:port): adapter and simulated vehicle on separatepaho-mqttconnections to a real Mosquitto 2.0 broker. Run weekly byvda5050-integration.yml. - Not yet: a real vendor vehicle, or a vendor's VDA 5050 simulator. The vehicle on the other side of every test is this package's own simulator, which follows the protocol rules a fleet control depends on but is not a vehicle model.
Scope
One order per dispatch step, fully released, no horizon. That is enough to drive a vehicle through a URML program; it is not traffic management. Multi-vehicle deconfliction, horizon streaming and order updates belong to a fleet manager (openTCS, Open-RMF, a vendor fleet manager). URML's own cross-robot checks (RFC-0286, RFC-0291) run in the validator before anything is sent, and a site's mobile-robot rules (after ISO 3691-4 and ANSI/A3 R15.08) load as a rulebook: start from examples/rulebooks/amr-template.yaml. Open questions are recorded in SPEC-GAPS.md.
ISO 21423:2026 (industrial mobile robot communications and interoperability) has its own runtime, iso21423-runtime, because its model differs: every participant publishes its own state and any one may send another a request. That runtime is built from public material based on the standard's draft, and its validation against the published standard is in progress.
License
Business Source License 1.1: free for non-production use, commercial license for production (see LICENSING.md). paho-mqtt (EPL-2.0 or EDL-1.0) is an optional extra, imported lazily. The VDA 5050 schemas in tests/vda5050_schemas/ are MIT-licensed test fixtures and are not shipped in the wheel.
Related
- RFC-0297: the URML to VDA 5050 mapping this runtime implements.
- RFC-0022: the warehouse profile; no new primitives were needed.
/reference/opcua-runtime/: the zero-ROS sibling whose structure this mirrors.
Metadata
Release files for urml-vda5050-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_vda5050_runtime-0.5.1.tar.gz | 42.2 kB | Without provenance | Details for urml_vda5050_runtime-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| urml_vda5050_runtime-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for urml_vda5050_runtime-0.5.1-py3-none-any.whl |
Total release size: 66.4 kB
Release files / urml_vda5050_runtime-0.5.1.tar.gz
| Download URL | urml_vda5050_runtime-0.5.1.tar.gz |
|---|---|
| Size | 42.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
686168cdce7b0001e80e70a1c991bac327d2c09ea7f42e0e559485dd45c7abe6
|
|
BLAKE2b-256 checksum How to use checksums |
68e7202ec709ad27f485aa72482086f5e751ec6b1eb173115f4eb3e1ad043252
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Release files / urml_vda5050_runtime-0.5.1-py3-none-any.whl
| Download URL | urml_vda5050_runtime-0.5.1-py3-none-any.whl |
|---|---|
| Size | 24.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed8dd99a560bd5f11e3867151e7f53e20ec199ec972b4dc3831249155b5f662c
|
|
BLAKE2b-256 checksum How to use checksums |
c79e3388136d548b877b2fe0ec419a599dcc73bc3df819431784be4785f066b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Security for urml-vda5050-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.