pub struct ControllerStep {
pub plan: Plan,
pub applied_ppm: f64,
pub estimate_offset_s: f64,
pub estimate_freq_ppm: Option<f64>,
pub samples_used: usize,
}Expand description
What the controller decided, plus what the caller must do about it.
Fields§
§plan: Plan§applied_ppm: f64Total frequency the driver should command: the permanent correction plus the drain currently running.
estimate_offset_s: f64The estimate that produced the plan, for reporting.
estimate_freq_ppm: Option<f64>§samples_used: usizeAuto Trait Implementations§
impl Freeze for ControllerStep
impl RefUnwindSafe for ControllerStep
impl Send for ControllerStep
impl Sync for ControllerStep
impl Unpin for ControllerStep
impl UnsafeUnpin for ControllerStep
impl UnwindSafe for ControllerStep
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