Softer arrival at wave_start
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user