pub struct MotorTuning {
pub id: String,
pub kp_key: String,
pub kv_key: String,
pub before: Gains,
pub after: Gains,
pub before_least: Least,
pub after_least: Least,
pub met: bool,
pub lowered_in_joint_check: bool,
}Expand description
What came out for one motor.
Fields§
§id: String§kp_key: StringThe config keys that hold the gains (drive.<id>.velocity_kp_nm_s_rad where the config gives the motor its own,
else the shared ones) and the position gain’s, which is written only where it changed.
kv_key: String§before: Gains§after: Gains§before_least: Least§after_least: Least§met: boolThe tuned gain met the targets at every pose, in the final measurement of the whole machine.
lowered_in_joint_check: boolThe joint check (all motors tuned) lowered this gain: the motors act on each other.
Trait Implementations§
Source§impl Clone for MotorTuning
impl Clone for MotorTuning
Source§fn clone(&self) -> MotorTuning
fn clone(&self) -> MotorTuning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MotorTuning
impl Debug for MotorTuning
Source§impl PartialEq for MotorTuning
impl PartialEq for MotorTuning
Source§fn eq(&self, other: &MotorTuning) -> bool
fn eq(&self, other: &MotorTuning) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MotorTuning
Auto Trait Implementations§
impl Freeze for MotorTuning
impl RefUnwindSafe for MotorTuning
impl Send for MotorTuning
impl Sync for MotorTuning
impl Unpin for MotorTuning
impl UnsafeUnpin for MotorTuning
impl UnwindSafe for MotorTuning
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