cutcutgo
cutcutgo copied to clipboard
Large steps when changing direction
Hi,
I noticed that when one of the motors changes the direction, in the next command it moves more than expected. If it's in the same direction as in the previous movement, it is OK.
For example:
Initial position: X = 0.
Move: 0 -> 0.1 It moves almost +1mm Move: 0.1 -> 0.2 +0.1 Ok Move: 0.2 -> 0.3 +0.1 Ok Move: 0.3 -> 0.2 It moves almost -1mm Move: 0.2 -> 0.1 -0.1 Ok ...
It happens in all the axes. So, I understand it's something related to the motors control code.