Adapth path of gripping point as function of position of cooperating machine