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

◆ k4a_device_start_imu()

k4a_result_t k4a_device_start_imu ( k4a_device_t  device_handle)
related

Starts the IMU sample stream.

Parameters
device_handleHandle obtained by k4a_device_open().
Returns
K4A_RESULT_SUCCEEDED is returned on success. K4A_RESULT_FAILED if the sensor is already running or a failure is encountered
Remarks
Call this API to start streaming IMU data. It is not valid to call this function a second time on the same k4a_device_t until k4a_device_stop_imu() has been called.
This function is dependent on the state of the cameras. The color or depth camera must be started before the IMU. K4A_RESULT_FAILED will be returned if one of the cameras is not running.