Follow

Open source XDA (Xsens Device API)

In February 2019, MT Software Suite 2019 was released. One of the new components in this release is a renovation of the MT Software Development Kit (MT SDK). The programming examples for Matlab, C++ and C# were restructured in order to make it easier for users to work with. Additionally, new examples for Python and ROS were added to the MT SDK.

The final update to the MT SDK is the open source XDA. Previously, only the low-level communication protocol was publicly available. Now, the full Xsens Device API is made open source. In principle it should now be possible to use the open source XDA on any processor that has a C/C++ compiler and a USB port. This includes the Raspberry Pi, Beagleboard or ODROID. The public source XDA is available as a set of C++ source files. An example Makefile is included as well.

The open source XDA main advantages:

  • Allows users to compile XDA for their own platform
  • Ease of communication with MTi devices
  • Allows users to add extensions to the XDA
  • Allows users to modify the XDA to fit their application
  • Monitor processes inside the XDA
  • Follow communication flow(s) between MTi and host processor


The open source libraries can be found in your MT Software Suite installation folder, by default located at:
[MT SDK folder]\public_source (Windows)
[MT SDK folder]\public (Linux)

Documentation, both for the open as well as the original XDA, can be found at:
[Documentation folder]\MT SDK\Xsens Device API Library.chm (Windows)
[MT SDK folder]\doc\xsensdeviceapi\doc\html\index.html 
(Linux)

A programming example is available to help you getting started. It can be found at:
[MT SDK folder]\Examples\xda_public_cpp (Windows)
[MT SDK folder]\examples\mtsdk\xda_public_cpp (Linux)

Was this article helpful?
0 out of 0 found this helpful
Do you have a question? Please post your question in our Community Forum