fix: sharpa palm site orientation + IK cost sweep videos
Browse filesThe right_palm/left_palm sites in the sharpa hand were declared with
identity orientation (euler="0 0 0"), but the IK pipeline targets the
palm site's frame against the MANO wrist frame, which xhand handles by
rotating its palm site with quat="0 1 1 0" (= Rx(180°) * Rz(90°)).
Without that rotation the sharpa hand was facing the wrong way under
the IK target, so the solver hit ring/pinky PIP joint limits (clamped
at 100°) trying to compensate, producing the "stiff straight fingers"
look.
Add the same quat to sharpa right.xml + left.xml palm sites. After the
fix the achievable IK error is the same (~5mm) but ring/pinky PIP
angles fall back into the natural 30-70° grasping range instead of
saturating at 100°.
Also commits a sweep of IK cost configurations
(processed/oakinkv2/sharpa/right/pick_spoon_bowl/0/ik_sweep/) for
side-by-side inspection: combinations of wrist_pos_cost in {0.3, 2.0,
5.0, 10.0}, wrist_ori_cost in {0.3, 3.0, 5.0, 10.0, 20.0}, and
finger_pos_cost in {10.0, 30.0}.
- processed/oakink/assets/robots/sharpa/left.xml +1 -1
- processed/oakink/assets/robots/sharpa/right.xml +1 -1
- processed/oakinkv2/sharpa/right/pick_spoon_bowl/0/ik_sweep/visualization_ik_wp0.3_wo0.3_fp10.0.mp4 +3 -0
- processed/oakinkv2/sharpa/right/pick_spoon_bowl/0/ik_sweep/visualization_ik_wp0.3_wo3.0_fp10.0.mp4 +3 -0
- processed/oakinkv2/sharpa/right/pick_spoon_bowl/0/ik_sweep/visualization_ik_wp0.3_wo3.0_fp30.0.mp4 +3 -0
- processed/oakinkv2/sharpa/right/pick_spoon_bowl/0/ik_sweep/visualization_ik_wp10.0_wo20.0_fp10.0.mp4 +3 -0
- processed/oakinkv2/sharpa/right/pick_spoon_bowl/0/ik_sweep/visualization_ik_wp10.0_wo20.0_fp30.0.mp4 +3 -0
- processed/oakinkv2/sharpa/right/pick_spoon_bowl/0/ik_sweep/visualization_ik_wp2.0_wo5.0_fp10.0.mp4 +3 -0
- processed/oakinkv2/sharpa/right/pick_spoon_bowl/0/ik_sweep/visualization_ik_wp2.0_wo5.0_fp30.0.mp4 +3 -0
- processed/oakinkv2/sharpa/right/pick_spoon_bowl/0/ik_sweep/visualization_ik_wp5.0_wo10.0_fp10.0.mp4 +3 -0
- processed/oakinkv2/sharpa/right/pick_spoon_bowl/0/ik_sweep/visualization_ik_wp5.0_wo5.0_fp30.0.mp4 +3 -0
|
@@ -87,7 +87,7 @@
|
|
| 87 |
<geom name="collision_hand_left_palm_0" type="box" size="0.02 0.04 0.04" pos="0 0 0.05" group="3" rgba="0 1 0 1" />
|
| 88 |
|
| 89 |
<!-- Tracking site for palm (Z-axis forward, X-axis down) -->
|
| 90 |
-
<site name="left_palm" pos="0 0 0.05"
|
| 91 |
|
| 92 |
<!-- Thumb -->
|
| 93 |
<body name="left_thumb_CMC_VL" pos="0.01 -0.026 0.0214" quat="0.707105 0 0 -0.707108">
|
|
|
|
| 87 |
<geom name="collision_hand_left_palm_0" type="box" size="0.02 0.04 0.04" pos="0 0 0.05" group="3" rgba="0 1 0 1" />
|
| 88 |
|
| 89 |
<!-- Tracking site for palm (Z-axis forward, X-axis down) -->
|
| 90 |
+
<site name="left_palm" pos="0 0 0.05" quat="0 1 1 0" size="0.01" type="sphere" rgba="1 1 0 1" group="3" />
|
| 91 |
|
| 92 |
<!-- Thumb -->
|
| 93 |
<body name="left_thumb_CMC_VL" pos="0.01 -0.026 0.0214" quat="0.707105 0 0 -0.707108">
|
|
@@ -87,7 +87,7 @@
|
|
| 87 |
<geom name="collision_hand_right_palm_0" type="box" size="0.02 0.04 0.04" pos="0 0 0.05" group="3" rgba="0 1 0 1" />
|
| 88 |
|
| 89 |
<!-- Tracking site for palm (Z-axis forward, X-axis down) -->
|
| 90 |
-
<site name="right_palm" pos="0 0 0.05"
|
| 91 |
|
| 92 |
<!-- Thumb -->
|
| 93 |
<body name="right_thumb_CMC_VL" pos="0.01 0.026 0.0214" quat="-2.59734e-06 0.707105 0.707108 -2.59735e-06">
|
|
|
|
| 87 |
<geom name="collision_hand_right_palm_0" type="box" size="0.02 0.04 0.04" pos="0 0 0.05" group="3" rgba="0 1 0 1" />
|
| 88 |
|
| 89 |
<!-- Tracking site for palm (Z-axis forward, X-axis down) -->
|
| 90 |
+
<site name="right_palm" pos="0 0 0.05" quat="0 1 1 0" size="0.01" type="sphere" rgba="1 1 0 1" group="3" />
|
| 91 |
|
| 92 |
<!-- Thumb -->
|
| 93 |
<body name="right_thumb_CMC_VL" pos="0.01 0.026 0.0214" quat="-2.59734e-06 0.707105 0.707108 -2.59735e-06">
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:addf5bce3cbde69bbb4fc2f21f53cf927a099108f22c326afd9a74d9d2d156f1
|
| 3 |
+
size 170365
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4f5273f8085ca1056d6637e49a675655f23ed7914287935e88d1ded8cb4bd5f
|
| 3 |
+
size 171001
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05c3ef30a23b20db9ee192de5c9800ef1ea962e608b20bf73d17b28da61c22e6
|
| 3 |
+
size 170727
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af6129f7b54c99d95e41352851c41466118dd499d1eca2921a69157ff5acd03b
|
| 3 |
+
size 154759
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec163e86bbddbc630308b396d8a732ad3dca6b04ec571813b7e25cc18917451a
|
| 3 |
+
size 162070
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6480692b883789aad7326e5ef50500005043d3db3ad9bf403e7df87c25ef0684
|
| 3 |
+
size 166013
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d4f125b36bae580463ceb9c315c74e738775e9e902e2e99cd9e379e562fc16d
|
| 3 |
+
size 168952
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9e53094e1b9b9a65aa71bd15d2e3b7ed2205a211b7b62739fcec01e97a91057
|
| 3 |
+
size 156093
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ebe32c60ce9af99fee96ec0a1eca86dc91eb7470ed8b9f7f6de301584d2981a
|
| 3 |
+
size 166738
|