Skip to content

Commit cf0bf66

Browse files
author
andy
committed
z-stage leveling init
1 parent eee3983 commit cf0bf66

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from ot3_testing.ot_type import Mount, Point
2+
3+
4+
ZStagePoint = {
5+
6+
Mount.LEFT: {
7+
"C2": { "point": Point(214, 210, 318), "compensation": {}}
8+
9+
},
10+
Mount.RIGHT: {
11+
"C2": Point(214, 210, 318)
12+
}
13+
}

ot3_testing/tests/zstage_leveling.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
from ot3_testing.tests.base_init import TestBase
2+
from ot3_testing.ot_type import Mount, Point
3+
from devices.amsamotion_sensor import LaserSensor
4+
5+
6+
class ZStageLeveling(TestBase):
7+
def __init__(self):
8+
super(ZStageLeveling).__init__()
9+
self.mount = Mount.LEFT
10+
self.laser_sensor = None
11+
12+
def init_laser_sensor(self, send=False):
13+
"""
14+
init 96ch device
15+
:return:
16+
"""
17+
self.laser_sensor = LaserSensor(send=send)
18+
19+
async def move_to_test_point(self, p: Point):
20+
"""
21+
move to the test position
22+
:param p:
23+
:return:
24+
"""
25+
await self.api.move_to(self.mount, p, target="pipette", )
26+
27+

0 commit comments

Comments
 (0)