18 lines
667 B
Python
18 lines
667 B
Python
"""Offline G20 pointing preshape; no hardware interface or execution approval."""
|
|
from g20_left_lookup import MOTOR_SLOT
|
|
from left_hand_fist_restore import validate, close_target, open_target
|
|
|
|
|
|
def pointing_target(original, lookup):
|
|
"""Index extended, other flexion joints curled; lateral bytes unchanged.
|
|
|
|
Uses the existing conservative close policy, not a forceful full fist.
|
|
Physical closure, inter-finger contact and clearance still require checking.
|
|
"""
|
|
validate(original)
|
|
target = close_target(original, lookup)
|
|
opened = open_target(original, lookup)
|
|
target[1][2] = opened[1][2]
|
|
target[1][5] = opened[1][5]
|
|
return target
|