librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Proposal: URML (substrate-neutral robot intent) capability-manifest mapping for librealsense (D400 / D500 / L515)

Open idoco2003 opened this issue 6 months ago • 6 comments

Hi @IntelRealSense team,

Proposing a URML v0.1 capability-manifest mapping for the Intel RealSense D400 / D500 / L515 family over librealsense2. URML (Universal Robot Language, Apache-2.0) is an open spec for substrate-neutral robot intent: a typed primitive vocabulary plus a Layer-1 capability manifest and a validator that gates programs against the manifest before any actuator publishes.

URML's perception story benefits from RealSense as the canonical depth-camera lineage. RealSense is also the strongest single example of a v0.1 schema gap URML's outreach has exposed: per-point color + per-point attributes on point clouds are first-class on RealSense (RGB-D + IMU + depth-confidence per pixel) but not yet first-class in URML's manifest (RFC-0039 introduced point_cloud as a scalar measurement_type without color/intensity sub-fields).

This is proposal-only, posted as part of URML's Move #10 outreach (perception-vendor wave, 29 engageable RFCs). No adapter in URML's repo yet; an adapter would ship engagement-driven.

Full RFC, with the manifest mapping table, v0.1 gaps, three alternatives considered, and detection-capability declaration as Q6: https://github.com/URML-MARS/URML/blob/main/docs/rfcs/0109-intel-realsense-outreach.md

Questions worth librealsense maintainer input on:

  1. Color + per-point attributes on point clouds. Spec RFC queued; what manifest fields would a RealSense deployment expect (color, intensity, depth-confidence, IMU-timestamp)?
  2. Object-detection capability declaration. RealSense modules ship with several depth-derived detection modes (face, object, gesture). Should URML's manifest declare supported detection classes so query_detection validates against actual capability?
  3. Adapter home. URML repo (reference/perception-runtime/), Intel-maintained IntelRealSense/realsense-urml, or both?
  4. Conformance listing. Would Intel consider a README link to URML's compatible-runtimes registry once a working adapter ships?
  5. Anything else.

Happy to discuss any of these here, or via a different surface if you'd prefer.

Ido Yahalomi (URML maintainer, urml.dev, [email protected])


Authoring disclosure: URML is the invention of Ido Yahalomi. The outreach prose is AI-assisted (Claude, under the maintainer's review). See VIBE.md. The maintainer reads and approves every post before it ships. Reviewers who prefer human-only correspondence are welcome to say so.

idoco2003 avatar May 28 '26 06:05 idoco2003

Hi @idoco2003 Thanks so much for your detailed proposal.

I would first clarify that RealSense is no longer part of Intel. It became its own independent company, RealSense Inc, on July 11 2025. Also, the L515 camera model is now retired and has not been supported by librealsense since version 2.52.1.

RealSense does not ship with in-built support for depth-derived detection modes such as face, object and gesture. It is possible to add such modes with third-party software or - in the case of face detection - using the RealSense ID face authentication camera hardware and SDK.

Once a URML adaptor has been developed then you would be welcome to submit it as a Pull Request (PR) for review by the RealSense team.

https://github.com/realsenseai/librealsense/pulls

Regarding your question about pointclouds, RealSense only requires depth and color information for its pointclouds.

Regarding a possible location within librealsense for your adapter to be located, the Third Party folder may be a natural fit. I am not involved in RealSense development or README documentation decisions though.

https://github.com/realsenseai/librealsense/tree/master/third-party

MartyG-RealSense avatar May 28 '26 07:05 MartyG-RealSense

Thank you, @MartyG-RealSense. Your six answers materially correct URML's draft on three fronts that would otherwise have shipped wrong. Pulling each through:

  1. RealSense Inc. is independent of Intel since 2025-07-11. URML's RFC-0109 and the outreach ledger drafted RealSense as part of Intel ("Intel-RealSense"); that's stale. Action: the next RFC-0109 revision corrects the naming to RealSenseAI Inc. throughout, including the manifest brand identifier.

  2. L515 is retired and unsupported in librealsense since 2.52.1. URML proposed targeting D400 / D500 / L515. Action: L515 dropped from URML's scope; targeted models are D400 + D500 only.

  3. RealSense does not ship in-built face / object / gesture detection. URML's proposal listed those as in-SDK modes; that's wrong. Action: the manifest stops declaring them as in-built. For face authentication URML will reference RealSense ID as a separate product. Object / gesture detection is third-party software territory and lives outside the URML adapter's responsibility.

  4. Pointclouds need only depth + color. Internalized; no change needed on URML's side beyond removing a stale claim about IMU-fusion being required for pointclouds.

  5. Adapter-home suggestion: librealsense's third-party/ folder. Noted, with your caveat that you are not involved in development or README decisions. URML's working assumption (before this thread) was that the adapter lives in the URML repository and cross-cites librealsense. Both options are open from URML's side; the placement is a question for whichever RealSenseAI maintainer owns the development direction.

  6. PR invitation. Acknowledged. URML's pattern with adapters is: ship a scaffold inside URML against a fake-SDK injection, then real-pyrealsense2 validation on hardware before any upstream PR ask. That sequencing means no PR landing on librealsense in the immediate term; URML will return with one only once it has end-to-end-on-real-hardware evidence.

URML's outreach ledger entry for RealSenseAI is updated to record this round as substantive engagement, with corrections 1-3 above as the binding ones (those land in the next RFC-0109 revision regardless of whether the conversation continues here).

If there is a more appropriate person on the RealSenseAI development side to redirect this to, please point. Otherwise: thank you for the fast, substantive read.

Ido Yahalomi (URML maintainer, urml.dev, [email protected])


Authoring disclosure: URML is the invention of Ido Yahalomi. The outreach prose is AI-assisted (Claude, under the maintainer's review). See VIBE.md. The maintainer reads and approves every post before it ships. Reviewers who prefer human-only correspondence are welcome to say so.

idoco2003 avatar May 28 '26 09:05 idoco2003

You are very welcome!

Once the adaptor is submitted to RealSense as a Pull Request, a member of the development team would be assigned as a reviewer to it and provide advice if changes are required before a decision is made regarding whether to merge it into the librealsense SDK.

I would add that submitting a Pull Request is completely optional. You can also maintain the adaptor on your own repository as a compatible but separate extension for librealsense.

MartyG-RealSense avatar May 28 '26 10:05 MartyG-RealSense

Hi @idoco2003 Do you require further assistance with this case, please? Thanks!

MartyG-RealSense avatar Jun 07 '26 11:06 MartyG-RealSense

Thanks @MartyG-RealSense, no further assistance needed — you covered everything.

Your corrections are already pulled into URML's plan: RealSenseAI's independence from Intel, L515 retired (scope is now D400 + D500), no in-SDK face/object/gesture detection (RealSense ID referenced for authentication instead). If a librealsense adapter materializes I'll follow the optional-PR path you described, or keep it as a separate compatible extension.

Good to close from my side. Appreciate the thorough help.

idoco2003 avatar Jun 08 '26 05:06 idoco2003

You are very welcome. It's great to hear that I was able to cover all of your questions. Thanks very much for the update!

MartyG-RealSense avatar Jun 08 '26 11:06 MartyG-RealSense