Source code for embodichain.lab.sim.objects.backends.articulation_physics

# ----------------------------------------------------------------------------
# Copyright (c) 2021-2026 DexForce Technology Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ----------------------------------------------------------------------------
"""Backend-specific articulation link property accessors."""

from __future__ import annotations

from typing import Any

import numpy as np

from embodichain.lab.sim._inertia import _principal_inertia_matrix
from embodichain.utils.math import quat_wxyz_to_xyzw

__all__ = [
    "apply_link_com_pose",
    "apply_link_inertia",
    "apply_link_mass",
    "get_link_properties",
    "set_link_physical_attr",
]