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(api): raise error if fast home is stalling #14609

Merged
merged 2 commits into from
Mar 8, 2024
Merged

Conversation

ahiuchingau
Copy link
Contributor

Overview

Closes RQA-2312

We previously swallowed collision errors during fast home move and proceeded to slow home because we used to not handle encoder overflow properly and would mistakenly raise. Now that we have fixed those encoder issues, we should actually raise the error when the motor stalls.

@ahiuchingau ahiuchingau requested a review from a team as a code owner March 7, 2024 22:40
Copy link

codecov bot commented Mar 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.50%. Comparing base (3821b0e) to head (86844a2).
Report is 2 commits behind head on edge.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             edge   #14609   +/-   ##
=======================================
  Coverage   67.50%   67.50%           
=======================================
  Files        2514     2514           
  Lines       72375    72375           
  Branches     9317     9317           
=======================================
  Hits        48856    48856           
  Misses      21314    21314           
  Partials     2205     2205           
Flag Coverage Δ
g-code-testing 92.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
api/src/opentrons/hardware_control/ot3api.py 79.62% <ø> (ø)

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.

Ooh, nice!

@ahiuchingau ahiuchingau merged commit 0b0f04c into edge Mar 8, 2024
22 checks passed
@ahiuchingau ahiuchingau deleted the fail-home_if-stalling branch March 8, 2024 18:24
y3rsh pushed a commit that referenced this pull request Mar 13, 2024
Closes RQA-2312

We previously swallowed collision errors during fast home move and
proceeded to slow home because we used to not handle encoder overflow
properly and would mistakenly raise. Now that we have fixed those
encoder issues, we should actually raise the error when the motor
stalls.
y3rsh pushed a commit that referenced this pull request Mar 13, 2024
Closes RQA-2312

We previously swallowed collision errors during fast home move and
proceeded to slow home because we used to not handle encoder overflow
properly and would mistakenly raise. Now that we have fixed those
encoder issues, we should actually raise the error when the motor
stalls.
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.

None yet

2 participants