# Copyright (c) 2025, Kousheek Chakraborty # All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # # This project uses the IsaacLab framework (https://github.com/isaac-sim/IsaacLab), # which is licensed under the BSD-3-Clause License. """Lazy accessors for quadrotor asset configs to avoid heavy deps at import time.""" from __future__ import annotations from importlib import import_module from typing import Any __all__ = ["FIVE_INCH_DRONE_CFG", "AERIAL_MANIPULATOR_CFG"] def __getattr__(name: str) -> Any: if name == "FIVE_INCH_DRONE_CFG": module = import_module(".five_inch_drone.five_inch_drone_cfg", __name__) cfg = module.FIVE_INCH_DRONE_CFG globals()[name] = cfg return cfg if name == "AERIAL_MANIPULATOR_CFG": module = import_module(".aerial_manipulator.aerial_manipulator_cfg", __name__) cfg = module.AERIAL_MANIPULATOR_CFG globals()[name] = cfg return cfg raise AttributeError(f"module {__name__!r} has no attribute {name!r}")