Softer arrival at wave_start

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-21 18:30:04 +09:00
co-authored by Claude Opus 5.5
parent 417bfcade7
commit c444d64306
2 changed files with 14 additions and 6 deletions
+4 -1
View File
@@ -96,7 +96,10 @@ a.j = list(LOOK)
wave.wave()
sent = [e for e in names if e[0] in ("joint_move", "get_data")]
route, swing_s = motion.JOINT_SPEED[arm_route.SPEED], motion.JOINT_SPEED[wave.SWING_SPEED]
assert sent == [("joint_move", route, False), ("get_data", None, False)] * 2 + \
arrive = motion.JOINT_SPEED[wave.ARRIVE_SPEED] # into wave_start softer than the route speed
assert arrive < route and wave.ARRIVE_SPEED == "normal"
assert sent == [("joint_move", route, False), ("get_data", None, False), ("joint_move", arrive, False),
("get_data", None, False)] + \
[("joint_move", swing_s, False)] * 2 * wave.SWINGS + [("get_data", None, False)], sent # swings back to back
assert wave.SWING_SPEED == "normal"
arm.cmd = a