question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error in RMC parsing

See original GitHub issue

My device (Ublox ZED-F9P) submits an empty course value when the device is stationary, for example:

['GNRMC', '051003.00', 'A', '100', 'N', '100', 'E', '0.124', '', '080122', '', '', 'A', 'V']

which fact invalidates current parser here:

https://github.com/peterhinch/micropython-async/blob/c10a5c214c65e3a2a8c26f6685818dd3a53cac0b/v3/as_drivers/as_GPS/as_GPS.py#L328

I do not know what is your favourite solution to that so I am not submitting a pull request, but it should be fixed in some way 😃

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
romeocontrolcommented, Jan 8, 2022

Hallo, heading and course are different! A gps-unit can only calculate a course, when it is moving. No move no course. And it can not calculate a heading. It is correct, not to send a course, when not moving. Or if the speed os zero, then the course is not usable. Greetings romeotango

Am 08.01.2022 um 11:19 schrieb ᎠᎡ. Ѕϵrgϵ Ѵictor @.***>:

I’ve noticed it before but I do not see a problem with heading 0 if stationary. It really does not matter whilst parsing the file later.

— Reply to this email directly, view it on GitHub https://github.com/peterhinch/micropython-async/issues/71#issuecomment-1007946562, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEI5EA4OJIAXHGLX4E6YTPLUVAFULANCNFSM5LQG5RYA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.

0reactions
sercommented, Jan 9, 2022

We do not have any other data than content of GNRMC message. What I am working on currently is to have no value which would work with other parts of the code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FS#2211 : RMC parser bug: new fields at end of sentence ...
There is an error in parsing "newer" RMC sentences. Apparently the RMC parser balks about any new fields introduced in NMEA V3.0 and...
Read more >
Parsing GPS valid status in RMC bug #19 - GitHub
and the library is parsing the status as invalid. It has problem with the decimal point in the UTC time. The UTC time...
Read more >
GPS RMC and pvt parsing - Nordic Q&A
My question, do the pvt parsing take into account RMC sentences when the trigger for the GPS handler is FIX, or do I...
Read more >
PI28819: NEITHER SEARCH NOR RMC FEEDS WORK ... - IBM
When I host an RMC-generated war file on the RTC 5.0.1 tomcat server, and then try to access feeds from it, I get...
Read more >
NMEA-0183 Messages Guide for AgGPS Receivers
Trimble recommends comma delimited parsing. B.3 NMEA Message Summary. Table 3 describes the NMEA-0183 message set that is supported by the AgGPS receivers....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found