# Copyright (c) 2022-2025, The Isaac Lab Project Developers.
# All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause

from dataclasses import MISSING

from isaaclab.utils import configclass


@configclass
class SurfaceGripperCfg:
    """Configuration parameters for a surface gripper actuator."""

    prim_expr: str = MISSING
    """The expression to find the grippers in the stage."""

    max_grip_distance: float | None = None
    """The maximum grip distance of the gripper."""

    coaxial_force_limit: float | None = None
    """The coaxial force limit of the gripper."""

    shear_force_limit: float | None = None
    """The shear force limit of the gripper."""

    retry_interval: float | None = None
    """The amount of time the gripper will spend trying to grasp an object."""
