v4.0.8
Overview: Many tiny improvements and bug fixes over 4.0.7
. Now, also usable offline. Migrated from astropy
to skyfield
. Removed local utility implementations in favor of the better tested tum-esm-utils
. Improve reliability of Helios camera connection.
Details
Fix issues with PLC communication:
The underlying library (snap7
) changed their internal error types from the custom Snap7Exception
to the built-in RuntimeError
. We had a logic built into Pyra to only report PLC errors if they persist for more than 10 minutes, but this was only considering any Snap7Exception
.
Fix astronomy utilities:
The previously used Astronomy library (astropy
) does not work offline. It also has a lot of side effects (weird errors from internal logging) and bad types annotations and documentation. So we switched to the Skyfield library (https://rhodesmill.org/skyfield/) and included the astronomical dataset to be downloaded directly in the repository (~ 16 MB, but would have to be downloaded anyway).
Helios Improvements:
We made the Helios implementation more resilient to camera issues - e.g. when changing the exposure or other settings frequently.
More use of tum-esm-utils
:
We have merged utility functions of many of our projects into a utility library (https://github.com/tum-esm/utils). We removed some of the utility classes/functions from the Pyra codebase and use the better tested tum-esm-utils
library.
- Closes #165
Miscellaneous:
- Removed the git commit SHA from emails since this is redundant now
- Closes #156