pid-rs
pid-rs copied to clipboard
A PID controller for Rust projects.
There is a very similar PR open already here #22, in fact I just copied one of the changes made in there and updated it further. I opened this PR...
This might be important to set controller to previous state after an interruption or crash. It also allows for more manual manipulation of the PID controller if that is desired....
This makes the library more flexible to allow users more easily use newtype wrappers for things like `std::ops::Sub`, such as for use-cases mentioned in #21 Based off of #22, so...
I'm just learning about PIDs and the implementations, as I might want to use it to control the temperature of my coffee machine. In that scenario a PWM signal would...
Add methods for getting/setting the integral term. Add some more tests for integers
Hello, I was recently compiled a project with `pid = "4"` in the `Cargo.toml` file for the first time in a few weeks, and experienced failed compile. This appears to...
This PR adds some additional check to the build job in the Rust workflow ### Motivation * Check and Clippy: These steps help protect us against well-known bad coding practices....
### Changes * We add a new method `Pid::next_control_output_with_dt()` which handles a variable time delta (`dt`). * The new method is called internally by `Pid::next_control_output()`. ### To do - [...
## Summary Adds `next_control_output_with_dt(measurement, dt)` method to handle time intervals properly in PID calculations, resolving the mathematical inaccuracies mentioned in #35. ## Problem Solved Previously, the PID controller ignored actual...
In cases where the actionner is asymmetric, the limit should also be asymmetric. The most common case will be `0