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(motion-control): Don't clear stepper-ok in stop request (#813) #814

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

sfoster1
Copy link
Member

@sfoster1 sfoster1 commented Nov 5, 2024

  • We don't need to clear the stepper ok field when we get a stop message.

  • Ok i was wrong about how this worked. We don't want to leave the motor enable false we just want to turn the brake on for a bit then turn it back off to leave the motor enabled.

* We don't need to clear the stepper ok field when we get a stop message.

* Ok i was wrong about how this worked. We don't want to leave the motor enable false we just want to turn the brake on for a bit then turn it back off to leave the motor enabled.
@@ -189,7 +189,8 @@ class MotionController {
if (hardware.is_timer_interrupt_running()) {
hardware.request_cancel();
}
disable_motor();
hardware.deactivate_motor();
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need a delay here?

Copy link
Member Author

Choose a reason for hiding this comment

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

no, this is about setting logical state. also it's already been tested and merged into main, this is a cherry-pick basically

@sfoster1 sfoster1 merged commit 09f9871 into chore_release-8.2.0 Nov 7, 2024
60 of 62 checks passed
@sfoster1 sfoster1 deleted the stepper-ok-in-release branch November 7, 2024 14:21
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