[DefaultCom] DefaultBaudrate=115000 DefaultParity=0 DefaultStopBits=1 DefaultDataBits=8 [General] SyncMode=3 //raw mode DataRate=30 // Maximum expected data rate 30 Hz TimeOut=5.0 // Maximum time out is 1 seconds NumberOfMessages=1 // Number of messages defined in this file DevType=MTI DeviceDll = MotionTrackerInterface [Msg(0)] ID=\xFA\xFF\x32 IDStart=0 IDLength=3 MessageType=9 //Decoding methode formula MsgMode=0 //Input message NewElement=1 NumDataEntries=3 NormData(0).Entry=0 NormData(0).Formula=0 // No heave NormData(1).Entry=1 NormData(1).Formula=BinValue(GetSubStr(var0,4,4),-3)/1048576 //Roll // to convert euler roll to roll use following formula //NormData(1).Formula=Asin(Cos(BinValue(GetSubStr(var0,8,4),-3)/1048576)*Sin(BinValue(GetSubStr(var0,4,4),-3)/1048576)) //Roll NormData(1).Unit=Degrees (Port Up) NormData(2).Entry=2 NormData(2).Formula=BinValue(GetSubStr(var0,8,4),-3)/1048576 //Pitch NormData(2).Unit=Degrees (Bow Down)