pub struct Gains {
pub kp: f64,
pub tn: f64,
pub kv: f64,
}Expand description
A velocity loop’s gains: Kp (N m s/rad), Tn (s) and the position loop’s Kv (1/s).
Fields§
§kp: f64§tn: f64§kv: f64Trait Implementations§
impl Copy for Gains
impl StructuralPartialEq for Gains
Auto Trait Implementations§
impl Freeze for Gains
impl RefUnwindSafe for Gains
impl Send for Gains
impl Sync for Gains
impl Unpin for Gains
impl UnsafeUnpin for Gains
impl UnwindSafe for Gains
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