Slow pulse timings #140
Labels
help wanted
Extra attention is needed
topic: motion control
Issues concerning the software-based motion control implementation.
type: bug
Something isn't working
Hi,
(No worries Hanno if you're busy 💜 )
I'm using
stepper
and as far as I can tell with a logical analyzer, the actual pulse timings are always longer than the calculated pulse timings, i.e. the stepper speed is slower than expected.I can think of a few reasons why, but am wondering if this is a known issue or if I'm doing something wrong.
Reason 1: The direction is set every pulse, including with delay, even if the no change from previous direction: https://github.com/braun-embedded/stepper/blob/03e9c56/src/motion_control/state.rs#L73-L84Oops now I see this would only happen at the beginning of a new motion, not on every step. Changing this had no effect on the pulse timings.In my case, I don't need 100% accurate timings, I can just as easily bump up the stepper speed, but raising this issue in case.
The text was updated successfully, but these errors were encountered: