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)#
- class isaaclab.utils.leapp.LeappTensorSemantics[source]#
Bases:
objectSemantic metadata attached directly to a raw tensor-producing function.
Methods:
- classmethod __new__(*args, **kwargs)#
- __init__(kind: Any = None, element_names: list[str] | list[list[str]] | None = None, element_names_resolver: Callable[[Any], list | None] | None = None, const: bool = False, axes: list[Axis | None] | None = None, axes_resolver: Callable[[Any, Any], list[Axis | None] | None] | None = None, is_setpoint: bool | None = None, reference: str | None = None, expressed_in: Any = None) None#