Proposal: urml-openpi-bridge with a URML Outputs class following openpi's Inputs/Outputs extension pattern #954
idoco2003
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Proposing a
urml-openpi-bridgepackage that hooks into openpi's documented Inputs / Outputs extension pattern. A customURMLOutputsclass (mirroring theLiberoOutputsshape insrc/openpi/policies/libero_policy.py) translates the policy'spolicy.infer(example)["actions"]output into URML primitive calls before any motion reaches the substrate adapter. The bridge keeps the raw action tensor on the return dict, so existing openpi evaluation harnesses see the policy as normal. URML emission rides alongside.URML is an Apache 2.0 specification for substrate-neutral robot intent. Its Layer-2 primitive vocabulary lets π policies retarget across ROS 2 / PX4 / Isaac / MuJoCo / AUTOSAR Adaptive / OPC UA Robotics by switching URML's substrate adapter, without retraining.
This is proposal-only. No bridge code yet, since the Outputs-class-vs-wrapper question and the upstream-vs-standalone packaging question are worth your input first.
Full RFC with proposed package layout, primitive-to-action mapping, drawbacks, and alternatives:
https://github.com/URML-MARS/URML/blob/main/docs/rfcs/0045-physical-intelligence-openpi.md
Feedback we'd value
URMLOutputs(mirroringLiberoOutputs) the right hook, or would Pi prefer a wrapper aroundpolicy_config.create_trained_policy(...)that interceptsinfer(...)?Physical-Intelligence/openpias a referenceURMLOutputs, or a standalone third-party PyPI package (urml-openpi-bridge)?move_tocollapsing rule assumes contiguous joint-target or end-effector-pose tokens. Safe across π₀, π₀-FAST, π₀.₅?Thanks for openpi and for the open-research posture. The Inputs / Outputs pattern made this proposal a lot easier to ground.
Ido Yahalomi (URML maintainer, urml.dev)
Beta Was this translation helpful? Give feedback.
All reactions