User manual


DocumentMT0100P.N
©XsensTechnologiesB.V. MTiandMTxUserManualandTechnicalDocumentation
25
State. The data in theConfigurationmessage can always be used to determine the output mode and
settings.ItisalsopossibletoentertheConfigStateatpowerup,seeWakeUpmessagedescriptionintheMTi
andMTxLowLevelCommunicationDocument.AnotherwaytoentertheConfigStateorMeasurementState
istousetheGoToConfigor GoToMeasurementmessages.
ThedefaultconfigurationoftheMTi/MTxisshowninthefollowingtable.
With the default configuration the MTi / MTx outputs in Measurement State the MTData message at a
frequency of 100Hz (based on its internal clock). The MTData message contains the orientation data in
quaternionstogetherwithasamplecounter.
Ifyouwanttoretrievetheoutput data on request then set Outputskipfactortovalue65535 (0xFFFF) and
sendReqMTDatamessagetothedevice.FormoreinformationseeMTiandMTxLowLevelCommunication
Document.
5.3 Messages
5.3.1 Messagestructure
The communication with the MTi and MTx is done by messages which are built according to a standard
structure.ThestandardMTmessagecancontainzeroto254bytesofdataandthetotallengthisfiveto259
bytes.
AnMTmessagecontainsthefollowingfields:

device. This data is referred to as the eMTS data (extended Motion Tracker Specification data). This data is
requiredtobeabletolaterprocessthedatabyXsenssoftwaretocalculatecalibratedinertialdatavaluesas
wellasestimatingorientationetc.
Property Value
Outputmode Orientationoutput
Outputsettings Orientationinquaternionmode
Samplecounterenabled
Samplefrequency 100Hz
Baudrate 115k2bps
Outputskipfactor 0
Field Fieldwidth Description
PRE 1byte Preamble,indicatorofstartofpacket
Æ250(0xFA)
BID 1byte Busidentifier/address Æ 255(0xFF)
MID 1byte Messageidentifier
LEN 1byte ValueequalsnumberofbytesinDATAfield
Maximumvalueis254(0xFE).Value255(0xFF)isreserved.
DATA 0
254bytes Databytes(optional)
CS 1byte Checksumofmessage