Struct ar_drivers::SensorData3D
source · Expand description
Structure to hold a typical 3D sensor value (accelerometer, gyroscope, magnetomer)
Fields§
§timestamp: u64
Timestamp, in device time, in microseconds
x: f32
Sensor value in the X coordinate. Positive is Right.
y: f32
Sensor value in the Y coordinate. Positive is Up.
z: f32
Sensor value in the Z coordinate. Positive is Backwards.
Trait Implementations§
source§impl Clone for SensorData3D
impl Clone for SensorData3D
source§fn clone(&self) -> SensorData3D
fn clone(&self) -> SensorData3D
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more