Trait i2csensors::Gyroscope
[−]
[src]
pub trait Gyroscope { type Error: Error; fn angular_rate_reading(&mut self) -> Result<Vec3, Self::Error>; }
Associated Types
Required Methods
fn angular_rate_reading(&mut self) -> Result<Vec3, Self::Error>
Returns 'Ok(ang_rate)' if available, otherwise returns 'Err(Self::Error)'