Skip to main content

URML

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

urml.dev


urml-embedded-runtime

Educational-MCU reference runtime for URML — EmbeddedAdapter for micro:bit / Arduino-class buggies over a plain serial line, zero ROS.

URML scales down to a microcontroller: a buggy whose firmware reads short ASCII commands off serial. The educational-flywheel analog of the PX4/marine no-ROS proof (RFC-0011 educational profile), mirroring BlueRovAdapter: lazy pyserial, cached lazy port, failures returned not raised. Built against the frozen Protocol per RFC-0014.

Method coverage

URML primitive v0.1
move_to / hover write the configured firmware command
grasp / release write the configured gripper-servo command
wait hold (success)
measure / wait_for query + read one serial line
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)

dock, detect, capture, speak, listen return not_supported_on_mcu. The drone trio returns not_applicable_mcu.

Spec gaps (RFC-0014 protocol)

A mobile buggy fits the v0.1 schema honestly (it really is differential). A non-mobile LED/sensor MCU node does not — filed as RFC-0018 (Draft): a minimal-MCU manifest subset, explicitly cross-referencing RFC-0017 for the raw-actuation verb (not duplicated). See SPEC-GAPS.md. educational validates with no schema change (program.profile is an open Identifier).

Install / use

pip install -e reference/embedded-runtime[serial]   # installs pyserial
from urml_embedded_runtime import EmbeddedAdapter, EmbeddedConfig
cfg = EmbeddedConfig(port="/dev/ttyACM0",
                     location_to_command={"waypoint_a": "GO A", "dock": "HOME"})
with EmbeddedAdapter(cfg) as buggy:
    assert buggy.send_navigation_goal(location="waypoint_a").success

Status

v0.1 (this release):

  • EmbeddedAdapter + EmbeddedConfig (pyserial, no ROS). microbit_edu manifest + conformance/fixtures/educational/01_buggy_patrol_positive.yaml verified through the runner (hermetic against MockROSAdapter; adapter-agnostic against EmbeddedAdapter). First fixture under the new educational profile dir.
  • Hermetic unit tests: nav (configured + unmapped), grasp, measure, scan (not supported), lifecycle, the not-supported / not-applicable sentinels, the missing-[serial]-extra error, the conformance hook; no pyserial install required.
  • Gated .github/workflows/embedded-integration.yml: embedded-smoke (real pyserial loopback), embedded-arm64-build (Jetson-class QEMU), embedded-board-e2e placeholder against a real micro:bit/Arduino (opt-in via the run_placeholder dispatch input; first run is a calibration run by design).

Follow-ups (not yet): RFC-0018 outcome (minimal-MCU subset); a pyfirmata2 path for stock Firmata sketches.

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. pyserial/pyfirmata2 are optional extras imported lazily, never at module load.

Metadata

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

Built distribution (wheel)

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

Total release size: 19.8 kB

Release files / urml_embedded_runtime-0.5.2.tar.gz

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

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

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

Security for urml-embedded-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.

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