Skip to main content

URML

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

urml.dev


urml-mujoco-runtime

Simulator reference runtime for URML — MujocoAdapter for MuJoCo physics, via the official Apache-2.0 mujoco wheel.

MuJoCo is a pure-Python-bindings simulator over a bundled engine: headless, offline, no ROS. This adapter mirrors BlueRovAdapter / PX4Adapter: lazy mujoco, no ROS 2 dependency, a lazily-loaded cached model/data, failures returned not raised. It is the purest substrate-neutrality acid-test proof — a runtime that faithfully implements the frozen substrate Protocol (RFC-0014) with zero ROS and no middleware: the sentence→motion loop with no robot at all.

Method coverage

URML primitive v0.1
move_to / hover write configured ctrl target onto mjData, step the engine steps_per_command steps
wait step the engine
measure read mjData.sensordata
wait_for step-then-check (a sim has no external event bus)
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)

grasp/release, dock, detect, capture, speak, listen return not_supported_in_base_sim (a task-specific model + controller pairs via a companion). The drone trio take_off/land/return_to_home return not_applicable_sim.

Install / use

pip install -e reference/mujoco-runtime[sim]   # installs mujoco
from urml_mujoco_runtime import MujocoAdapter, MujocoConfig
from urml_mujoco_runtime.adapter import ControlTarget
cfg = MujocoConfig(model_path="arm.xml",
                   location_to_target={"home_pose": ControlTarget(ctrl=[0, 0, 0])})
with MujocoAdapter(cfg) as sim:
    assert sim.send_navigation_goal(location="home_pose").success

Status

v0.1 (this release):

  • MujocoAdapter + MujocoConfig (MuJoCo, no ROS). mujoco_arm_sim manifest + conformance/fixtures/home/17_mujoco_sentence_to_motion_positive.yaml verified through the runner (hermetic against MockROSAdapter; adapter-agnostic against MujocoAdapter).
  • Hermetic unit tests: navigation (configured + unmapped), measure, scan (not supported), lifecycle, the not-supported / not-applicable-sim sentinels, the model-path-required and missing-[sim]-extra errors, the conformance hook; no mujoco install required.
  • Gated .github/workflows/mujoco-integration.yml: mujoco-smoke (real mujoco), mujoco-arm64-build (the Jetson-class QEMU signal), and mujoco-sitl-e2e against a real MJCF model (first run is a calibration run by design — the established px4/ros2/marine convention).
  • SPEC-GAPS.md: none — a simulator implements the existing primitives with zero new vocabulary.

Follow-ups (not yet): a bundled demo MJCF model + a true sentence→motion video; a task-model companion for grasp.

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.

Metadata

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

Built distribution (wheel)

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

Total release size: 25.1 kB

Release files / urml_mujoco_runtime-0.5.2.tar.gz

Download URL urml_mujoco_runtime-0.5.2.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
94e68c18e335ef4c019703a51150c2538f130994ba684a132b956b759b966505
BLAKE2b-256 checksum
How to use checksums
93cf8672e36908d18d2745b56b9365c0b8a17884205bd2a484025bfa0c543265
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

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

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

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