rewrote the position loop in stepgen to prevent overshoots when following a command that is right at the accel and velocity limits of the stepgen block
rewrote the position loop in stepgen to prevent overshoots when following a command that is right at the accel and velocity limits of the stepgen block

Cid427/machinekit,narogon/linuxcnc,ikcalB/linuxcnc-mirror,bobvanderlinden/machinekit,bobvanderlinden/machinekit,cdsteinkuehler/linuxcnc,ianmcmahon/linuxcnc-mirror,ArcEye/MK-Qt5,jaguarcat79/ILC-with-LinuxCNC,bmwiedemann/linuxcnc-mirror,RunningLight/machinekit,EqAfrica/machinekit,unseenlaser/linuxcnc,strahlex/machinekit,bobvanderlinden/machinekit,yishinli/emc2,ArcEye/MK-Qt5,EqAfrica/machinekit,Cid427/machinekit,ArcEye/machinekit-testing,EqAfrica/machinekit,cdsteinkuehler/MachineKit,EqAfrica/machinekit,araisrobo/machinekit,kinsamanka/machinekit,kinsamanka/machinekit,RunningLight/machinekit,strahlex/machinekit,cnc-club/linuxcnc,bmwiedemann/linuxcnc-mirror,Cid427/machinekit,ArcEye/MK-Qt5,cdsteinkuehler/MachineKit,RunningLight/machinekit,ianmcmahon/linuxcnc-mirror,cnc-club/linuxcnc,yishinli/emc2,cdsteinkuehler/linuxcnc,ikcalB/linuxcnc-mirror,mhaberler/machinekit,EqAfrica/machinekit,EqAfrica/machinekit,strahlex/machinekit,narogon/linuxcnc,bmwiedemann/linuxcnc-mirror,ianmcmahon/linuxcnc-mirror,strahlex/machinekit,ianmcmahon/linuxcnc-mirror,cdsteinkuehler/MachineKit,unseenlaser/machinekit,Cid427/machinekit,cnc-club/linuxcnc,ikcalB/linuxcnc-mirror,bobvanderlinden/machinekit,unseenlaser/machinekit,ikcalB/linuxcnc-mirror,Cid427/machinekit,cnc-club/linuxcnc,ikcalB/linuxcnc-mirror,cnc-club/linuxcnc,araisrobo/machinekit,RunningLight/machinekit,EqAfrica/machinekit,RunningLight/machinekit,ArcEye/MK-Qt5,unseenlaser/linuxcnc,cnc-club/linuxcnc,Cid427/machinekit,ArcEye/machinekit-testing,araisrobo/machinekit,strahlex/machinekit,cdsteinkuehler/MachineKit,cdsteinkuehler/linuxcnc,ianmcmahon/linuxcnc-mirror,ArcEye/MK-Qt5,cdsteinkuehler/MachineKit,aschiffler/linuxcnc,mhaberler/machinekit,araisrobo/linuxcnc,ianmcmahon/linuxcnc-mirror,araisrobo/linuxcnc,ArcEye/machinekit-testing,mhaberler/machinekit,narogon/linuxcnc,unseenlaser/linuxcnc,araisrobo/linuxcnc,cdsteinkuehler/linuxcnc,cdsteinkuehler/linuxcnc,ArcEye/machinekit-testing,araisrobo/linuxcnc,yishinli/emc2,kinsamanka/machinekit,ArcEye/MK-Qt5,kinsamanka/machinekit,bmwiedemann/linuxcnc-mirror,mhaberler/machinekit,unseenlaser/machinekit,unseenlaser/linuxcnc,jaguarcat79/ILC-with-LinuxCNC,aschiffler/linuxcnc,ArcEye/machinekit-testing,bobvanderlinden/machinekit,cdsteinkuehler/MachineKit,ianmcmahon/linuxcnc-mirror,araisrobo/machinekit,araisrobo/machinekit,jaguarcat79/ILC-with-LinuxCNC,narogon/linuxcnc,bobvanderlinden/machinekit,araisrobo/machinekit,ArcEye/MK-Qt5,aschiffler/linuxcnc,unseenlaser/machinekit,bobvanderlinden/machinekit,ArcEye/MK-Qt5,jaguarcat79/ILC-with-LinuxCNC,narogon/linuxcnc,bmwiedemann/linuxcnc-mirror,unseenlaser/machinekit,unseenlaser/machinekit,yishinli/emc2,strahlex/machinekit,ArcEye/machinekit-testing,aschiffler/linuxcnc,araisrobo/linuxcnc,RunningLight/machinekit,ArcEye/machinekit-testing,ArcEye/machinekit-testing,cnc-club/linuxcnc,mhaberler/machinekit,mhaberler/machinekit,RunningLight/machinekit,bmwiedemann/linuxcnc-mirror,ikcalB/linuxcnc-mirror,EqAfrica/machinekit,kinsamanka/machinekit,strahlex/machinekit,RunningLight/machinekit,bmwiedemann/linuxcnc-mirror,unseenlaser/linuxcnc,Cid427/machinekit,ikcalB/linuxcnc-mirror,Cid427/machinekit,unseenlaser/machinekit,kinsamanka/machinekit,mhaberler/machinekit,aschiffler/linuxcnc,cdsteinkuehler/linuxcnc,araisrobo/machinekit,kinsamanka/machinekit,araisrobo/machinekit,unseenlaser/machinekit,bobvanderlinden/machinekit,araisrobo/machinekit,mhaberler/machinekit,kinsamanka/machinekit,jaguarcat79/ILC-with-LinuxCNC