Fixed calculation of coordinated movement of arm and tilt of gripper