Question about object slippage during grasping when using differential IK #2318
Replies: 2 comments
-
This WAI and has been asked before. tl;dr, you cannot get perfect tracking when using position actuators, unless you add gravity compensation. Don't set |
Beta Was this translation helpful? Give feedback.
0 replies
-
Make sense. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Intro
Hi!
I am an AI engineer interested in embodied AI and robotics , I use MuJoCo for my research on learning about AI and robotics.
My setup
I use MuJoCo 3.2.6 with Python 3.11.3
My question
I have a question regarding differential IK in MuJoCo. I've noticed an issue when performing iterative steps to compute joint velocities.
qpos
and callforward
, the end-effector perfectly tracks the target mocap body. However, when attempting to grasp a cube, the object slips from the fingers.qpos
andforward
, the end-effector does not track the target mocap body accurately, but it grasps the cube successfully without slippage.Here is the code snippet that causes the issue:
Full code and models can be found here : https://github.com/s1lent4gnt/mjctrl/blob/lilkm/playground/diffik_nullspace_koch.py
Here are videos showcasing both scenarios for reference.
With qpos update:
slippage_with_qpos_update_trim_2.mp4
Without qpos update:
no_slippage_without_qpos_update_trim.mp4
My question is whether the method I'm using to update qpos and call forward is incorrect, or if this might be a MuJoCo-specific issue?
Thank you for your help!
Minimal model and/or code that explain my question
No response
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions