Demanded velocity vdem =
* (target - x). Input u = 100 * (vdem - v)
Velocity demand limit =
Initial position =
The drive is now limited in magnitude to 1.
You can change the position target,
target =
0