Repository navigation
How can I get the fingertip position of Robotiq 2F 140 gripper? #4652
Replies: 2 comments 1 reply
|
A link's pose in Isaac Lab is the pose of the link's own frame, and for URDF-derived grippers like the 2F-140 that frame sits at the link's joint, not at its geometry. The The usual way to get a tip point is a fixed offset from a finger body, and Isaac Lab's from isaaclab.sensors import FrameTransformerCfg
from isaaclab.sensors.frame_transformer.frame_transformer_cfg import OffsetCfg
self.scene.finger_frames = FrameTransformerCfg(
prim_path="{ENV_REGEX_NS}/Robot/base_link", # source frame, any robot body
debug_vis=True, # shows the frames so you can check the offset
target_frames=[
FrameTransformerCfg.FrameCfg(
prim_path="{ENV_REGEX_NS}/Robot/<path>/left_inner_finger_pad", # copy from the Stage tree
name="left_tip",
offset=OffsetCfg(pos=(0.0, 0.0, 0.0)), # tune until the marker sits on the tip
),
FrameTransformerCfg.FrameCfg(
prim_path="{ENV_REGEX_NS}/Robot/<path>/right_inner_finger_pad",
name="right_tip",
offset=OffsetCfg(pos=(0.0, 0.0, 0.0)),
),
],
)In the reward, To find the offset:
I don't have the exact 2F-140 offset numbers, so measure them as above rather than copying a value. If this solves it, please mark it as the answer so others with the same problem can find it. |
|
Hi @junshi356rl and @younghwan91, I'm currently using Robotiq 2F 140 gripper, but I couldn't find a correct usd file for it to use. If you don't mind, can you share the usd file with me? |
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
I am working on a reinforcement learning grasping task in Isaac Lab (running on Isaac Sim 5.1.0). The setup involves a UR10 arm equipped with a Robotiq 2F-140 gripper, using the default USD assets provided with Isaac Lab.
The Issue: I need the precise position of the gripper fingertips to design a reward function that encourages the fingers to approach the cube. However, I am encountering the following problems:
My Question: Could anyone suggest the correct method to query or calculate the center/tip position of the gripper fingertips for use in RL observations or rewards? Should I be computing the transform relative to a specific parent link, or is there a specific API call I am missing?
Thanks in advance for your help!
All reactions