diff --git a/source/isaaclab_ov/changelog.d/mataylor-ovrtx-suppress-deprecation-logs.rst b/source/isaaclab_ov/changelog.d/mataylor-ovrtx-suppress-deprecation-logs.rst new file mode 100644 index 000000000000..32c32413d893 --- /dev/null +++ b/source/isaaclab_ov/changelog.d/mataylor-ovrtx-suppress-deprecation-logs.rst @@ -0,0 +1,7 @@ +Changed +^^^^^^^ + +* Changed :class:`~isaaclab_ov.renderers.OVRTXRenderer` to suppress the OVRTX deprecation warnings + emitted for the legacy stage API. Isaac Lab still drives that API until the ovstage path becomes + the default, so the warnings were noise no user of this renderer could act on. The option is set + only when the installed OVRTX build exposes it, so older wheels are unaffected. diff --git a/source/isaaclab_ov/isaaclab_ov/renderers/ovrtx_renderer.py b/source/isaaclab_ov/isaaclab_ov/renderers/ovrtx_renderer.py index 86f8d5a84913..1773ce294bc6 100644 --- a/source/isaaclab_ov/isaaclab_ov/renderers/ovrtx_renderer.py +++ b/source/isaaclab_ov/isaaclab_ov/renderers/ovrtx_renderer.py @@ -351,6 +351,14 @@ def __init__(self, cfg: OVRTXRendererCfg): read_gpu_transforms=_read_gpu_transforms_enabled(), keep_system_alive=True, ) + # Isaac Lab still drives ovrtx's legacy stage API until the ovstage path is the default, so + # its deprecation warnings are noise no user of this renderer can act on. Set after + # construction because ``RendererConfig`` is a plain dataclass and wheels predating the + # option would reject it as an unexpected keyword argument. + # TODO: Remove this once the ovstage path is the default and the legacy stage API is removed. + if hasattr(OVRTX_CONFIG, "suppress_deprecation_warnings"): + OVRTX_CONFIG.suppress_deprecation_warnings = True + self._renderer = Renderer(OVRTX_CONFIG) if not self._renderer: raise RuntimeError(