Delay position command as function of calculation time for feedforward, or order of system