如何解释 gpscat 的结果?

如何解释 gpscat 的结果?

我一直在尝试从嵌入式系统获取 GPS 数据。这是我使用的命令:

gpscat /dev/ttyS2

我得到了这样的连续输出流:

$GLGSV,1,1,03,70,14,098.6102,E,121853.000,A,A*50 $GPRMC,121853.000,A,59480,N,00604.6102,E,AA,10,1.0,203.6,47.6,,*64 $04.6102,E,121854.000,A,A*57 $GPRMC,121854.000,A$GPGSV,2,1,08,05,11,032,40,16,55,300,14,18,17,14GLL,5046.9480,N,00604.6102, E,121855.000,A,A*56 +GPSPVT:0,12:18:57,17/07/2017,3D 修复,N 050 46'5604.6102,E,121857.000,A,A*54 $GPRMC,121857.000,A6 ,35,20,31,075,35*7D $GPGSV,2,2,08,21,74,133,29GLL,5046.9480,N,00604.6102,E,121858.000,A,A*5B *59 $GLGSA,A,3,70 ,85,,,,,,,,,,,,,,1.0,*25 $GNGGLL,5046.9480,N,00604.6102,E,121859.000,A,A*5A ,16,18,20,21,26,29 ,31,,,,,1.6,1.0,1.2*2E $GNGSA5046.9480,N,00604.6102,E,0.0,321.6,170717,,,A*61.88",E 006 04'36.61",+0203m $GPVTG, 321.6,T,,M,0GLL,5046.9480,N,00604.6102,E,121903.000,A,A*54 ,031,40,16,56,299,17,18,19,145,35,20,31,074,35*74.6102,E ,121904.000,A,A*53 $GPRMC,121904.000,A,,080,37,31,16,203,21*7E $GLGSV,1,1,03,70,15,09704.6102,E,121905.000,A,A* 52 $GPRMC,121905.000,A8,05,10,031,40,16,56,299,18,18,19,145,35,20,31,0,*62 $GNGSA,A,3,05,16,18,20,21 ,26,29,31,,,,,1.6.88",E 006 04'36.61",+0203m $GPGGA,12

你能解释一下我将如何解释这一点吗?

答案1

了解 NMEA 协议及其原始信息、详细信息这里, 和这里

每行是协议帧: $GPRMC,123519,A,4807.038,N,01131.000,E,022.4,084.4,230394,003.1,W*6A

在哪里:

 RMC          Recommended Minimum sentence C
 123519       Fix taken at 12:35:19 UTC
 A            Status A=active or V=Void.
 4807.038,N   Latitude 48 deg 07.038' N
 01131.000,E  Longitude 11 deg 31.000' E
 022.4        Speed over the ground in knots
 084.4        Track angle in degrees True
 230394       Date - 23rd of March 1994
 003.1,W      Magnetic Variation
 *6A          The checksum data, always begins with *

请注意,从 NMEA 2.3 版本开始,有一个新字段

相关内容