Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed IMU detection for Happy Mönch II #4470

Merged
merged 2 commits into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/core/positioning/nmeagnssreceiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,10 @@ void NmeaGnssReceiver::processImuSentence( const QString &sentence )
static const int IMU_KQGEO_STATUS_OK = 1026;
static const int IMU_KQGEO_STATUS_OK_NEW = 1967106;

QStringList parameters = sentence.split( ',' );
// Remove checksum
QString sentenceWithoutChecksum = sentence.split( '*' ).first();

QStringList parameters = sentenceWithoutChecksum.split( ',' );
domi4484 marked this conversation as resolved.
Show resolved Hide resolved
if ( parameters.size() <= PARAMETER_STATUS_INDEX )
return;

Expand Down
197 changes: 197 additions & 0 deletions test/nmea_server/happyMonch2WithIMU.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
$INS.NAVI,153411.40,46.5278837088,8.6071240338,1194.4258,-0.004,-0.001,-0.001,0.0170,0.0773,-1.8935,0.0036,-0.02366246,0.00388932,0.12697354,-0.01344191,0.00257276,0.00496971,31.76328468,1967106*44
$GNGGA,153412.00,4631.67305924,N,00836.42752370,E,4,20,0.9,1145.6315,M,50.3453,M,01,0*7E
$PTAX,TIME,2023-07-24_23:34:12*50
$GNGSA,M,3,04,06,07,19,03,09,,,,,,,1.5,0.9,1.2,1*34
$GNGSA,M,3,73,72,71,86,,,,,,,,,1.5,0.9,1.2,2*39
$GNGSA,M,3,26,13,07,,,,,,,,,,1.5,0.9,1.2,3*30
$GNGSA,M,3,33,05,42,41,24,28,14,,,,,,1.5,0.9,1.2,4*39
$GNRMC,153412.00,A,4631.67305924,N,00836.42752370,E,0.007,33.3,240723,1.0,E,R,V*70
$GNGST,153412.00,3.34,0.02,0.01,176.8543,0.008,0.004,0.017*4E
$INS.NAVI,153411.80,46.5278837091,8.6071240192,1194.4249,-0.005,-0.004,0.001,0.0170,0.0775,-1.8934,0.0039,-0.02369704,0.00385871,0.12702550,-0.01344126,0.00257328,0.00496951,31.76328468,1967106*6F
#REFSTATIONA,COM1,0,83.0,FINE,2272,142469.000,6875258,807,18;00000000,4347128.449,657860.915,4606868.969,0,RTCMV3,"0000"*295b00cc
$GPGSV,2,1,06,04,62,054,37,06,61,275,47,07,26,174,42,09,82,261,53,1*61
$GPGSV,2,2,06,19,16,237,33,03,33,101,40,1*6C
$GPGSV,2,1,05,04,62,054,34,06,61,275,42,07,26,174,37,09,82,261,48,4*69
$GPGSV,2,2,05,03,33,101,38,4*5C
$GPGSV,1,1,04,04,62,054,39,06,61,275,45,09,82,261,52,03,33,101,40,8*64
$GLGSV,1,1,04,86,53,241,51,73,15,130,39,72,23,269,41,71,63,314,33,1*76
$GLGSV,1,1,03,86,53,241,49,73,15,130,27,72,23,269,43,3*42
$GBGSV,2,1,07,33,74,319,42,05,18,120,30,42,40,075,35,41,26,274,43,1*71
$GBGSV,2,2,07,14,65,057,39,24,26,125,28,28,38,251,49,1*4B
$GBGSV,2,1,05,33,74,319,38,42,40,075,33,41,26,274,42,24,26,125,39,3*79
$GBGSV,2,2,05,28,38,251,46,3*44
$GBGSV,2,1,05,33,74,319,36,42,40,075,32,41,26,274,38,24,26,125,36,5*72
$GBGSV,2,2,05,28,38,251,41,5*45
$GBGSV,2,1,08,33,74,319,36,05,18,120,32,42,40,075,32,26,28,071,29,8*75
$GBGSV,2,2,08,41,26,274,40,14,65,057,42,24,26,125,39,28,38,251,37,8*7C
$GBGSV,1,1,02,05,18,120,36,14,65,057,42,B*0F
$GAGSV,1,1,03,26,65,247,47,07,82,265,49,13,31,170,40,1*40
$GAGSV,1,1,03,26,65,247,48,07,82,265,48,13,31,170,40,2*4D
$GAGSV,1,1,03,26,65,247,48,07,82,265,51,13,31,170,42,7*42
$GPSNR,6,1,21,4,37,34,39,6,47,43,46,7,42,38,0,9,51,49,51*43
$GPSNR,6,2,21,19,34,0,0,3,41,39,41,86,51,50,0,73,39,27,0*41
$GPSNR,6,3,21,72,41,43,0,71,33,0,0,193,42,0,37,165,31,37,33*7E
$GPSNR,6,4,21,202,35,0,32,186,0,0,30,201,44,0,41,174,40,43,42*7F
$GPSNR,6,5,21,184,28,0,39,188,49,0,37,287,49,48,48,268,51,48,50*70
$GPSNR,6,6,21,274,42,41,41*40
$GPSAV,4,1,21,4,,,6,,,7,,,9,,,19,,,3,,*4E
$GPSAV,4,2,21,86,,,73,,,72,,,71,,,193,,,165,,*7A
$GPSAV,4,3,21,202,,,186,,,201,,,174,,,184,,,188,,*79
$GPSAV,4,4,21,287,,,268,,,274,,*60
$INS.NAVI,153412.20,46.5278836652,8.6071240006,1194.4418,-0.004,0.001,0.001,0.0170,0.0774,-1.8934,0.0039,-0.02368843,0.00384318,0.12701544,-0.01344150,0.00257368,0.00496952,31.76328468,1967106*40
$INS.NAVI,153412.60,46.5278837052,8.6071240042,1194.4363,-0.005,-0.003,-0.001,0.0171,0.0775,-1.8934,0.0040,-0.02370553,0.00382991,0.12698358,-0.01344108,0.00257375,0.00496984,31.76328468,1967106*4D
$GNGGA,153413.00,4631.67305674,N,00836.42752259,E,4,20,0.9,1145.6531,M,50.3453,M,01,0*7F
$GNGSA,M,3,04,06,07,19,03,09,,,,,,,1.5,0.9,1.2,1*34
$GNGSA,M,3,73,72,71,86,,,,,,,,,1.5,0.9,1.2,2*39
$GNGSA,M,3,26,13,07,,,,,,,,,,1.5,0.9,1.2,3*30
$GNGSA,M,3,33,05,42,41,24,28,14,,,,,,1.5,0.9,1.2,4*39
$GNRMC,153413.00,A,4631.67305674,N,00836.42752259,E,0.008,35.4,240723,1.0,E,R,V*7F
$INS.NAVI,153413.00,46.5278837077,8.6071239902,1194.4404,-0.004,0.002,-0.001,0.0170,0.0775,-1.8934,0.0042,-0.02371196,0.00380764,0.12696588,-0.01344100,0.00257412,0.00497097,31.76328468,1967106*6D
$INS.NAVI,153413.40,46.5278837552,8.6071240186,1194.4195,-0.004,-0.001,0.000,0.0172,0.0775,-1.8933,0.0045,-0.02374641,0.00378861,0.12699465,-0.01344031,0.00257426,0.00497200,31.76328468,1967106*6C
$GNGGA,153414.00,4631.67306050,N,00836.42752357,E,4,20,0.9,1145.6326,M,50.3453,M,01,0*74
$PTAX,TIME,2023-07-24_23:34:14*56
$GNGSA,M,3,04,06,07,19,03,09,,,,,,,1.5,0.9,1.2,1*34
$GNGSA,M,3,73,72,71,86,,,,,,,,,1.5,0.9,1.2,2*39
$GNGSA,M,3,26,13,07,,,,,,,,,,1.5,0.9,1.2,3*30
$GNGSA,M,3,33,05,42,41,24,28,14,,,,,,1.5,0.9,1.2,4*39
$GNRMC,153414.00,A,4631.67306050,N,00836.42752357,E,0.004,55.8,240723,1.0,E,R,V*72
$GNGST,153414.00,3.44,0.02,0.01,177.1501,0.008,0.004,0.017*41
$INS.NAVI,153413.80,46.5278837451,8.6071240130,1194.4216,-0.004,0.003,0.003,0.0170,0.0776,-1.8933,0.0048,-0.02378512,0.00376771,0.12703799,-0.01343953,0.00257446,0.00497293,31.76328468,1967106*4A
$INS.NAVI,153414.20,46.5278837689,8.6071240182,1194.4180,-0.004,0.001,0.005,0.0171,0.0775,-1.8933,0.0053,-0.02384304,0.00375273,0.12707257,-0.01343829,0.00257442,0.00497258,31.76328468,1967106*43
$SYDL,82*24
$INS.NAVI,153414.60,46.5278837260,8.6071239720,1194.4335,-0.003,0.003,0.003,0.0170,0.0776,-1.8932,0.0053,-0.02384754,0.00374342,0.12701948,-0.01343814,0.00257435,0.00497545,31.76328468,1967106*4D
$HMPNT,153415.00,T08R27116500671,,4,20,BATTERY,8.60712538837,46.52788430463,1145.6424,50.3453,1.5,0.9,1.2,0.020,0.010,0.009,0.017*18
$GNGGA,153415.00,4631.67305948,N,00836.42752395,E,4,20,0.9,1145.6414,M,50.3453,M,01,0*7E
$PSIC,STA,T08R27116500671,BATTERY,84,0,0,ROM,7270,7270,0,,,,*56
$GNGSA,M,3,04,06,07,19,03,09,,,,,,,1.5,0.9,1.2,1*34
$GNGSA,M,3,73,72,71,86,,,,,,,,,1.5,0.9,1.2,2*39
$GNGSA,M,3,26,13,07,,,,,,,,,,1.5,0.9,1.2,3*30
$GNGSA,M,3,33,05,42,41,24,28,14,,,,,,1.5,0.9,1.2,4*39
$GNRMC,153415.00,A,4631.67305948,N,00836.42752395,E,0.005,141.6,240723,1.0,E,R,V*45
$INS.NAVI,153415.00,46.5278837516,8.6071240146,1194.4287,-0.003,0.003,0.003,0.0171,0.0775,-1.8931,0.0055,-0.02389190,0.00374942,0.12700234,-0.01343707,0.00257362,0.00497708,31.76328468,1967106*40
$INS.NAVI,153415.40,46.5278837814,8.6071239987,1194.4234,-0.003,0.002,0.002,0.0170,0.0776,-1.8931,0.0057,-0.02392143,0.00374424,0.12699097,-0.01343638,0.00257344,0.00497779,31.76328468,1967106*44
$GNGGA,153416.00,4631.67306088,N,00836.42752378,E,4,20,0.9,1145.6370,M,50.3453,M,01,0*7D
$PTAX,TIME,2023-07-24_23:34:16*54
$GNGSA,M,3,04,06,07,19,03,09,,,,,,,1.5,0.9,1.2,1*34
$GNGSA,M,3,73,72,71,86,,,,,,,,,1.5,0.9,1.2,2*39
$GNGSA,M,3,26,13,07,,,,,,,,,,1.5,0.9,1.2,3*30
$GNGSA,M,3,33,05,42,41,24,28,14,,,,,,1.5,0.9,1.2,4*39
$GNRMC,153416.00,A,4631.67306088,N,00836.42752378,E,0.004,43.3,240723,1.0,E,R,V*74
$GNGST,153416.00,3.52,0.02,0.01,177.2255,0.008,0.004,0.017*41
$INS.NAVI,153415.80,46.5278837474,8.6071239997,1194.4272,-0.003,0.004,0.003,0.0172,0.0775,-1.8931,0.0059,-0.02395194,0.00375332,0.12699620,-0.01343572,0.00257292,0.00497768,31.76328468,1967106*48
$INS.NAVI,153416.20,46.5278837754,8.6071240174,1194.4220,-0.002,0.001,0.003,0.0171,0.0775,-1.8931,0.0059,-0.02397474,0.00374201,0.12699732,-0.01343520,0.00257302,0.00497825,31.76328468,1967106*49
$INS.NAVI,153416.60,46.5278837938,8.6071240048,1194.4232,-0.001,0.004,0.004,0.0172,0.0775,-1.8930,0.0062,-0.02401694,0.00373715,0.12699258,-0.01343413,0.00257282,0.00497760,31.76328468,1967106*43
$GNGGA,153417.00,4631.67306402,N,00836.42752416,E,4,20,0.9,1145.6335,M,50.3453,M,01,0*74
$GNGSA,M,3,04,06,07,19,03,09,,,,,,,1.5,0.9,1.2,1*34
$GNGSA,M,3,73,72,71,86,,,,,,,,,1.5,0.9,1.2,2*39
$GNGSA,M,3,26,13,07,,,,,,,,,,1.5,0.9,1.2,3*30
$GNGSA,M,3,33,05,42,41,24,28,14,,,,,,1.5,0.9,1.2,4*39
$GNRMC,153417.00,A,4631.67306402,N,00836.42752416,E,0.004,47.1,240723,1.0,E,R,V*7A
$GPSNR,6,1,21,4,38,34,40,6,47,43,46,7,42,38,0,9,51,49,51*42
$GPSNR,6,2,21,19,36,0,0,3,41,38,41,86,51,49,0,73,39,30,0*4C
$GPSNR,6,3,21,72,42,43,0,71,34,24,0,193,42,0,37,165,31,37,33*4C
$GPSNR,6,4,21,202,35,0,33,186,0,0,30,201,44,0,41,174,40,43,42*7E
$GPSNR,6,5,21,184,31,0,40,188,49,0,37,287,49,48,48,268,51,49,50*77
$GPSNR,6,6,21,274,42,41,41*40
$INS.NAVI,153417.00,46.5278838275,8.6071240187,1194.4208,-0.001,0.000,0.003,0.0171,0.0774,-1.8930,0.0063,-0.02403714,0.00374380,0.12697737,-0.01343367,0.00257238,0.00497790,31.76328468,1967106*4E
$INS.NAVI,153417.40,46.5278837202,8.6071239987,1194.4275,-0.000,0.004,0.002,0.0172,0.0775,-1.8930,0.0061,-0.02405168,0.00374815,0.12695712,-0.01343319,0.00257208,0.00497830,31.76328468,1967106*4B
$GNGGA,153418.00,4631.67305832,N,00836.42752297,E,4,20,0.9,1145.6337,M,50.3453,M,01,0*7A
$PTAX,TIME,2023-07-24_23:34:18*5A
$GNGSA,M,3,04,06,07,19,03,09,,,,,,,1.5,0.9,1.2,1*34
$GNGSA,M,3,73,72,71,86,,,,,,,,,1.5,0.9,1.2,2*39
$GNGSA,M,3,26,13,07,,,,,,,,,,1.5,0.9,1.2,3*30
$GNGSA,M,3,33,05,42,41,24,28,14,,,,,,1.5,0.9,1.2,4*39
$GNRMC,153418.00,A,4631.67305832,N,00836.42752297,E,0.006,64.3,240723,1.0,E,R,V*77
$GNGST,153418.00,3.56,0.02,0.01,177.3708,0.008,0.004,0.017*47
$INS.NAVI,153417.80,46.5278836864,8.6071240121,1194.4324,-0.002,0.001,0.001,0.0172,0.0773,-1.8930,0.0060,-0.02403623,0.00377835,0.12692428,-0.01343355,0.00257125,0.00497798,31.76328468,1967106*4B
$INS.NAVI,153418.20,46.5278837097,8.6071239978,1194.4273,-0.002,0.003,0.001,0.0172,0.0774,-1.8929,0.0055,-0.02404019,0.00378734,0.12692848,-0.01343343,0.00257093,0.00497864,31.76328468,1967106*4D
$INS.NAVI,153418.60,46.5278837297,8.6071240397,1194.4330,-0.003,0.001,-0.001,0.0171,0.0773,-1.8929,0.0049,-0.02404058,0.00379207,0.12687834,-0.01343327,0.00257062,0.00497895,31.76328468,1967106*63
$GNGGA,153419.00,4631.67305582,N,00836.42752538,E,4,20,0.9,1145.6493,M,50.3453,M,01,0*76
$GNGSA,M,3,04,06,07,19,03,09,,,,,,,1.5,0.9,1.2,1*34
$GNGSA,M,3,73,72,71,86,,,,,,,,,1.5,0.9,1.2,2*39
$GNGSA,M,3,26,13,07,,,,,,,,,,1.5,0.9,1.2,3*30
$GNGSA,M,3,33,05,42,41,24,28,14,,,,,,1.5,0.9,1.2,4*39
$GNRMC,153419.00,A,4631.67305582,N,00836.42752538,E,0.011,58.1,240723,1.0,E,R,V*79
$INS.NAVI,153419.00,46.5278836904,8.6071240405,1194.4366,-0.003,0.001,-0.002,0.0172,0.0774,-1.8928,0.0047,-0.02404696,0.00377528,0.12685151,-0.01343296,0.00257102,0.00497940,31.76328468,1967106*6E
$PTAX,LTE,0,37252,7451296,25,1*4D
$INS.NAVI,153419.40,46.5278837325,8.6071240761,1194.4360,-0.004,0.002,-0.002,0.0172,0.0772,-1.8929,0.0044,-0.02405206,0.00377526,0.12682833,-0.01343281,0.00257101,0.00497811,31.76328468,1967106*6D
$HMPNT,153420.00,T08R27116500671,,4,20,BATTERY,8.60712541127,46.52788433540,1145.6386,50.3453,1.9,1.1,1.2,0.020,0.010,0.009,0.017*11
$GNGGA,153420.00,4631.67306158,N,00836.42752709,E,4,20,0.9,1145.6394,M,50.3453,M,01,0*7C
$PTAX,TIME,2023-07-24_23:34:20*51
$PSIC,STA,T08R27116500671,BATTERY,84,0,0,ROM,7270,7270,0,,,,*56
$GNGSA,M,3,04,06,07,19,03,09,,,,,,,1.5,0.9,1.2,1*34
$GNGSA,M,3,73,72,71,86,,,,,,,,,1.5,0.9,1.2,2*39
$GNGSA,M,3,26,13,07,,,,,,,,,,1.5,0.9,1.2,3*30
$GNGSA,M,3,33,05,42,41,24,28,14,,,,,,1.5,0.9,1.2,4*39
$GNRMC,153420.00,A,4631.67306158,N,00836.42752709,E,0.006,50.3,240723,1.0,E,R,V*7F
$INS.NAVI,153419.80,46.5278837354,8.6071240588,1194.4339,-0.004,0.001,-0.002,0.0172,0.0774,-1.8928,0.0044,-0.02407620,0.00376591,0.12682790,-0.01343207,0.00257107,0.00497805,31.76328468,1967106*6E
$GNGST,153420.00,3.30,0.02,0.01,177.3576,0.008,0.004,0.016*46
$INS.NAVI,153420.20,46.5278837226,8.6071240506,1194.4392,-0.003,0.002,-0.002,0.0171,0.0773,-1.8928,0.0044,-0.02410488,0.00377182,0.12682708,-0.01343124,0.00257061,0.00497711,31.76328468,1967106*64
$INS.NAVI,153420.60,46.5278836665,8.6071240727,1194.4519,-0.004,-0.000,-0.005,0.0171,0.0774,-1.8928,0.0043,-0.02409633,0.00377482,0.12674926,-0.01343123,0.00257047,0.00497645,31.76328468,1967106*4E
$GNGGA,153421.00,4631.67305488,N,00836.42752705,E,4,20,0.9,1145.6625,M,50.3453,M,01,0*75
$GNGSA,M,3,04,06,07,19,03,09,,,,,,,1.5,0.9,1.2,1*34
$GNGSA,M,3,73,72,71,86,,,,,,,,,1.5,0.9,1.2,2*39
$GNGSA,M,3,26,13,07,,,,,,,,,,1.5,0.9,1.2,3*30
$GNGSA,M,3,33,05,42,41,24,28,14,,,,,,1.5,0.9,1.2,4*39
$GNRMC,153421.00,A,4631.67305488,N,00836.42752705,E,0.012,85.6,240723,1.0,E,R,V*71
$INS.NAVI,153421.00,46.5278836771,8.6071240698,1194.4497,-0.005,0.003,-0.005,0.0171,0.0773,-1.8928,0.0037,-0.02409585,0.00376912,0.12672901,-0.01343119,0.00257061,0.00497678,31.76328468,1967106*6F
$SYDL,83*25
$INS.NAVI,153421.40,46.5278837042,8.6071240960,1194.4383,-0.006,-0.001,-0.005,0.0171,0.0772,-1.8928,0.0038,-0.02411190,0.00375904,0.12673262,-0.01343063,0.00257088,0.00497610,31.76328468,1967106*42
$GNGGA,153422.00,4631.67305503,N,00836.42752807,E,4,20,0.9,1145.6559,M,50.3453,M,01,0*71
$PTAX,TIME,2023-07-24_23:34:22*53
$GNGSA,M,3,04,06,07,19,03,09,,,,,,,1.5,0.9,1.2,1*34
$GNGSA,M,3,73,72,71,86,,,,,,,,,1.5,0.9,1.2,2*39
$GNGSA,M,3,26,13,07,,,,,,,,,,1.5,0.9,1.2,3*30
$GNGSA,M,3,33,05,42,41,24,28,14,,,,,,1.5,0.9,1.2,4*39
$GNRMC,153422.00,A,4631.67305503,N,00836.42752807,E,0.010,45.8,240723,1.0,E,R,V*7D
$GNGST,153422.00,3.32,0.02,0.01,177.2987,0.008,0.004,0.016*45
$INS.NAVI,153421.80,46.5278836818,8.6071240740,1194.4429,-0.006,0.002,-0.003,0.0170,0.0772,-1.8928,0.0036,-0.02412821,0.00375711,0.12674586,-0.01343011,0.00257078,0.00497623,31.76328468,1967106*6E
#REFSTATIONA,COM1,0,79.0,FINE,2272,142479.000,6885258,807,18;00000000,4347128.449,657860.915,4606868.969,0,RTCMV3,"0000"*b6a0879f
$GPGSV,2,1,06,04,62,054,37,06,61,275,47,07,26,174,42,09,82,262,53,1*62
$GPGSV,2,2,06,19,15,237,37,03,33,101,41,1*6A
$GPGSV,2,1,06,04,62,054,33,06,61,275,42,07,26,174,37,09,82,262,48,4*6E
$GPGSV,2,2,06,19,15,237,29,03,33,101,38,4*6E
$GPGSV,1,1,04,04,62,054,39,06,61,275,45,09,82,262,52,03,33,101,40,8*67
$GLGSV,1,1,04,86,53,240,51,73,15,130,41,72,23,269,42,71,63,314,33,1*7B
$GLGSV,1,1,04,86,53,240,49,73,15,130,27,72,23,269,43,71,63,314,24,3*77
$GBGSV,2,1,07,33,74,319,42,05,18,120,31,42,40,075,35,41,26,274,44,1*77
$GBGSV,2,2,07,14,65,058,40,24,26,125,31,28,38,250,49,1*43
$GBGSV,2,1,05,33,74,319,39,42,40,075,34,41,26,274,42,24,26,125,39,3*7F
$GBGSV,2,2,05,28,38,250,46,3*45
$GBGSV,2,1,05,33,74,319,37,42,40,075,32,41,26,274,39,24,26,125,37,5*73
$GBGSV,2,2,05,28,38,250,41,5*44
$GBGSV,2,1,08,33,74,319,37,05,18,120,32,42,40,075,32,26,28,070,29,8*75
$GBGSV,2,2,08,41,26,274,41,14,65,058,42,24,26,125,39,28,38,250,37,8*73
$GBGSV,1,1,02,05,18,120,36,14,65,058,42,B*00
$GAGSV,1,1,03,26,65,247,47,07,82,265,50,13,31,170,40,1*48
$GAGSV,1,1,03,26,65,247,48,07,82,265,48,13,31,170,41,2*4C
$GAGSV,1,1,03,26,65,247,48,07,82,265,51,13,31,170,42,7*42
$GPSNR,6,1,21,4,38,33,39,6,47,43,46,7,42,38,0,9,51,49,51*4B
$GPSNR,6,2,21,19,37,30,0,3,41,38,41,86,51,49,0,73,41,27,0*77
$GPSNR,6,3,21,72,42,43,0,71,33,24,0,193,42,0,37,165,31,37,33*4B
$GPSNR,6,4,21,202,35,0,33,186,0,0,30,201,44,0,41,174,40,43,42*7E
$GPSNR,6,5,21,184,31,0,40,188,49,0,37,287,48,48,48,268,51,49,50*76
$GPSNR,6,6,21,274,42,41,41*40
$GPSAV,4,1,21,4,,,6,,,7,,,9,,,19,,,3,,*4E
$GPSAV,4,2,21,86,,,73,,,72,,,71,,,193,,,165,,*7A
$GPSAV,4,3,21,202,,,186,,,201,,,174,,,184,,,188,,*79
$GPSAV,4,4,21,287,,,268,,,274,,*60
$INS.NAVI,153422.20,46.5278836731,8.6071240697,1194.4475,-0.007,-0.002,-0.002,0.0170,0.0771,-1.8927,0.0037,-0.02415213,0.00375047,0.12675795,-0.01342932,0.00257069,0.00497700,31.76328468,1967106*41
$INS.NAVI,153422.60,46.5278837376,8.6071240876,1194.4444,-0.006,0.001,-0.001,0.0170,0.0772,-1.8927,0.0045,-0.02417299,0.00371889,0.12676997,-0.01342869,0.00257163,0.00497747,31.76328468,1967106*6C
$GNGGA,153423.00,4631.67305749,N,00836.42752793,E,4,20,0.9,1145.6610,M,50.3453,M,01,0*70
$GNGSA,M,3,04,06,07,19,03,09,,,,,,,1.5,0.9,1.2,1*34
$GNGSA,M,3,73,72,71,86,,,,,,,,,1.5,0.9,1.2,2*39
$GNGSA,M,3,26,13,07,,,,,,,,,,1.5,0.9,1.2,3*30
$GNGSA,M,3,33,05,42,41,24,28,14,,,,,,1.5,0.9,1.2,4*39
$GNRMC,153423.00,A,4631.67305749,N,00836.42752793,E,0.011,4.5,240723,1.0,E,R,V*4B
$INS.NAVI,153423.00,46.5278837216,8.6071240884,1194.4483,-0.006,-0.002,-0.001,0.0171,0.0771,-1.8927,0.0049,-0.02420276,0.00370178,0.12676027,-0.01342763,0.00257189,0.00497762,31.76328468,1967106*4D
$INS.NAVI,153423.40,46.5278837473,8.6071240646,1194.4408,-0.006,-0.002,-0.001,0.0170,0.0771,-1.8927,0.0052,-0.02421954,0.00369039,0.12675762,-0.01342711,0.00257213,0.00497746,31.76328468,1967106*44
$GNGGA,153424.00,4631.67305702,N,00836.42752545,E,4,20,0.9,1145.6564,M,50.3453,M,01,0*71
$PTAX,TIME,2023-07-24_23:34:24*55
$GNGSA,M,3,04,06,07,19,03,09,,,,,,,1.5,0.9,1.2,1*34
$GNGSA,M,3,73,72,71,86,,,,,,,,,1.5,0.9,1.2,2*39
$GNGSA,M,3,26,13,07,,,,,,,,,,1.5,0.9,1.2,3*30
$GNGSA,M,3,33,05,42,41,24,28,14,,,,,,1.5,0.9,1.2,4*39
$GNRMC,153424.00,A,4631.67305702,N,00836.42752545,E,0.011,16.3,240723,1.0,E,R,V*7F
$GNGST,153424.00,3.33,0.02,0.01,177.4489,0.008,0.004,0.016*47
$INS.NAVI,153423.80,46.5278837240,8.6071240597,1194.4396,-0.007,-0.002,0.001,0.0171,0.0770,-1.8926,0.0056,-0.02424461,0.00368445,0.12678455,-0.01342636,0.00257210,0.00497743,31.76328468,1967106*60
13 changes: 13 additions & 0 deletions test/qml/tst_positioning.qml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,17 @@ TestCase {
compare(positioning.positionInformation.qualityDescription, "Float RTK + IMU")
compare(positioning.positionInformation.imuCorrection, true)
}

function test_06_happyMonch2IMU() {
positioning.deviceId = 'udp:localhost:1960'

coordinateTransformer.deltaZ = 0
coordinateTransformer.verticalGrid = ''

// wait a few seconds so positioning can catch some NMEA strings
wait(2500)

compare(positioning.positionInformation.qualityDescription, "Fixed RTK + IMU")
compare(positioning.positionInformation.imuCorrection, true)
}
}
3 changes: 3 additions & 0 deletions test/test_qml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ class Setup : public QObject
NmeaServer mNmeaServerTrimbleR1 = NmeaServer( "TrimbleR1.txt", NmeaServer::Udp, 1958 );
NmeaServer mNmeaServerHappy = NmeaServer( "happy.txt", NmeaServer::Tcp, 11111 );
NmeaServer mNmeaServerHappyWithIMU = NmeaServer( "happyWithIMU.txt", NmeaServer::Udp, 1959 );
NmeaServer mNmeaServerHappyMonch2WithIMU = NmeaServer( "happyMonch2WithIMU.txt", NmeaServer::Udp, 1960 );

QString mDataDir;

Expand Down Expand Up @@ -140,13 +141,15 @@ class Setup : public QObject
mNmeaServerTrimbleR1.start( nmeaServerLocation );
mNmeaServerHappy.start( nmeaServerLocation );
mNmeaServerHappyWithIMU.start( nmeaServerLocation );
mNmeaServerHappyMonch2WithIMU.start( nmeaServerLocation );
}

void cleanupTestCase()
{
mNmeaServerTrimbleR1.kill();
mNmeaServerHappy.kill();
mNmeaServerHappyWithIMU.kill();
mNmeaServerHappyMonch2WithIMU.kill();
}

void qmlEngineAvailable( QQmlEngine *engine )
Expand Down
Loading