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.1

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.1
File Size Uploaded Provenance Actions
urml_embedded_runtime-0.5.1.tar.gz 10.9 kB Without provenance Details for urml_embedded_runtime-0.5.1.tar.gz

Built distribution (wheel)

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

Total release size: 19.8 kB

Release files / urml_embedded_runtime-0.5.1.tar.gz

Download URL urml_embedded_runtime-0.5.1.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b75dd4cfcebada89265db69a8ea31d15585cb830f8ef2d87402a974d9d506220
BLAKE2b-256 checksum
How to use checksums
d6883fa809085896b9c1d67da708736e6f10d6d6bf0ccc9065b56c56966e9e90
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.1-py3-none-any.whl

Download URL urml_embedded_runtime-0.5.1-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
444989e2eebe76371c2d785eb593eb7a35bfb31afa969380e93989d691da0be9
BLAKE2b-256 checksum
How to use checksums
64e53d45da622fa18acea7a565d24bf0f43bad929bee987904e919e3424eb34f
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.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.

Release history Release notifications | RSS feed

This release

0.5.1 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