pub struct EpidFastPvt {Show 21 fields
pub kp: f64,
pub ki: f64,
pub kd: f64,
pub drvh: f64,
pub drvl: f64,
pub val: f64,
pub fbon: bool,
pub fmod: i16,
pub cval: f64,
pub oval: f64,
pub err: f64,
pub p: f64,
pub i: f64,
pub d: f64,
pub dt: f64,
pub ct: Instant,
pub fbop: bool,
pub num_average: u32,
pub accumulated: f64,
pub count: u32,
pub output_writer: Option<Arc<Mutex<dyn FnMut(f64) + Send>>>,
}Expand description
Private state for the fast PID loop, shared between the record process thread and the interrupt callback task.
Fields§
§kp: f64§ki: f64§kd: f64§drvh: f64§drvl: f64§val: f64§fbon: bool§fmod: i16§cval: f64§oval: f64§err: f64§p: f64§i: f64§d: f64§dt: f64§ct: Instant§fbop: bool§num_average: u32§accumulated: f64§count: u32§output_writer: Option<Arc<Mutex<dyn FnMut(f64) + Send>>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EpidFastPvt
impl RefUnwindSafe for EpidFastPvt
impl Send for EpidFastPvt
impl Sync for EpidFastPvt
impl Unpin for EpidFastPvt
impl UnsafeUnpin for EpidFastPvt
impl UnwindSafe for EpidFastPvt
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