Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0ccd4f9e56 | |||
| ea4ea1730d |
+2
-2
@@ -90,9 +90,9 @@ pub struct Pid<T: Number> {
|
|||||||
/// Limiter for the derivative term: `-d_limit <= D <= d_limit`.
|
/// Limiter for the derivative term: `-d_limit <= D <= d_limit`.
|
||||||
pub derivative_limit: T,
|
pub derivative_limit: T,
|
||||||
/// Last calculated integral value if [Pid::i_gain] is used.
|
/// Last calculated integral value if [Pid::i_gain] is used.
|
||||||
integral_term: T,
|
pub integral_term: T,
|
||||||
/// Previously found measurement whilst using the [Pid::next_control_output] method.
|
/// Previously found measurement whilst using the [Pid::next_control_output] method.
|
||||||
prev_measurement: Option<T>,
|
pub prev_measurement: Option<T>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<T> Pid<T>
|
impl<T> Pid<T>
|
||||||
|
|||||||
Reference in New Issue
Block a user