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,api): remove hardware import from simulate #17043

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

sfoster1
Copy link
Member

@sfoster1 sfoster1 commented Dec 5, 2024

opentrons_simulate was importing from opentrons_hardware via the hardware controller protocol interface, which was doing it to support sensor data queue spying.

Fixing this required a pretty big refactor to make the link between the controller and opentrons_hardware be a callback that could reformat data, so we can make versions of the relevant firmware binding types that are safe for reexport.

This work should be extended to the capacitive sensor queue at some point.

Closes RQA-3766

opentrons_simulate was importing from opentrons_hardware via the
hardware controller protocol interface, which was doing it to support
sensor data queue spying.

Fixing this required a pretty big refactor to make the link between the
controller and opentrons_hardware be a callback that could reformat
data, so we can make versions of the relevant firmware binding types
that are safe for reexport.

This work should be extended to the capacitive sensor queue at some point.

Closes RQA-3766
@sfoster1 sfoster1 requested a review from a team as a code owner December 5, 2024 15:34
Copy link
Contributor

@ryanthecoder ryanthecoder left a comment

Choose a reason for hiding this comment

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

Makes sense. LGTM

@sfoster1 sfoster1 merged commit 443e909 into edge Dec 5, 2024
28 checks passed
@sfoster1 sfoster1 deleted the fix-hardware-requirement branch December 5, 2024 18:02
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.

2 participants