|
|
@@ -20,9 +20,11 @@ class LoaderSystem:
|
|
|
if not slot:
|
|
|
break
|
|
|
# Pick and place new cell
|
|
|
- await self.controller.pick_cell_from_feeder()
|
|
|
- cell_id = await self.controller.read_cell_id()
|
|
|
+ cell_id = await self.vision.read_datamatrix()
|
|
|
+ if not cell_id:
|
|
|
+ break
|
|
|
cell = Cell(cell_id)
|
|
|
+ await self.controller.pick_cell_from_feeder()
|
|
|
await self.controller.insert_cell_to_slot(cell, slot)
|
|
|
|
|
|
# Check for completed measurements
|