soundmonster / samoklava

Generated keyboard
MIT License
334 stars 186 forks source link

Small modifications causing autorouting to time out #18

Open tmelz opened 2 years ago

tmelz commented 2 years ago

I made some relatively small changes to the yaml file (stagger, spread, shift), and now autorouting is timing out. Did I do something unexpected/wrong?

Yaml changes: https://gist.github.com/tmelz/fcc14a363c52034a2a6e3d7aaf06551f/revisions

Autorouting timeout https://github.com/tmelz/samoklava/runs/5532704678?check_suite_focus=true

There are lots of warnings in the output like --FRCLI--WARN--There were only 6.0 changes in the last 20 passes, so it's very likely that autorouter can't improve the result much further. It is recommended to stop it and finish the board manually.

Pan6ora commented 2 years ago

I had the same problem. I fixed it by rotating the complete board to put the inner row vertical. I dit not explore it further but I think it may be link to the way the controller area is added.

zones:
  matrix:
    anchor:
      rotate: <depending on your config>
tmelz commented 2 years ago

I played around with this a bit after posting and in general it seems like the autorouter is quite finicky, and additionally the workflow seems to have false positive successes, i.e. the autorouter will complete successfully but there will be unrouted items. This is mentioned in the terminal output but the success code is unchanged.