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

read_gps_data.c为什么一直waiting for fix...? #1

Open
daniel0720 opened this issue Jan 11, 2024 · 0 comments
Open

read_gps_data.c为什么一直waiting for fix...? #1

daniel0720 opened this issue Jan 11, 2024 · 0 comments

Comments

@daniel0720
Copy link

gpsd版本3.22,使用gpsfake模拟gps数据,gpsfake -D3 -t -S nmea.log
按照read_gps_data.c源代码,读取gps数据,gps_data.fix.status一直是0,为什么呢?nmea.log中的数据已经是fix过后的数据了,以下是一段gps数据,GNGGA的第7个字段是1,表示fix过后了
$GNGGA,104006.000,5136.9209,N,00011.1120,W,1,9,1.17,83.4,M,47.0,M,,60
$GPGSA,A,3,04,09,19,11,06,,,,,,,,1.43,1.17,0.83
0B
$GLGSA,A,3,68,69,85,78,,,,,,,,,1.43,1.17,0.8317
$GNRMC,104006.000,A,5136.9209,N,00011.1120,W,0.00,191.54,161022,,,A
6E
$GNZDA,104006.000,16,10,2022,,4F
$GPGRS,104006.000,1,-9.50,-1.69,-17.7,-2.85,-10.3,-0.54,4.08,-0.79,3.41,,,45
$GPGST,104006.000,6.3,8.8,2.8,16.0,8.5,3.6,23
7B
$GNGGA,104007.000,5136.9209,N,00011.1120,W,1,9,1.17,83.4,M,47.0,M,,61
$GPGSA,A,3,04,09,19,11,06,,,,,,,,1.43,1.17,0.83
0B
$GLGSA,A,3,68,69,85,78,,,,,,,,,1.43,1.17,0.83
17
$GNRMC,104007.000,A,5136.9209,N,00011.1120,W,0.00,191.54,161022,,,A*6F
$GNZDA,104007.000,16,10,2022,,*4E
$GPGRS,104007.000,1,0.87,-1.94,-18.0,-1.19,-11.9,-0.18,3.93,-1.62,7.08,,,62
$GPGST,104007.000,6.3,9.0,3.0,15.6,8.7,3.8,23
73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant