Gripping simulation for a robotic hand #4962
Replies: 2 comments 6 replies
-
Hello ! First of all, I wasn't able to run your simulation because I don't have the meshes. I'll try to answer you question with what I see in the scripts.
I hope that I've answered your questions ! |
Beta Was this translation helpful? Give feedback.
-
Hello ! he fact that the cube makes the QP infeasible means that you are overconstraining your problem. It comes back to my first point:
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm working on a project with SOFA which consists in grasping an object with a robotic hand by following specific constraints.
For this project, I'm experiencing some difficulties and would like your help.
Sliding cube
My first concern is the process of grasping a cube with two fingers of the robotic hand. The two fingers are able to move to a specific location thanks to
InverseSolver
and thePositionEffector
.From here, my goal is to move the thumb to the left and index finger to the right side of the cube.
However, when I try to bring a finger close to the cube, without making contact, the cube starts to slide. I checked the collision mesh of each element and the finger doesn't get close enough to the cube to move it. To simplify the case, I only used the index finger.
Finger orientation
My second concern is how to orient a finger along the z axis of the
PositionEffector
.I've tried orienting it with
useDirections
fromPositionEffector
, but the finger keeps moving around each axis.Is there any method to achieve this positioning?
Inverse Solver
My final concern is with the Inverse Solver.
I've set a limit angle for each joint to avoid unwanted movement, however, I'd like to know if it's possible to apply a ratio to balance the rotation around each joint to avoid a right angle between the metacarpal and the proximal phalanx (image: sliding cube).
Thank you in advance for your help.
PS: You can find my code here
Beta Was this translation helpful? Give feedback.
All reactions