mirror of
https://github.com/deepmodeling/Uni-Lab-OS
synced 2026-04-04 19:53:09 +00:00
完成物料位置标定
This commit is contained in:
@@ -1651,7 +1651,7 @@ class LiquidHandlerAbstract(LiquidHandlerMiddleware):
|
||||
tip = []
|
||||
if pick_up:
|
||||
tip.append(self._get_next_tip())
|
||||
await self.pick_up_tips(tip)
|
||||
await self.pick_up_tips(tip,use_channels=use_channels)
|
||||
blow_out_air_volume_before_vol = 0.0
|
||||
if blow_out_air_volume_before is not None and len(blow_out_air_volume_before) > 0:
|
||||
blow_out_air_volume_before_vol = float(blow_out_air_volume_before[0] or 0.0)
|
||||
|
||||
@@ -781,9 +781,9 @@ class PRCXI9300Handler(LiquidHandlerAbstract):
|
||||
rail_interval=0,
|
||||
x_increase = -0.003636,
|
||||
y_increase = -0.003636,
|
||||
x_offset = 9.2,
|
||||
y_offset = -27.98,
|
||||
deck_z = 300,
|
||||
x_offset = -1.8,
|
||||
y_offset = -37.48,
|
||||
deck_z = 309.5,
|
||||
deck_y = 400,
|
||||
rail_width=27.5,
|
||||
xy_coupling = -0.0045,
|
||||
@@ -798,7 +798,7 @@ class PRCXI9300Handler(LiquidHandlerAbstract):
|
||||
self.y_offset = y_offset
|
||||
self.xy_coupling = xy_coupling
|
||||
self.left_2_claw = Coordinate(-130.2, 34, -134)
|
||||
self.right_2_left = Coordinate(22,-1, 8)
|
||||
self.right_2_left = Coordinate(22,-1, 11)
|
||||
plate_positions = []
|
||||
|
||||
tablets_info = []
|
||||
@@ -930,7 +930,7 @@ class PRCXI9300Handler(LiquidHandlerAbstract):
|
||||
matrix_id = str(uuid.uuid4())
|
||||
matrix_info = {
|
||||
"MatrixId": matrix_id,
|
||||
"MatrixName": matrix_id,
|
||||
"MatrixName": "matrix_" + str(time.time()),
|
||||
"WorkTablets": work_tablets +
|
||||
[{"Number": number, "Material": {"uuid": "730067cf07ae43849ddf4034299030e9"}} for number in slot_none],
|
||||
}
|
||||
@@ -1152,6 +1152,12 @@ class PRCXI9300Handler(LiquidHandlerAbstract):
|
||||
self._first_transfer_done = True
|
||||
if self.step_mode:
|
||||
await self.create_protocol(f"transfer_liquid{time.time()}")
|
||||
|
||||
_asp_list = asp_vols if isinstance(asp_vols, list) else [asp_vols]
|
||||
_dis_list = dis_vols if isinstance(dis_vols, list) else [dis_vols]
|
||||
if all(v <= 10.0 for v in _asp_list) and all(v <= 10.0 for v in _dis_list):
|
||||
use_channels = [1]
|
||||
|
||||
res = await super().transfer_liquid(
|
||||
sources,
|
||||
targets,
|
||||
|
||||
Reference in New Issue
Block a user