Text this: Application of Error-compensation in the Mapping of Cam Mechanism