Helper script for definition of ideal gripper position