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

fix(hardware): add hepa uv to tool detector #15001

Merged
merged 4 commits into from
May 22, 2024
Merged

Conversation

caila-marashaj
Copy link
Contributor

@caila-marashaj caila-marashaj commented Apr 24, 2024

Right now, the hepa/uv device is sending responses after an InstrumentInfoRequest, but the tool detector code isn't set up to parse these messages, meaning that the queue doesn't get properly emptied, and the instrument info responses keep coming in

Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, but maybe use kw args

pipette_name.name,
f"dummyserial{pipette_name.name}",
pipette_name,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oof. can we change this to use kwargs like pipette_name= instead of positional?

@caila-marashaj caila-marashaj force-pushed the parse-hepa-uv-response branch from 9844eea to 270989b Compare May 22, 2024 14:51
@caila-marashaj caila-marashaj marked this pull request as ready for review May 22, 2024 18:20
@caila-marashaj caila-marashaj requested a review from a team as a code owner May 22, 2024 18:20
Copy link
Contributor

@vegano1 vegano1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good on my end,

I just tested this on Flexen and the HepaUVInfoResponse is being handled correctly.
I checked the robot server GET /instruments routes and we are NOT exposing the Hepa/UV as expected.

Thank you!

@caila-marashaj caila-marashaj merged commit 4ee432c into edge May 22, 2024
20 checks passed
@caila-marashaj caila-marashaj deleted the parse-hepa-uv-response branch May 22, 2024 19:30
@caila-marashaj caila-marashaj changed the title feat(hardware): add hepa uv to tool detector fix(hardware): add hepa uv to tool detector May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants