Score is measured on distance from the desired grab point to an ideal pose. Grab points might prefer to weight more the translational or the rotational distance, for that end 2 scalars and a weight are saved and then compared against other scores to decide which one is higher.