Struct conreg::control::pid::PidController [−][src]
pub struct PidController<T: Zero> { /* fields omitted */ }
Implementations
impl<T: Zero> PidController<T>
[src]
impl<T: Zero> PidController<T>
[src]pub fn new(sample_interval: f32) -> Self
[src]
pub fn new(sample_interval: f32) -> Self
[src]Return an PID Controller Instance
Arguments
sample_interval
- sample interval is encoded in seconds valid range is 0.000_01 (10 microsecond) to 1.0 (1 second) Constructor panics if range is violated
pub fn new_with_t1(sample_interval: f32, delay: f32) -> Self
[src]
pub fn new_with_t1(sample_interval: f32, delay: f32) -> Self
[src]Return an PID-T1 Controller Instance
Arguments
sample_interval
- sample interval is encoded in seconds; valid range is 0.000_01 (10 microsecond) to 1.0 (1 second) Constructor panics if range is violateddelay
- delay time of T1 part of the PID-T1 controller; is encoded in seconds; must be greater than sample interval typically approximately a magnitude of 10 times sample interval; Constructor panics if smaller than sample_interval.
impl PidController<i32>
[src]
impl PidController<i32>
[src]impl PidController<f32>
[src]
impl PidController<f32>
[src]Trait Implementations
impl<T: Debug + Zero> Debug for PidController<T>
[src]
impl<T: Debug + Zero> Debug for PidController<T>
[src]Auto Trait Implementations
impl<T> RefUnwindSafe for PidController<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for PidController<T> where
T: Send,
T: Send,
impl<T> Sync for PidController<T> where
T: Sync,
T: Sync,
impl<T> Unpin for PidController<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for PidController<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,