You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I fixed a bug with velocity mode. I had been using the target velocity to decide whether to use the accel limit or the decel limit, but now it uses the current velocity.
Here's a graph of velocity over time as the velocity target is moved above and below zero.
Now supports different acceleration and deceleration rates! (to support different deceleration rates, some methods, including the constructor had to be changed in non backwards compatible ways, so this release starts a new major version.
As this version has a completely rewritten formula for calculating movement, please test it thoroughly before trusting it, and please let me know if you find any issues.