示例#1
0
    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
示例#2
0
 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)