mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-05 14:05:12 +00:00
Update for prcxi
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -243,3 +243,4 @@ unilabos/device_mesh/view_robot.rviz
|
|||||||
local_test2.py
|
local_test2.py
|
||||||
ros-humble-unilabos-msgs-0.9.13-h6403a04_5.tar.bz2
|
ros-humble-unilabos-msgs-0.9.13-h6403a04_5.tar.bz2
|
||||||
*.bz2
|
*.bz2
|
||||||
|
test_config.py
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -430,7 +430,7 @@ class PRCXI9300Backend(LiquidHandlerBackend):
|
|||||||
|
|
||||||
async def pick_up_tips(self, ops: List[Pickup], use_channels: List[int] = None):
|
async def pick_up_tips(self, ops: List[Pickup], use_channels: List[int] = None):
|
||||||
"""Pick up tips from the specified resource."""
|
"""Pick up tips from the specified resource."""
|
||||||
|
print('where?'*200)
|
||||||
plate_indexes = []
|
plate_indexes = []
|
||||||
for op in ops:
|
for op in ops:
|
||||||
plate = op.resource.parent
|
plate = op.resource.parent
|
||||||
@@ -1075,14 +1075,20 @@ if __name__ == "__main__":
|
|||||||
# from pylabrobot.resources import set_tip_tracking
|
# from pylabrobot.resources import set_tip_tracking
|
||||||
set_volume_tracking(enabled=True)
|
set_volume_tracking(enabled=True)
|
||||||
from unilabos.resources.graphio import *
|
from unilabos.resources.graphio import *
|
||||||
|
A = tree_to_list([resource_plr_to_ulab(deck)])
|
||||||
|
with open("deck.json", "w", encoding="utf-8") as f:
|
||||||
|
json.dump(A, f, indent=4, ensure_ascii=False)
|
||||||
asyncio.run(handler.create_protocol(protocol_name="Test Protocol")) # Initialize the backend and setup the connection
|
asyncio.run(handler.create_protocol(protocol_name="Test Protocol")) # Initialize the backend and setup the connection
|
||||||
# asyncio.run(handler.pick_up_tips(plate1.children[:8],[0,1,2,3,4,5,6,7]))
|
|
||||||
|
|
||||||
# asyncio.run(handler.aspirate(plate2.children[:8],[50]*8, [0,1,2,3,4,5,6,7]))
|
asyncio.run(handler.pick_up_tips(plate1.children[:8],[0,1,2,3,4,5,6,7]))
|
||||||
# asyncio.run(handler.dispense(plate5.children[:8],[50]*8,[0,1,2,3,4,5,6,7]))
|
print(plate1.children[:8])
|
||||||
|
asyncio.run(handler.aspirate(plate2.children[:8],[50]*8, [0,1,2,3,4,5,6,7]))
|
||||||
|
print(plate2.children[:8])
|
||||||
|
asyncio.run(handler.dispense(plate5.children[:8],[50]*8,[0,1,2,3,4,5,6,7]))
|
||||||
|
print(plate5.children[:8])
|
||||||
|
|
||||||
# # # asyncio.run(handler.drop_tips(tip_rack.children[8:16],[0,1,2,3,4,5,6,7]))
|
# # # asyncio.run(handler.drop_tips(tip_rack.children[8:16],[0,1,2,3,4,5,6,7]))
|
||||||
# asyncio.run(handler.discard_tips())
|
asyncio.run(handler.discard_tips())
|
||||||
|
|
||||||
# asyncio.run(handler.mix(well_containers.children[:8
|
# asyncio.run(handler.mix(well_containers.children[:8
|
||||||
# ], mix_time=3, mix_vol=50, height_to_bottom=0.5, offsets=Coordinate(0, 0, 0), mix_rate=100))
|
# ], mix_time=3, mix_vol=50, height_to_bottom=0.5, offsets=Coordinate(0, 0, 0), mix_rate=100))
|
||||||
|
|||||||
Reference in New Issue
Block a user