Jog or speed based control #201
Replies: 3 comments 2 replies
-
Perhaps use
or shorter, which makes it understandable, that the
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer, I didn't want to bother you on a Sunday, your last code works similar to mine, the acceleration ramp works wonderfully, the deceleration ramp doesn't work (it stops abruptly at the new target speed) if the value is different from 0. |
Beta Was this translation helpful? Give feedback.
-
I was on vsc/platformio 0.30.0 to avoid the compiller complain(on 0.30.5) about deprecated rmt_memory_rw_rst, my board is an nodemcu esp32s. |
Beta Was this translation helpful? Give feedback.
-
I want to thank gin66 and everyone who contributed to this great library. I want to know how I can use it to make a movement whose speed is related to a signal, for example an analog input (or a digital pulse width) , from 0 to some speed, respecting the acceleration and deceleration ramps. Calling the runFoward() command in each loop cycle works on the acceleration ramp but skips the deceleration ramp.
Beta Was this translation helpful? Give feedback.
All reactions