Skip to content

Commit 4c7f7c0

Browse files
committed
get fast home offsets
1 parent afc357e commit 4c7f7c0

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

api/src/opentrons/hardware_control/modules/flex_stacker.py

+13-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import asyncio
44
import logging
5-
from typing import Dict, Optional, Mapping
5+
from typing import Dict, Optional, Mapping, Literal
66

77
from opentrons.drivers.flex_stacker.types import (
88
Direction,
@@ -49,7 +49,18 @@
4949
MAX_TRAVEL = {
5050
StackerAxis.X: 194.0,
5151
StackerAxis.Z: 139.5,
52-
StackerAxis.L: 23.0,
52+
StackerAxis.L: 22.0,
53+
}
54+
55+
FAST_HOME_OFFSETS = {
56+
StackerAxis.X: {
57+
Direction.EXTEND: 5.0,
58+
Direction.RETRACT: 5.0,
59+
},
60+
StackerAxis.Z: {
61+
Direction.EXTEND: 5.0,
62+
Direction.RETRACT: 8.0,
63+
},
5364
}
5465

5566
# The offset in mm to subtract from MAX_TRAVEL when moving an axis before we home.

0 commit comments

Comments
 (0)