MYNT-EYE-S-SDK/docs/src/sdk/data/get_imu_params.rst
2019-07-03 13:55:25 +08:00

19 lines
613 B
ReStructuredText

.. _data_get_imu_params:
Get IMU Calibration Parameters
==============================
Use ``GetMotionIntrinsics()`` & ``GetMotionExtrinsics()`` to get current IMU calibration parameters.
Reference commands:
.. code-block:: c++
auto &&api = API::Create(argc, argv);
LOG(INFO) << "Motion intrinsics: {" << api->GetMotionIntrinsics() << "}";
LOG(INFO) << "Motion extrinsics left to imu: {"
<< api->GetMotionExtrinsics(Stream::LEFT) << "}";
Complete code examples, see `get_imu_params.cc <https://github.com/slightech/MYNT-EYE-S-SDK/blob/master/samples/tutorials/data/get_imu_params.cc>`_ .