fixup! [AutoTool] Add first pass for AutoTool
This commit is contained in:
parent
639850ab29
commit
1b79cd6f45
@ -506,7 +506,7 @@ class AutoTool(Tool, metaclass=ABCMeta):
|
|||||||
return numpy.zeros(2)
|
return numpy.zeros(2)
|
||||||
orot = out_transition.our_port.rotation
|
orot = out_transition.our_port.rotation
|
||||||
assert orot is not None
|
assert orot is not None
|
||||||
otrans_dxy = rotation_matrix_2d(-orot + bend_angle) @ (out_transition.their_port.offset - out_transition.our_port.offset)
|
otrans_dxy = rotation_matrix_2d(pi - orot - bend_angle) @ (out_transition.their_port.offset - out_transition.our_port.offset)
|
||||||
return otrans_dxy
|
return otrans_dxy
|
||||||
|
|
||||||
def planL(
|
def planL(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user