#[repr(C)]pub struct pid {
pub kp: float,
pub ki: float,
pub kd: float,
pub summax: float,
pub summin: float,
pub sum: float,
pub outmax: float,
pub outmin: float,
pub out: float,
pub fdb: float,
pub err: float,
/* private fields */
}Expand description
proportional integral derivative controller
Fields§
§kp: floatproportional constant
ki: floatintegral constant
kd: floatderivative constant
summax: floatmaximum integral output
summin: floatminimum integral output
sum: floatcontroller integral output
outmax: floatmaximum output
outmin: floatminimum output
out: floatcontroller output
fdb: floatcache feedback
err: floatcache error
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for pid
impl Send for pid
impl Sync for pid
impl Unpin for pid
impl UnwindSafe for pid
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more