Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): add firmware update support to Plate Reader + fix connect/disconnect issues. #15890

Merged
merged 32 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
f694335
PLAT-397 add module lid definition
ahiuchingau Jul 10, 2024
ed13f7c
PLAT-398 add module lid dock addressable area
ahiuchingau Jul 10, 2024
957f246
squash! PLAT-397 add module lid definition
ahiuchingau Jul 10, 2024
6051392
fixup async byonoy library get_plate_presence()
ahiuchingau Jul 10, 2024
29d0418
PLAT-215 load lid in lid dock when module is loaded
ahiuchingau Jul 10, 2024
7935c4f
PLAT-209 & PLAT-210 add open_lid and close_lid protocol engine comman…
ahiuchingau Jul 10, 2024
d6200b6
some changes required to get the app working
ahiuchingau Jul 10, 2024
0e2b885
squash! PLAT-209 & PLAT-210 add open_lid and close_lid protocol engin…
ahiuchingau Jul 10, 2024
febc1d2
update absorbance module offset in definition
ahiuchingau Jul 10, 2024
d656112
add a protocol engine error
ahiuchingau Jul 10, 2024
262cdf2
error handling
ahiuchingau Jul 10, 2024
eb053b1
update setup-py
ahiuchingau Jul 10, 2024
fece1e7
format
ahiuchingau Jul 10, 2024
58ace2d
AddAbsorbanceReaderLidAction to add lid id as module substate
ahiuchingau Jul 10, 2024
cda987a
fix linter errors
ahiuchingau Jul 11, 2024
772d913
simplified protocol commmands
ahiuchingau Jul 12, 2024
6371d4d
streamline engine logic include plate reader lid as fixed labware and…
CaseyBatten Jul 24, 2024
f1ff265
labware fixture correction for app tests
CaseyBatten Jul 25, 2024
dbb5792
remove lid from app view
CaseyBatten Jul 25, 2024
051e1bd
Merge branch 'edge' into abs96_move-lid-command
CaseyBatten Jul 25, 2024
4ceef15
correct max api version
CaseyBatten Jul 25, 2024
93176e3
analysis validation fix accounting for reader lid as fixture
CaseyBatten Jul 25, 2024
dee2dc2
feat(api): add firmware updates support to Plate Reader + fix connect…
vegano1 Jul 26, 2024
ac36374
cleanup
vegano1 Aug 5, 2024
477d385
cleaning up
vegano1 Aug 6, 2024
cf0a67c
cast Version
vegano1 Aug 6, 2024
ed46e8f
add unit tests + fixes
vegano1 Aug 7, 2024
39338c2
revert debug change
vegano1 Aug 7, 2024
7250ed0
ci does not like this
vegano1 Aug 7, 2024
ab2d89a
Merge branch 'edge' into PLAT-382-add-plate-reader-fw-update
vegano1 Aug 9, 2024
cd1d9f5
remove unused import
vegano1 Aug 9, 2024
bb0c0ee
revert
vegano1 Aug 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion api/src/opentrons/drivers/absorbance_reader/abstract.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from abc import ABC, abstractmethod
from typing import Dict, List
from typing import Dict, List, Tuple
from opentrons.drivers.types import (
AbsorbanceReaderLidStatus,
AbsorbanceReaderDeviceState,
AbsorbanceReaderPlatePresence,
)


Expand Down Expand Up @@ -46,3 +47,18 @@ async def get_status(self) -> AbsorbanceReaderDeviceState:
async def get_device_info(self) -> Dict[str, str]:
"""Get device info"""
...

@abstractmethod
async def get_uptime(self) -> int:
"""Get device uptime"""
...

@abstractmethod
async def get_plate_presence(self) -> AbsorbanceReaderPlatePresence:
"""Check if there is a plate in the reader."""
...

@abstractmethod
async def update_firmware(self, firmware_file_path: str) -> Tuple[bool, str]:
"""Updates the firmware on the device."""
...
Loading
Loading