isaaclab.utils.leapp#
Sub-module for LEAPP export annotation and proxy-based policy tracing.
Classes#
The following classes are part of the public isaaclab.utils.leapp API.
Unified patcher that annotates observation inputs and action outputs for LEAPP export. |
|
Semantic metadata attached directly to a raw tensor-producing function. |
- class isaaclab.utils.leapp.ExportPatcher[source]#
Bases:
objectUnified patcher that annotates observation inputs and action outputs for LEAPP export.
Observation-side property semantics are resolved lazily inside
_DataProxyby combining:the concrete runtime getter from the backend data class
the nearest
_leapp_semanticsmetadata found while walking the MRO
This lets backends override property implementations without duplicating decorators from the abstract API.
The observation proxy chain (
_EnvProxy→_SceneProxy→_EntityProxy→_DataProxy) for state reads by observation term functions.The
_ArticulationWriteProxyon each action term, which intercepts target writes and routes.datareads through the same_DataProxy/ cache.
Methods:
__init__(export_method[, required_obs_groups])Initialize the export patcher.
__new__(*args, **kwargs)- __init__(export_method: str, required_obs_groups: set[str] | None = None)[source]#
Initialize the export patcher.
- classmethod __new__(*args, **kwargs)#