main
John Lauer Corrected Astra ESC routing: native zero-open result, full accounting and voiceover handoff a80479d 23d ago
INITIAL {'/DRV_GLA': 1, 'Net-(LED1-A)': 1, '/DRV_SHB': 1}
0 RIP /DRV_GLA [('/DRV_SHC', 8)]
RESULT 3 {'Net-(LED1-A)': 1, '/DRV_SHB': 1, '/DRV_SHC': 1}
1 RIP Net-(LED1-A) [('/TIM1_CH2N_INLB', 0)]
RESULT 3 {'/TIM1_CH2N_INLB': 1, '/DRV_SHB': 1, '/DRV_SHC': 1}
2 RIP /TIM1_CH2N_INLB [('Net-(LED1-A)', 0)]
RESULT 3 {'Net-(LED1-A)': 1, '/DRV_SHB': 1, '/DRV_SHC': 1}
3 RIP /DRV_SHB [('/DRV_GHB', 0)]
RESULT 3 {'/DRV_GHB': 1, 'Net-(LED1-A)': 1, '/DRV_SHC': 1}
4 RIP /DRV_GHB [('/DRV_SHB', 8)]
RESULT 3 {'Net-(LED1-A)': 1, '/DRV_SHB': 1, '/DRV_SHC': 1}
5 RIP /DRV_SHC [('/DRV_GLA', 0)]
RESULT 3 {'/DRV_GLA': 1, 'Net-(LED1-A)': 1, '/DRV_SHB': 1}
6 RIP /DRV_GLA [('/DRV_SHC', 8)]
RESULT 3 {'Net-(LED1-A)': 1, '/DRV_SHB': 1, '/DRV_SHC': 1}
Traceback (most recent call last):
  File "/home/adom/project/astra-esc-routing/soft_repair2.py", line 25, in <module>
    route=search_soft(net,plan['width'],cs[i],cs[j])
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/adom/project/astra-esc-routing/soft_search2.py", line 6, in search_soft
    a=masks(net,width);m.copper[:]=old
      ^^^^^^^^^^^^^^^^
  File "/home/adom/project/astra-esc-routing/planner.py", line 24, in masks
    for z,rad in [(0,width/2),(1,width/2),(2,.4)]:raster(a[z],outline.buffer(-.25-rad),0)
                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/adom/project/astra-esc-routing/planner.py", line 20, in raster
    hit=shapely.intersects_xy(g,xx,yy);a=arr[j1:j2,i1:i2];a[hit]=value
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/adom/.local/lib/python3.12/site-packages/shapely/decorators.py", line 88, in wrapped
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/adom/.local/lib/python3.12/site-packages/shapely/predicates.py", line 1350, in intersects_xy
    return lib.intersects_xy(geom, x, y, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt