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(z-motors): should disegange Z motors at boot when motor controller task first starts #757

Merged
merged 2 commits into from
Mar 4, 2024

Conversation

ahiuchingau
Copy link
Contributor

@ahiuchingau ahiuchingau commented Mar 4, 2024

We've been mistakenly engaging the z motors during start up (this supposedly disables the ebrake and uses the start the motor interrupt handler, which is the exact opposite of what we did in hardware gpio init).

This PR makes sure the z motors stay disengaged until the host tells it to move later on.

Closes RQA-2301, RQA-2429

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.58%. Comparing base (65d6a31) to head (77dd479).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #757   +/-   ##
=======================================
  Coverage   83.58%   83.58%           
=======================================
  Files         101      101           
  Lines        4044     4044           
=======================================
  Hits         3380     3380           
  Misses        664      664           

@sfoster1 sfoster1 self-requested a review March 4, 2024 23:22
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.

Looks good to me!

@ahiuchingau ahiuchingau merged commit f775c63 into main Mar 4, 2024
31 checks passed
@ahiuchingau ahiuchingau deleted the fix_disengage-at-boot branch March 4, 2024 23:24
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