Maximum speed and acceleration deceleration time constant as function of position