| |
| |
| |
| |
|
|
| """Configuration for the I2RT YAM arm. |
| |
| I2RT publishes YAM as a single fixed-base 6-DoF arm with a two-finger linear |
| gripper. The URDF (and its mesh assets) is bundled under |
| ``custom_assets/robots/yam`` and imported directly via Isaac Lab's URDF |
| converter. |
| |
| The following configuration parameters are available: |
| |
| * :obj:`YAM_CFG`: The I2RT YAM 6-DoF arm with a parallel-jaw gripper. |
| |
| Reference: https://github.com/i2rt-robotics/i2rt |
| """ |
|
|
| import os |
|
|
| import isaaclab.sim as sim_utils |
| from isaaclab.actuators import ImplicitActuatorCfg |
| from isaaclab.assets.articulation import ArticulationCfg |
|
|
| CUSTOM_ASSETS_DIR = os.path.join(os.path.dirname(__file__), "..", "..", "..", "..", "..", "custom_assets") |
|
|
| |
| |
| |
|
|
| ASSET_URL = "https://github.com/ARISE-Initiative/yamlab/raw/refs/heads/main/yamlab/robot/yam/arm/yam.usd" |
|
|
| GRIPPER_OPEN = -0.04695 |
| """The upstream prismatic gripper joints are -46.95 mm open and 0 mm closed.""" |
|
|
|
|
| YAM_CFG = ArticulationCfg( |
| spawn=sim_utils.UsdFileCfg( |
| usd_path=ASSET_URL, |
| activate_contact_sensors=True, |
| rigid_props=sim_utils.RigidBodyPropertiesCfg( |
| disable_gravity=True, |
| max_depenetration_velocity=5.0, |
| ), |
| articulation_props=sim_utils.ArticulationRootPropertiesCfg( |
| enabled_self_collisions=False, |
| solver_position_iteration_count=32, |
| solver_velocity_iteration_count=0, |
| ), |
| ), |
| init_state=ArticulationCfg.InitialStateCfg( |
| |
| |
| |
| joint_pos={ |
| "joint1": -0.017453, |
| "joint2": 1.640610, |
| "joint3": 1.483530, |
| "joint4": -1.466077, |
| "joint5": -0.087266, |
| "joint6": 0.0, |
| "left_finger": GRIPPER_OPEN, |
| "right_finger": GRIPPER_OPEN, |
| }, |
| ), |
| soft_joint_pos_limit_factor=1.0, |
| actuators={ |
| |
| |
| |
| |
| |
| |
| |
| "arm": ImplicitActuatorCfg( |
| joint_names_expr=[f"joint{i}" for i in range(1, 7)], |
| effort_limit_sim=20.0, |
| velocity_limit_sim=2.0, |
| stiffness=120.0, |
| damping=12.0, |
| ), |
| "gripper": ImplicitActuatorCfg( |
| joint_names_expr=["left_finger", "right_finger"], |
| |
| |
| |
| |
| |
| effort_limit_sim=float(os.environ.get("YAM_GRIP_EFFORT", 75.0)), |
| velocity_limit_sim=1.0, |
| stiffness=0.0, |
| damping=float(os.environ.get("YAM_GRIP_DAMPING", 85.0)), |
| ), |
| }, |
| ) |
| """Configuration of the I2RT YAM 6-DoF arm with a parallel-jaw gripper.""" |
|
|