Wave along the taught poses: look, wave_out, wave_start, three swings to wave

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-21 17:34:00 +09:00
co-authored by Claude Opus 5.5
parent a50fdc9c0d
commit 19325ee3b6
5 changed files with 85 additions and 43 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
"""The arm moves between named poses only along a graph of taught poses, every joint move checked before anything
moves.
give - carry - look - wave_start - wave
give - carry - look - wave_out - wave_start - wave
| \\
ready tuck
@@ -31,8 +31,8 @@ from robot import arm, gripper, motion
from vision import calib, head_cam
HOME = "look" # every arm action starts here
EDGES = (("give", "carry"), ("carry", "look"), ("look", "wave_start"), ("wave_start", "wave"),
("look", "ready"), ("look", "tuck")) # the only joint moves between named poses (both ways)
EDGES = (("give", "carry"), ("carry", "look"), ("look", "wave_out"), ("wave_out", "wave_start"),
("wave_start", "wave"), ("look", "ready"), ("look", "tuck")) # the only joint moves between named poses (both ways)
SPEED = "slow" # motion.JOINT_SPEED of every move along the graph
AT_POSE_DEG = 3.0 # deg; the arm is at a pose when every joint is this close (where, programs)
EXACT_DEG = 1.0 # deg; further than this from the nearest pose a route first goes to it