pub struct LinearControllerGains {
pub x_gains: PIDGains,
pub y_gains: PIDGains,
pub z_gains: PIDGains,
}
Expand description
Struct to contain controller gains used by velocity and Position PID controller
Fields§
§x_gains: PIDGains
kp, ki, kd for X axis
y_gains: PIDGains
kp, ki, kd for Y axis
z_gains: PIDGains
kp, ki, kd for Z axis
Implementations§
Trait Implementations§
Source§impl Clone for LinearControllerGains
impl Clone for LinearControllerGains
Source§fn clone(&self) -> LinearControllerGains
fn clone(&self) -> LinearControllerGains
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LinearControllerGains
impl Debug for LinearControllerGains
impl Copy for LinearControllerGains
Auto Trait Implementations§
impl Freeze for LinearControllerGains
impl RefUnwindSafe for LinearControllerGains
impl Send for LinearControllerGains
impl Sync for LinearControllerGains
impl Unpin for LinearControllerGains
impl UnwindSafe for LinearControllerGains
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