Closed eufrizz closed 2 years ago
Thanks for the contribution, it looks great 👍 I'll review it and write unit tests in the weekend and then merge
Did some changes, added some tests. @eufrizz if you'd like take a look. Thanks again for the contribution!
Sudden changes in velocity setpoints would lead to sudden jerks and current spikes, so a ramping function is added to make transitions a bit smoother. This allows for very quick but still smooth transitions between velocities, and can be disabled by setting the velocity increment very high.