当前位置:网站首页>GPS数据格式的分析与处理[通俗易懂]
GPS数据格式的分析与处理[通俗易懂]
2022-06-28 13:38:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
GPS接收器的输出语句有:GPGGA,GPRMC,GPVTG,GPGSV,
1.$GPGGA,GPS 固定数据输出语句
其标准格式为:
$GPGGA,(1),(2),(3),(4),(5),(6),(7),(8),(9),M,(10),M,(11),(12)*hh(CR)(LF)
以$GPGGA,082006.000,3852.9276,N,11527.4283,E,1,08,1.0,20.6,M,,,,0000*35为例,各个部分的意义如下,
(1) 定位UTC 时间:08 时20 分06 秒
(2) 纬度(格式ddmm.mmmm:即dd 度,mm.mmmm 分);
(3) N/S(北纬或南纬):北纬38 度52.9276 分;
(4) 经度(格式dddmm.mmmm:即ddd 度,mm.mmmm 分);
(5) E/W(东经或西经):东经115 度27.4283 分;
(6) 质量因子(0=没有定位,1=实时GPS,2=差分GPS):1=实时GPS;
(7) 可使用的卫星数(0~8):可使用的卫星数=08;
(8) 水平精度因子(1.0~99.9);水平精度因子=1.0;
(9) 天线高程(海平面,-9999.9~99999.9,单位:m);天线高程=20.6m);
(10) 大地椭球面相对海平面的高度(-999.9~9999.9,单位:m):无;
(11) 差分GPS 数据年龄,实时GPS 时无:无;
(12) 差分基准站号(0000~1023),实时GPS 时无:无;
*总和校验域;hh 总和校验数:35(CR)(LF)回车,换行。
2. $GPRMC,GPS推荐定位信息
其标准格式为:
$GPRMC,<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>,<10>,<11><CR><LF>
以$GPRMC,082006.000,A,3852.9276,N,11527.4283,E,0.00,0.0,261009,,*38为例,各个部分的语义如下,
(1) 标准定位时间(UTC time)格式:时时分分秒秒.秒秒秒(hhmmss.sss)。
(2) 定位状态,A = 数据可用,V = 数据不可用。
(3) 纬度,格式:度度分分.分分分分(ddmm.mmmm)。
(4) 纬度区分,北半球(N)或南半球(S)。
(5) 经度,格式:度度分分.分分分分。
(6) 经度区分,东(E)半球或西(W)半球。
(7) 相对位移速度, 0.0 至1851.8 knots
(8) 相对位移方向,000.0 至359.9 度。实际值。
(9) 日期,格式:日日月月年年(ddmmyy)。
(10) 磁极变量,000.0 至180.0。
(11) 度数。
(12) Checksum.(检查位)
3. $GPVTG,GPS地面速度信息
其标准格式为:
$GPVTG,<1>,T,<2>,M,<3>,N,<4>,K,<5>*hh
以$GPVTG,0.0,T,,M,0.00,N,0.0,K*50为例,各部分语义如下,
<1> 以真北为参考基准的地面航向(000~359度,前面的0也将被传输)
<2> 以磁北为参考基准的地面航向(000~359度,前面的0也将被传输)
<3> 地面速率(000.0~999.9节,前面的0也将被传输)
<4> 地面速率(0000.0~1851.8公里/小时,前面的0也将被传输)
<5> 模式指示(仅NMEA0183 3.00版本输出,A=自主定位,D=差分,E=估算,N=数据无效)
4. $GPGSV,GPS可视卫星状态输出语句
其标准格式为:
$GPGSV,(1),(2),(3),(4),(5),(6),(7),…(4),(5),(6),(7)*hh(CR)(LF)
以$GPGSV,2,1,08,06,33,240,45,10,36,074,47,16,21,078,44,17,36,313,42*78 为例,各部分语义如下,
(1)总的GSV语句电文数;2;
(2)当前GSV语句号:1;
(3)可视卫星总数:08;
(4)卫星号:06;
(5)仰角(00~90度):33度;
(6)方位角(000~359度):240度;
(7)信噪比(00~99dB):45dB(后面依次为第10,16,17号卫星的信息);
*总和校验域;
hh 总和校验数:78;
(CR)(LF)回车,换行。
注:每条语句最多包括四颗卫星的信息,每颗卫星的信息有四个数据项,即:
(4)-卫星号,(5)-仰角,(6)-方位角,(7)-信噪比。
5. $GPGSA,GPS 当前卫星信息
其标准格式为:
$GPGSA,<1>,<2>,<3>,<3>,,,,,<3>,<3>,<3>,<4>,<5>,<6>,<7>
<1>模式 :M = 手动, A = 自动。
<2>定位型式 1 = 未定位, 2 = 二维定位, 3 = 三维定位。
<3>PRN 数字:01 至 32 表天空使用中的卫星编号,最多可接收12颗卫星信息。
<4> PDOP位置精度因子(0.5~99.9)
<5> HDOP水平精度因子(0.5~99.9)
<6> VDOP垂直精度因子(0.5~99.9)
<7> Checksum.(检查位).
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/150644.html原文链接:https://javaforall.cn
边栏推荐
- Hisilicon 35xx realizes gt911 touch screen function "suggestions collection"
- RK3399平台开发系列讲解(使用篇)Pinctrl子系统的介绍 - 视频介绍
- Visual design tutorial of word cloud
- Is it safe for Huatai Securities to open an account? Is there any risk in opening an account
- 3、项目的整体UI架构
- Oracle cloud infrastructure extends distributed cloud services to provide organizations with greater flexibility and controllability
- Mobile web training day-2
- Professional English calendar questions
- Centos7: switch MySQL users and log in to MySQL
- Latest summary! 30 provinces announce 2022 college entrance examination scores
猜你喜欢
![(original) [Maui] realize](/img/76/d79b9cf4ed44870bb20a189315def9.jpg)
(original) [Maui] realize "floating action button" step by step

Jupyter notebook中添加虚拟环境

1015. picking flowers

Fs7022 scheme series fs4059a dual two lithium battery series charging IC and protection IC

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

公司领导说,个人代码超10个Bug就开除,是什么体验?

Fh511+tp4333 form an outdoor mobile power lighting camping lamp scheme.

程序员坐牢了,会被安排去写代码吗?

PostgreSQL超越MySQL

Why do more and more users give up swagger and choose apifox
随机推荐
PHP根据年月获取月初月末时间
Resume template Baidu online disk
Hang Seng Electronics: lightdb, a financial distributed database, has passed a number of evaluations by China Academy of communications technology
(原创)【MAUI】一步一步实现“悬浮操作按钮”(FAB,Floating Action Button)
MySQL多表联合查询
My hematemesis collection integrates script teaching from various classic shell books. As Xiaobai, come quickly
新品体验:阿里云新一代本地SSD实例i4开放公测
再談exception——异常拋出時會發生什麼?
CodeBlocks MinGW installation configuration problem
How does Quanzhi v853 chip switch sensors on Tina v85x platform?
药物发现新方法,阿斯利康团队通过课程学习改进从头分子设计
为什么越来越多的用户放弃 Swagger,选择Apifox
Oracle cloud infrastructure extends distributed cloud services to provide organizations with greater flexibility and controllability
Class structure in C language - dot
Zhongang mining focuses on the fluorine chemical industry and lays out the new energy industry chain
Jupyter notebook中添加虚拟环境
腾讯云国际云服务器登录之后没有网络,如何排查?
Hisilicon 35xx realizes gt911 touch screen function "suggestions collection"
Google Earth engine (GEE) - Global organic soil area of FAO (1992-2018)
RSLO:自监督激光雷达里程计(实时+高精度,ICRA2022)