def transform_coil(coil_point): #print 'Find center and top coil point' assert coil_point.type == 0 pos, orn = calibration_commands.transform_sample_no_ref(coil_point) ctr = ctr_fun(pos, orn) top = top_fun(pos, orn) return ctr, top
def point_f2(point): assert point.type != 0 point_prime = calibration_commands.transform_sample_no_ref(point) return point_f(point_prime.pos,point_prime.orn)