Auto-select gripper state from z coordinate in pose mode

- Add resolve_gripper_from_z(): z>=55 → down (open), z<55 → up (closed),
  overlap range prefers down
- Remove --up flag from pose subparser (fully auto-detected from --z)
- joints mode retains manual --up flag
- Update cached state to match latest run
This commit is contained in:
2026-06-15 21:51:10 +08:00
parent 7accfc617e
commit 9c4f48a225
2 changed files with 18 additions and 8 deletions

View File

@@ -1,8 +1,8 @@
{
"height": -290,
"j2": -66,
"j3": 145,
"j4": -44,
"j5": -100,
"height": 0,
"j2": -90,
"j3": 140,
"j4": 25,
"j5": 81,
"j6": 0
}