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): Lld end z retract position bug #15960

Merged
merged 3 commits into from
Aug 12, 2024

Conversation

ryanthecoder
Copy link
Contributor

Overview

The Z is supposed to retract out to the liquid before sending over the buffered data, however a line from testing got merged in there and this wasn't happening. Also had to fixup the api side since it was calculating the liquid height based off where the machine position was after hardware control took over, now it actually uses the return value to that it returns, converts it to deck coordinates and applies the corresponding offsets.

Test Plan and Hands on Testing

Changelog

Review requests

Risk assessment

@ryanthecoder ryanthecoder requested review from a team as code owners August 9, 2024 21:12
@ryanthecoder ryanthecoder requested review from jerader and removed request for a team August 9, 2024 21:12
@ryanthecoder ryanthecoder force-pushed the lld-end-z-retract-position-bug branch from 2838283 to f4b0c4f Compare August 9, 2024 21:13
top_types.Point(*self._config.gripper_mount_offset),
)
cp = self.critical_point_for(mount, None)
return deck_end_z + offset[2] + cp.z
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: I think offset.z is a little clearer

Copy link
Contributor

@caila-marashaj caila-marashaj left a comment

Choose a reason for hiding this comment

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

Nice! LGTM

@ryanthecoder ryanthecoder merged commit 1124b3c into chore_release-8.0.0 Aug 12, 2024
22 checks passed
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