fixup! [AutoTool] Add first pass for AutoTool

This commit is contained in:
jan 2025-11-13 12:58:05 -08:00
parent 639850ab29
commit 1b79cd6f45

View File

@ -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(