A motion compensator is a device that decreases the undesirable effects of the relative motion between two connected objects.