pub struct Tuned {
pub config: Config,
pub motors: Vec<MotorTuning>,
pub notches: Vec<Notch>,
pub met: bool,
pub evaluations: usize,
}Expand description
The result of velocity_loops.
Fields§
§config: ConfigThe config with the new gains (and the notch), as verified by the last velocity_loop_margins call.
motors: Vec<MotorTuning>§notches: Vec<Notch>The notches kept, one per motor at most; the other motors then have none (frequency 0).
met: boolEvery motor meets the targets at every pose in that last measurement.
evaluations: usizeThe calls of velocity_loop_margins made.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tuned
impl RefUnwindSafe for Tuned
impl Send for Tuned
impl Sync for Tuned
impl Unpin for Tuned
impl UnsafeUnpin for Tuned
impl UnwindSafe for Tuned
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