Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK

◆ GetImuSample() [2/2]

ImuSample Microsoft.Azure.Kinect.Sensor.Device.GetImuSample ( )
inline

Reads an IMU sample from the device.

Returns
The next unread IMU sample from the device.

Gets the next sample in the streamed sequence of IMU samples from the device. If a new sample is not currently available, this function will block until one is available. The API will buffer at least two camera capture intervals worth of samples before dropping the oldest sample. Callers needing to capture all data need to ensure they read the data as fast as the data is being produced on average.