A generalized approach for the acceleration and deceleration of industrial robots and CNC machine tools | Synapse