pub struct Gain {
pub kp: f32,
pub ki: f32,
pub kd: f32,
}
Expand description
Gain
holds the proportional, integral, and derivative gains for a PID controller.
See also: Config
Fields§
§kp: f32
§ki: f32
§kd: f32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Gain
impl RefUnwindSafe for Gain
impl Send for Gain
impl Sync for Gain
impl Unpin for Gain
impl UnwindSafe for Gain
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