当前位置:网站首页>Analysis and processing of GPS data format [easy to understand]
Analysis and processing of GPS data format [easy to understand]
2022-06-28 13:44:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
GPS The output statements of the receiver are :GPGGA,GPRMC,GPVTG,GPGSV,
1.$GPGGA,GPS Fix data Output statement
Its standard format is :
$GPGGA,(1),(2),(3),(4),(5),(6),(7),(8),(9),M,(10),M,(11),(12)*hh(CR)(LF)
With $GPGGA,082006.000,3852.9276,N,11527.4283,E,1,08,1.0,20.6,M,,,,0000*35 For example , The meaning of each part is as follows ,
(1) location UTC Time :08 when 20 branch 06 second
(2) latitude ( Format ddmm.mmmm: namely dd degree ,mm.mmmm branch );
(3) N/S( North or south latitude ): North latitude 38 degree 52.9276 branch ;
(4) longitude ( Format dddmm.mmmm: namely ddd degree ,mm.mmmm branch );
(5) E/W( East or west longitude ): East longitude 115 degree 27.4283 branch ;
(6) Quality factor (0= No location ,1= real time GPS,2= Difference GPS):1= real time GPS;
(7) Number of satellites available (0~8): Number of satellites available =08;
(8) Horizontal accuracy factor (1.0~99.9); Horizontal accuracy factor =1.0;
(9) Antenna elevation ( The sea level ,-9999.9~99999.9, Company :m); Antenna elevation =20.6m);
(10) The height of the ellipsoid relative to sea level (-999.9~9999.9, Company :m): nothing ;
(11) Difference GPS Data age , real time GPS No time : nothing ;
(12) Differential reference station No (0000~1023), real time GPS No time : nothing ;
* Checksum field ;hh Checksum :35(CR)(LF) enter , Line break .
2. $GPRMC,GPS Recommended location information
Its standard format is :
$GPRMC,<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>,<10>,<11><CR><LF>
With $GPRMC,082006.000,A,3852.9276,N,11527.4283,E,0.00,0.0,261009,,*38 For example , The semantics of each part are as follows ,
(1) Standard positioning time (UTC time) Format : Every minute . Seconds seconds seconds seconds (hhmmss.sss).
(2) Positioning status ,A = Data available ,V = Data not available .
(3) latitude , Format : Degrees and minutes . Minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute (ddmm.mmmm).
(4) Latitude distinction , Northern Hemisphere (N) Or the southern hemisphere (S).
(5) longitude , Format : Degrees and minutes . Minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute minute .
(6) Longitude discrimination , In the east (E) Hemisphere or Western (W) hemisphere .
(7) Relative displacement velocity , 0.0 to 1851.8 knots
(8) Relative displacement direction ,000.0 to 359.9 degree . actual value .
(9) date , Format : Day after day, month after month, year after year (ddmmyy).
(10) Pole variable ,000.0 to 180.0.
(11) Degrees .
(12) Checksum.( Check position )
3. $GPVTG,GPS Ground speed information
Its standard format is :
$GPVTG,<1>,T,<2>,M,<3>,N,<4>,K,<5>*hh
With $GPVTG,0.0,T,,M,0.00,N,0.0,K*50 For example , The semantics of each part are as follows ,
<1> Ground course with true north as reference (000~359 degree , Ahead 0 Will also be transmitted )
<2> Ground course with magnetic north as reference (000~359 degree , Ahead 0 Will also be transmitted )
<3> Ground speed (000.0~999.9 section , Ahead 0 Will also be transmitted )
<4> Ground speed (0000.0~1851.8 km / Hours , Ahead 0 Will also be transmitted )
<5> Mode indication ( only NMEA0183 3.00 Version output ,A= Self positioning ,D= Difference ,E= Estimate ,N= Invalid data )
4. $GPGSV,GPS Visual satellite status output statement
Its standard format is :
$GPGSV,(1),(2),(3),(4),(5),(6),(7),…(4),(5),(6),(7)*hh(CR)(LF)
With $GPGSV,2,1,08,06,33,240,45,10,36,074,47,16,21,078,44,17,36,313,42*78 For example , The semantics of each part are as follows ,
(1) The total GSV The number of sentence messages ;2;
(2) At present GSV Statement number :1;
(3) The total number of visual satellites :08;
(4) Satellite :06;
(5) Elevation (00~90 degree ):33 degree ;
(6) azimuth (000~359 degree ):240 degree ;
(7) Signal-to-noise ratio (00~99dB):45dB( The following is... In turn 10,16,17 Information from satellite );
* Checksum field ;
hh Checksum :78;
(CR)(LF) enter , Line break .
notes : Each statement contains information about up to four satellites , The information of each satellite has four data items , namely :
(4)- Satellite ,(5)- Elevation ,(6)- azimuth ,(7)- Signal-to-noise ratio .
5. $GPGSA,GPS Current satellite information
Its standard format is :
$GPGSA,<1>,<2>,<3>,<3>,,,,,<3>,<3>,<3>,<4>,<5>,<6>,<7>
<1> Pattern :M = Manual , A = Automatically .
<2> Positioning type 1 = Not located , 2 = Two dimensional positioning , 3 = Three dimensional positioning .
<3>PRN Numbers :01 to 32 Table number of satellites in use in the sky , Up to 12 Satellite information .
<4> PDOP Position accuracy factor (0.5~99.9)
<5> HDOP Horizontal accuracy factor (0.5~99.9)
<6> VDOP Vertical precision factor (0.5~99.9)
<7> Checksum.( Check position ).
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/150644.html Link to the original text :https://javaforall.cn
边栏推荐
猜你喜欢

Websocket automatically disconnects in 1 minute

Oceanwide micro fh511 single chip microcomputer IC scheme small household appliances LED lighting MCU screen printing fh511

排序

Align content attribute in flex layout

Mobile web training day-1

How to set auto format after saving code in vscade

How fragrant! The most complete list of common shortcut keys for pychar!

The company leader said that if the personal code exceeds 10 bugs, he will be dismissed. What is the experience?

(原创)【MAUI】一步一步实现“悬浮操作按钮”(FAB,Floating Action Button)

行动诠释价值,城联优品韩董事长出席广东英德抗洪捐赠公益活动会
随机推荐
2022年中国运维安全产品市场规模及发展趋势预测分析
SPI接口简介-Piyu Dhaker
i++ , ++i
Template_ Large integer multiplication
黑苹果安装教程OC引导「建议收藏」
If a programmer goes to prison, will he be assigned to write code?
程序员坐牢了,会被安排去写代码吗?
Jerry's wif interferes with Bluetooth [chapter]
Simple understanding of ThreadLocal
Nature子刊 | 绘制植物叶际菌群互作图谱以建立基因型表型关系
为什么越来越多的用户放弃 Swagger,选择Apifox
恒生电子:金融分布式数据库LightDB通过中国信通院多项测评
Yii2 writing the websocket service of swoole
Recognize the startup function and find the user entry
Why will the new 5g standard bring lower TCO to the technology stack
Websocket automatically disconnects in 1 minute
Mobile web training -flex layout test question 1
Latest summary! 30 provinces announce 2022 college entrance examination scores
[机缘参悟-32]:鬼谷子-抵巇[xī]篇-面对危险与问题的五种态度
Stackoverflow 2022 database annual survey