Adjust position and speed gain of different axis