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

RSDK-8838: Use SetRPM in gantry homing routine #4380

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

martha-johnston
Copy link
Contributor

Switch to using SetRPM instead of GoFor with revolutions == 0 (removed behavior) when homing and moving away from a limit switch.

@martha-johnston martha-johnston requested review from a team and JohnN193 and removed request for a team September 23, 2024 15:09
@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Sep 23, 2024
Copy link
Member

@JohnN193 JohnN193 left a comment

Choose a reason for hiding this comment

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

I think the tests mostly use GoFor as well, also do the other gantrys need this update?

@martha-johnston
Copy link
Contributor Author

I think the tests mostly use GoFor as well, also do the other gantrys need this update?

good point I should add injected SetRPM funcs. the other gantries are fake and don't use GoFor or the multi-axis implementation which just combines multiple single-axis implementations and doesn't really make any movement calls on its own

@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Sep 23, 2024
@martha-johnston martha-johnston merged commit c0763fc into viamrobotics:main Sep 23, 2024
19 checks passed
maximpertsov pushed a commit to maximpertsov/rdk that referenced this pull request Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants