This package provides an API to read XSens tracking and sensor data provided by the MT Software Suite 4.6
- First install the "MT Software Suite for Linux" stable release (v4.6) from Xsens download page. Only the
mtsdk
is required, and the xsens installer will by default install it to/usr/local/xsens
. After accepting the EULA and downloading:
tar xzvf MT_Software_Suite_linux-x64_2022.0_b7085_r119802.tar.gz
cd MT_Software_Suite_linux-x64_2022.0
sudo ./mtsdk_linux-x64_2022.0.sh
And follow the instructions.
- Build and install this package:
git clone --recurse-submodules [email protected]:arntanguy/xsens_streaming
cd xsens_streaming
mkdir build && cd build
cmake ..
make -j8
sudo -E make install
Replace cmake ..
with cmake --DPYTHON_BINDING=OFF ..
to compile without Python bindings.
For Anaconda users, cmake ..
must be replaced with cmake -DPYTHON_BINDING_USER_INSTALL=ON ..
.
A sample program is provided to read and print the received data:
xsens_streaming_sample -h <hostname> -p <port>
Where:
- the hostname is the IP of the machine running the xsens_streaming client (running xsens_streaming_sample)
- Xsens MVN Analyze software has its "Network Streamer" configured to stream to
<hostname> <port>
over UDP.