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

◆ GetImuSample() [1/2]

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

Reads an IMU sample from the device.

Parameters
timeoutTime to wait for an IMU sample.
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 the timeout is reached. 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.