AccelStepper uses steps per second rather than radians per second (because we dont know the step angle of the motor) An initial step interval is calculated for the first step, based on the desired acceleration On subsequent steps, shorter step intervals are calculated based on the previous step until max speed is achieved.
AccelStepper使用每秒步长替代每秒弧度(因为我们不知道电机步进角)。基于指定的加速度,第一次步进指定初始步长间隔。在随后的步进中,根据前一步计算出较短的步长间隔,直到达到最大速度为止。