Unifying prefs, logging, setup, and scripts
Improvements:
- Unify the creation of loggers!!!! See the docs ;) https://docs.auto-pi-lot.com/en/latest/autopilot.core.loggers.html : d55638f #38
- Unify prefs, including sensible defaults, refactoring of scripts into a reasonable format, multiprocess-safety, and just generally a big weight off my mind. Note that this is a breaking change to the way prefs are accessed. Previously one would do
prefs.PREF_NAME
, but that made it very difficult to provide default values or handle missing prefs. the new syntax isprefs.get('PREF_NAME')
which returns defaults with a warning andNone
if the pref is not set: c40a212 #38 - completely clean up scripts, and together that opened the path to clean up setup as well. so all things configuration got a major promotion
- We're on the board with CI and automated testing with a positively massive 3% code coverage!!! 743bb8f
- new scripts to eg. create autopilot alias: 211919b
Bugfixes:
- cleanup scripts on object deletion: e821830 #41
- don't drop 'floats' from gui when we say we can use them...: 743bb8f
- pigpio scripts dont like floats: 9f939cd
Docs:
- Clarification of supported systems: ce0ddf7
- Solved an ancient sphinx riddle of how to get data objects/constants to pretty-print: ec6d5a7
- Clarify hardware prefs f3a7609
- what numbering system do we use: 6426724
Logging: