azure-kinect 0.1.1

Rust Bindings for Azure Kinect Sensor SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::*;
use std::fmt::{Display, Formatter, Result};

impl Display for k4a_imu_sample_t {
    fn fmt(&self, f: &mut Formatter<'_>) -> Result {
        unsafe {
            write!(f,
                   "temperature: {}, acc_sample: {:?}, acc_timestamp_usec: {}, gyro_sample: {:?} gyro_timestamp_usec: {}",
                   self.temperature,
                   self.acc_sample.xyz,
                   self.acc_timestamp_usec,
                   self.gyro_sample.xyz,
                   self.gyro_timestamp_usec)
        }
    }
}