Skip to content

GPS: Invalidate NMEA messages based on GLL and RMC status flags #26

Description

@ETSells

Describe the solution you'd like
As-is, we overwrite fields in the GPS_DATA struct every time we receive a new message that contains that field. However, some NMEA messages have status fields that tell us whether or not the data from that module should be factored in.

Depending on these status fields, we should discard the data certain messages that come in, and then save just the status flag in the GPS_DATA struct. This ensures that we're never broadcasting an invalid coordinate after our first fix--we'll always just have the most recent valid coordinate (if applicable) in the SENSOR_DATA struct.

Points of Contact
FC Rev 2 Project Lead: @NArmistead
GPS SME: @ETSells

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

Status
Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions