Wave swings back to back, gentler joint acceleration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
The arm goes up along the pose graph (manipulation/arm_route.py: from `look` to `wave_out`, the hand away from the
|
||||
head, then `wave_start`, the hand above the head), swings between the taught poses `wave_start` and `wave` (J3 −14.7°)
|
||||
SWINGS times and STAYS at `wave_start`: the next arm task takes it back down the same way (wave_start -> wave_out
|
||||
-> look). The way up goes like arm_route.goto, then the swings; each move to a stop (motion.move_path). Before
|
||||
-> look). The way up goes like arm_route.goto, each move to a stop; the swings run back to back. Before
|
||||
anything moves, every joint move is checked (arm_route.check_moves: limits, travel, the gripper clear of the head, no
|
||||
dip). Refused, with the reason in English and Korean: the arm off or busy, the base driving, a task
|
||||
running, something in the hand, the arm at no known pose (after free drive), a pose not taught, a move too near the
|
||||
@@ -100,7 +100,7 @@ def wave(on_start=None):
|
||||
if route and motion._stopped.wait(motion.SETTLE_S): # stand at START first, as between any two moves
|
||||
raise motion.MotionError("stopped")
|
||||
t0 = time.time()
|
||||
motion.move_path([(t, SWING_SPEED) for t in swings])
|
||||
motion.move_path([(t, SWING_SPEED) for t in swings], queued=True) # back to back, no stop between swings
|
||||
log(f"wave: {SWINGS} swings after {time.time() - t0:.1f} s")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user