You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ability to override the time function by setting PID.time_fn to whichever function to use
Black is now run in CI to detect formatting problems
Project is now defined by a pyproject.toml file instead of the old setup.py. The setup.cfg file remains for flake8 configuration for now.
Ability to give the PID a starting guess for its output, when you start controlling a system that is already at the setpoint and don't want the PID to start outputting 0
Option for specifying differential_on_measurement, to choose between calculating the derivative term on the input (default) or on the error (classic PID)
Changed
Rename the module PID to pid to avoid the shadowing from the PID class - potentially a breaking change in some edge cases
CI migrated from Travis to GitHub Actions
The documentation has gotten an overhaul and a new look. Much of the detailed documentation in README.md has been moved to a dedicated user guide.
Fixed
Fix mypy issue by explicitly exporting PID
Remove duplicated definition of output_limits in type stubs
Deprecated
Official support for Python 2 is dropped. While the code will likely keep working in Python 2 going forward, it's no longer tested in CI and no guarantees are given.