我只选择了一个比较简单的GNGLL,还有别的好多格式可以用,可以先在控制台看看哪个格式的信号比较好
$GPGGA |
Global Positioning System Fix Data. It provides 3D location and accuracy data |
$GPGSA |
It provides GPS DOP and active satellites |
$GPGSV |
It provides the detailed information of the GPS satellite |
$GPGLL |
It provides the geographic Latitude and Longitude |
$GPRMC |
It provides the position, velocity and time |
$GPVTG |
It provides the dual ground/water speed |
比如:
$GPGGA, 103005, 3807.038, N, 07128.99030, E, 1, 07, 1.43, 134.5, M, 42.9, M, , *7
- $: This indicates the start of the NMEA sentence
- GPGGA : Global Positioning System Fix Data
- 103005 : This is the UTC time when the data was accessed in HH:MM:SS. In this case the time is 10:30:05 UTC
- 3807.038, N : Latitude 38 degrees 07.038′ N
- 07128.99030, E : Longitude 71 degrees 28.00030′ E
- 1 : GPS fix
- 07 : Number of satellites being tracked
- 1.43 : Horizontal dilution of position
- 134.5, M : This shows the altitude (m) above the sea level
- 42.9, M : Height of geoid (mean sea level)
- Empty field : time in seconds since last DGPS update
- Empty field : DGPS station ID number
- *78 : the checksum data
|