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
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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

hardware.activate_motor();
}

auto read_limit_switch() -> bool { return hardware.check_limit_switch(); }
Expand Down
Loading