[AutoTool] fix output transition offset
This commit is contained in:
parent
e33a0f5ae1
commit
e4a52b2c90
2 changed files with 44 additions and 1 deletions
|
|
@ -1014,7 +1014,7 @@ class AutoTool(Tool, metaclass=ABCMeta):
|
|||
return numpy.zeros(2)
|
||||
orot = out_transition.our_port.rotation
|
||||
assert orot is not None
|
||||
otrans_dxy = rotation_matrix_2d(pi - orot - bend_angle) @ (out_transition.their_port.offset - out_transition.our_port.offset)
|
||||
otrans_dxy = rotation_matrix_2d(bend_angle - orot - pi) @ (out_transition.their_port.offset - out_transition.our_port.offset)
|
||||
return otrans_dxy
|
||||
|
||||
def planL(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue