pub struct PIDKValues {
pub kp: f32,
pub ki: f32,
pub kd: f32,
}Expand description
Coefficients for a PID controller.
Fields§
§kp: f32Proportional coefficient.
ki: f32Integral coefficient.
kd: f32Derivative coefficient.
Implementations§
Source§impl PIDKValues
impl PIDKValues
Trait Implementations§
Source§impl Clone for PIDKValues
impl Clone for PIDKValues
Source§fn clone(&self) -> PIDKValues
fn clone(&self) -> PIDKValues
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PIDKValues
impl Debug for PIDKValues
Source§impl PartialEq for PIDKValues
impl PartialEq for PIDKValues
impl Copy for PIDKValues
impl StructuralPartialEq for PIDKValues
Auto Trait Implementations§
impl Freeze for PIDKValues
impl RefUnwindSafe for PIDKValues
impl Send for PIDKValues
impl Sync for PIDKValues
impl Unpin for PIDKValues
impl UnwindSafe for PIDKValues
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