Xsens Driver Download



Xsens is the leading innovator in motion tracking technology and products. Xsens products include Motion Capture, IMU, AHRS, Human Kinematics and Wearables.

Download USB to Serial Converter for Windows to uSB driver. Join or Sign In. Sign in to add and modify your software. This is just a small program that does not depend on the ROS framework that allows for communication with the xsens imus. Most code was taken from ethz-asl/ethzaslxsensdriver package, but all version of ROS have been removed. In the main script there is a way to specify what measurements should be reported from the IMU. Going from a static driver position to an active biking activity in one recording is really stretching the possibilities of motion capture. Category Science & Technology. The problem was about make 'xsensmt' in Prerequisites section. It seems that the compiler that was used previously failed to compile the xsensmt file. So I used FTDI compiler and 'make xsensmt' was done. Now, I can get the data of MTi-30 AHRS to Linux by using ROS.

Only released in EOL distros:

Package LinksDependencies (7)

ROS driver for Xsens MTI-G-700 series motion trackers - modified to publish GPS messages

  • Maintainer status: developed
  • Maintainer: Lucas Casanova Nogueira <lukscasanova AT gmail DOT com>
  • Author: Lucas Casanova Nogueira
  • License: BSD
  • Source: git https://github.com/lukscasanova/mtig_driver.git (branch: master)

Contents

  1. Nodes
    1. mtig_driver
Driver

Installation

Download the MT Software Suite and install it on a Windows machine (you may skip this step and use default sensor configuration), then download the MT SDK for Linux and install it on a Linux machine (this should be the machine that ROS is installed on). Here is the software website: http://www.xsens.com/en/mt-software-suite.

Follow the instructions in the MT SDK for Linux to install the software and make sure the examples run correctly with the sensor. You may need to install the kernel available at https://github.com/xsens/xsens_mt.

Verify if the usb device was recognized by using the following command (pay attention to the fact that the 0 in ttyUSB0 may be a different number in your setup):

You may have to the current user to the dialout group, using

Now you can run the node using roslaunch

Configuration

A default launch file can be found in the mtig_driver package directory. The launchfile contains the following types of parameters.

  • Module Enabler: This type of parameters enables or disables the different sensor readings available in the device. This parameters have no use if the override parameter is false.

  • Module Frequency: This parameters set the frequency with which we want to read from each sensor. This can vary greatly between sensor type. See the Xsens Mti User Manual for more details. If we set this value to 0, it will adjust to the maximum possible frequency.
  • Override: If this parameter is true, then the device's current settings will be erased and the configuration set in the launchfile will be loaded to the device - Modules Enabled and Frequency. If this parameter is false, then the current settings will be used. This can be useful for configuring the device with the Windows tool provided by Xsens.
  • Frame_id: This parameter will set the frame on which the topics are published. Default value is 'xsens'
  • Error: This parameters will be used in the covariance matrix of different sensors readings. We are not completely sure of the correctness in this. The values were obtained from the Xsens Mti User Manual.

Below is an example of an configuration file 'all_zero.launch' where all the modules are used with the maximum frequency available.

Nodes

mtig_driver

This is a ROS driver for MTi-G-700 GPS/INS. It provides GPS fix reading capabilities, as well as IMU and other sensors. To use the driver, a license number is required for the MT Software Suite (a.k.a. the Xsens API). This driver also enables configuration, i.e., turn different sensors in the device on and off, via ROS node. It is also possible to adjust the settings using MT Manager in Windows, and using the driver in read-only mode.

Published Topics

/xsens/imu (sensor_msgs/Imu)
  • Uses data collected from the device's inertial measurement unit(IMU) angular velocity from gyroscope linear acceleration from accelerometer orientation fusioned from the magnetometer.
/xsens/gps (sensor_msgs/NavSatFix)
  • Uses data collected from the device's GPS. The covariance is given using DOP and Position Acuraccy. We assumed Position Accuracy is the std dev.
/xsens/velocity (geometry_msgs/TwistWithCovariance)
  • Publishes angular and linear speed information in the ENU frame of reference. The data is collected from the device's gyroscopes and GPS.
/xsens/temperature (sensor_msgs/Temperature)
  • Uses data collected from the device's thermometer.
/xsens/pressure (sensor_msgs/FluidPressure)
  • Uses data collected from the device's barometer.
/xsens/magnetic (sensor_msgs/MagneticField)
  • Uses data collected from the device's magnetometer
/xsens/gps_extra (mtig_driver/GpsInfo)
  • This message contains important information from the Xsens' GPS that no other ROS Message accounted for.

Description

The MTi is a miniature, gyro-enhanced Attitude and Heading Reference System (AHRS), manufactured by XSens Technologies B.V..

Its internal low-power signal processor provides drift-free 3D orientation as well as calibrated 3D acceleration, 3D rate of turn (rate gyro) and 3D earth-magnetic field data.

The driver decodes heading and/or motion (pitch, roll, no heave!) from the binary messages. Two versions of the driver are available: an active version and a passive one. The active driver sends certain commands to the sensor, in order to set the required output mode and output settings. The passive one only receives data, and the MTi sensor should therefore be programmed in such a way that it outputs the data in the required output mode and output settings. See Decoding Notes below for the correct settings.

Driver Information

DriverXSens Motion Tracker MTi Interface TypeSerialDriver Class TypeCounted
UTC DriverNoInput / OutputInputExecutableDrvQPSCounted.exe
Related Systems
  • XSens Motion Tracker MTi (Heading) (Active) - 05Gyro Compass
  • XSens Motion Tracker MTi (Heading) (Passive) - 05Gyro Compass
  • XSens Motion Tracker MTi (Roll-Pitch) (Active) - 03Pitch Roll Heave Sensor
  • XSens Motion Tracker MTi (Roll-Pitch) (Passive) - 03Pitch Roll Heave Sensor
  • XSens Motion Tracker MTi Acc, Rot (Active) - 42Acceleration Velocity Sensor
  • XSens Motion Tracker MTi Acc, Rot (Passive) - 42Acceleration Velocity Sensor
Related Pages


Decoding Notes

It is recommended to use the active driver, in order to let the driver set automatically the correct Output Mode and Output Settings.

As soon as the driver is started (on-line) it will send certain commands to the MTi sensor. The first command will be a request for the current Configuration parameters. The output mode and output settings are part of these parameters. If the output mode and output settings are not conform requirements, the driver will send several commands to the MTi sensor to correct this.

In case the sensor does not have the correct settings (e.g. first time use), notice that it may take up to 15 seconds before receiving the first valid roll, pitch and heading data. The next time you go on-line, the data will be decoded almost instantly.

Note that no Quality indicators are decoded; they are simply not part of any message.

If you use the passive driver, it is recommended to program the MTi sensor as follows:

Output Mode

Disable the Temperature data, Auxiliary data and Raw Intertal data messages.
Enable the Orientation data and Calibrated data messages

Output Settings

Disable the Sample Counter (No timestamp).
Set orientation mode to Euler. (Qinsy works with Euler angles)
Enable the acceleration gyroscope and magnetic data (Send Acc, Send Gyr and Send Mag).

Sample Frequency

Set to 10 Hz.
It is recommended to have no more than ten samples per second available for the driver.

If the MTi sensor is programmed as stated above, then the passive driver will recognize the datastream immediately, and will decode the roll, pitch and yaw successfully.

If the MTi sensor is programmed to output different messages than specified above, the driver will only recognize the data after receiving a so-called Configuration message from the sensor. You may trigger this configuration message by disconnection the lemo plug of the MTi sensor and connecting it again while on-line. By doing this, a single configuration message will be sent to the driver, and after receiving this the driver will decode the roll, pitch and yaw successfully.

Interfacing Notes

In case of using the active driver, wiring of the interface cable must be bi-directional. If you use the standard delivered USB-serial cable, then all the wiring should be already correct.

In case you are using a serial cable that connects the lemo plug (back-end MTi sensor) to a 25pin or 9pin RS-232 connector, use the following diagram:

DB-25

COM

or

DB-9

COM

Pin 3

RXD


Pin 2

RXD

Pin 2

TXD


Pin 3

TXD

Pin 7

SG


Pin 5

SG

Further, an extract from the 'MTi and MTx User Manual and Technical Documentation' manual shows the following necessary wiring of the lemo-plug:

System Configuration

In order to interface the MTi sensor using the USB-Serial cable, you will need to install the USB driver first for the Xsens USB-serial Converter.

  1. Do not connect the USB Cable to your computer yet!
    The driver can be installed using the SDK installer or alternatively using the driver which can be found on the Xsens website: www.xsens.com/download/Driver_USB_serial_converter.zip
    For the SDK installation follow the following procedure:
  2. First install the SDK software that comes with the MTi sensor.
    At the end of the installation, there is no need to continue with the MatLab installation. You may cancel that one.
  3. Now connect the MTi sensor using the USB-Serial cable to your computer...
    and wait until Windows has finished installing the drivers automatically.
  4. Start the MT Manager to see if it works.


Database Setup

  • In order to decode a heading from the MTi sensor, add a Gyro and Compass System to your template and select the driver 'Motion Tracker MTi (Heading) (Active)'.
  • In order to decode the attitude from the MTi sensor, add a Pitch, Roll and Heave Sensor System to your template and select the driver 'XSens Motion Tracker MTi (Roll-Pitch) (Active)'.
    Rotation Measurements:


    Rotation Convention and Sign:

    Roll

    Positive heeling to starboard

    Pitch

    Positive bow up

    Heave

    N/A (Not Applicable)

  • To decode accelerations along and rotation rates around the three axes, add an Acceleration Velocity Sensor system to your database and select the driver XSens Motion Tracker MTi (Acc - RoT) (Active). Then add the following observations: Acceleration and/or Rate-Of-Turn for each axis (X), (Y) and (Z). The unit for the acceleration observation is meters / second squared. For the rate-of-turn, it is degrees / second.
    For all a-priori SD values, please consult the MTi Accuracy Specifications.

Online

After installing the SDK you will find the MT Manager in the Xsens program group under Start.
At time of writing this is version 1.5, which comes with SDK v3.1.

Xsens Usb Serial Converter Driver Download

Use the MT Manager program to

  • Check that your MTi sensor is working (see also chapter First Time Users...)
  • Set the required output settings, in order to communicate with Qinsy:
  1. Make sure your MTi sensor is connected to your computer and start the MT Manager
    The program will automatically scan all COMports to find the sensor.
    The COMport and baudrate that are found, should be the same as used in your template setup.
    Select the third toolbar icon, 'MT Settings', and highlight 'Output Options'
  2. Set the settings as described above and as shown in the screenshot below.
  3. Use the 'Write to MT' button to reprogram the sensor with these settings.

You need to exit in order to go on-line with Qinsy.

Drivers IO Notes

Command line parameter description for 'drivers.io' file. Please do not edit this drivers.io file, or only after contacting the QPS support dpt.

Cmdline XSENS_MTI' tells the driver to expect data from a XSens MTi sensor.

Cmdline 'ACTIVE' tells the driver to send commands to the sensor. This makes the setup procedure easier, since some settings are set by the driver and it is not necessary to set them manually.

Xsens Driver Download

Additional Information

References: XSens publications:

Sens Driver Download

  • MT0100P: MTi and MTx User Manual and Technical Documentation
  • MT0101P: MTi and MTx Low-level Communication Documentation




Comments are closed.