/// Writes an imu sample to file
Writes an imu sample to file
Writes an imu sample to file
pub fn write_imu_sample(&self, imu_sample: &ImuSample) -> Result<(), Error> {
        Error::from_k4a_result_t(unsafe {
            (self.api_record.funcs.k4a_record_write_imu_sample)(
                self.handle,
                std::mem::transmute::<k4a_imu_sample_t, _>(imu_sample.value),
            )
        })
        .to_result(())
    }
pub fn write_imu_sample ( & self , imu_sample : & ImuSample ) -> Result < ( ) , Error > { Error :: from_k4a_result_t ( unsafe { ( self . api_record . funcs . k4a_record_write_imu_sample ) ( self . handle , std :: mem :: transmute :: < k4a_imu_sample_t , _ > ( imu_sample . value ) , ) } ) . to_result ( ( ) ) }
Writes an imu sample to file
Writes an imu sample to file
&self
imu_sample
&ImuSample