Trait rrtk::Encoder

source ·
pub trait Encoder {
    // Required method
    fn get_state(&mut self) -> Datum<State>;
}
Expand description

A trait for encoders.

Required Methods§

source

fn get_state(&mut self) -> Datum<State>

Get the current acceleration, velocity, and position and the time at which they were recorded.

Implementors§