diff --git a/source/extensions/isaacsim.sensors.experimental.physics/python/impl/_sensor_base.py b/source/extensions/isaacsim.sensors.experimental.physics/python/impl/_sensor_base.py index eea5834ee5..49f90eb84e 100644 --- a/source/extensions/isaacsim.sensors.experimental.physics/python/impl/_sensor_base.py +++ b/source/extensions/isaacsim.sensors.experimental.physics/python/impl/_sensor_base.py @@ -33,7 +33,7 @@ from __future__ import annotations -from typing import Any +from typing import Any, Self import carb import numpy as np @@ -172,7 +172,7 @@ def _update_attributes(self, **kwargs: Any) -> None: """ @classmethod - def create(cls, path: str, **kwargs: Any) -> "_PhysicsSensorAuthoring": + def create(cls, path: str, **kwargs: Any) -> Self: """Create a new sensor at the specified path. Always creates a fresh prim, auto-numbering the path if it already