pub struct LoopPoint {
pub frequency: f64,
pub re: f64,
pub im: f64,
pub sensitivity: f64,
pub plant: [f64; 2],
}Expand description
One point of the open-loop response of a motor’s velocity loop (velocity_loop_response): the loop gain L
as a complex number (real, imaginary part) and the sensitivity |S| = |1 / (1 + L)| as measured. L is NaN where the
point is not a measurement of the linear loop: the torque limit was hit, or the loop moved on its own.
Fields§
§frequency: f64§re: f64§im: f64§sensitivity: f64§plant: [f64; 2]The mechanics from the motor’s air-gap torque to its speed in the same measurement, (real, imaginary part) in rad/s per N m: the plant the loop works on, without the current loop, filters and delays. NaN where L is.
Trait Implementations§
impl Copy for LoopPoint
impl StructuralPartialEq for LoopPoint
Auto Trait Implementations§
impl Freeze for LoopPoint
impl RefUnwindSafe for LoopPoint
impl Send for LoopPoint
impl Sync for LoopPoint
impl Unpin for LoopPoint
impl UnsafeUnpin for LoopPoint
impl UnwindSafe for LoopPoint
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