Delft’s Xsens is giving some errors, while UvA’s is working fine, after configuring. I started expecting the error when comparing both orientation filters.

Delft’s Xsens is a MTi-28A53G35, UvA’s Xsens is a MTi-G-700-2A5G4. UvA’s sensor is more recent.

The Delft sensor’s orientation slowly goes back to its original direction when in certain orientations, while the UvA sensor does not. This difference is so big that it hardly cannot be due to version differences; Xsens was reknown even before the UvA’s sensor came out.

Both Xsens sensors have been configured the same:

rosrun xsens_driver mtdevice.py -c -p 576 -m co -s nqAGM

The Delft sensor does not give any error:

Configuring mode and settings  Ok

However, the UvA sensor does give an error:

Configuring mode and settingsMT error 0x04: Invalid message. MT error: timeout waiting for message.

Reading out it settings for Delft with rosrun xsens_driver mtdevice.py -i

Device: /dev/ttyUSB0 at 115200 Bd:
General configuration: {'output-settings': 0, 'device ID': 3147668, 'length': 52, 'skipfactor': 0, 'number of devices': 1, 'time': '\x00\x00\x00\x00\x00\x00\x00\x00', 'date': '\x00\x00\x00\x00\x00\x00\x00\x00', 'output-mode': 6, 'Master device ID': 3147668, 'period': 576}
MT error 0x04: Invalid message.Available scenarios: MT error: timeout waiting for message.

And for UvA:

Device: /dev/ttyUSB0 at 115200 Bd:
General configuration: {'output-settings': 0, 'device ID': 124780678, 'length': 0, 'skipfactor': 0, 'number of devices': 1, 'time': '\x00\x00\x00\x00\x00\x00\x00\x00', 'date': '\x00\x00\x00\x00\x00\x00\x00\x00', 'output-mode': 6, 'Master device ID': 124780678, 'period': 576}
Available scenarios: [(1, 1, 'General'), (2, 1, 'GeneralNoBaro'), (3, 1, 'GeneralMag'), (4, 1, 'Automotive'), (5, 1, 'AutoUrbanCanyon')]
Current scenario:  (id: 257)

After playing with the order of printing statements in the code, it seems that the Delft sensor has issues with reporting on its Xsens Kalman Filter (XKF) properties (which one is set, which are available). The XKF outputs the orientation of the sensor. Depending of the application of the sensor a different XKF can be selected.

This might be attributed with an (unknown) bug in xsens_driver. Therefore I tried to inspect both sensors in the MT Manager. Under Linux (32-bit) none of the devices is found. The UvA sensor is found under Windows 7. Windows could not find proper driver for the Delft sensor, and the ones I selected from the list were not succesful (selected MTi-10, -100, -20, 200, but all were not recognized by MT Manager).

Could there be something wrong with the Delft sensor?