gps: add status and integrity information (#2110) #368
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Upstream PR was here: mavlink#2110
Add fields to report resilience and status information from GNSS receivers back to ground control stations for representation in the user interface.
Move the changes to the
GPS_RAW_INT
message into a separate message that supports multiple GNSS receivers. Update the enum values to better support all GNSS receivers.gps(integrity): add RAIM info to
GNSS_INTEGRITY
messagegps(integrity): change
GNSS_INTEGRITY
messageid
field to instancedChange the
id
field on theGNSS_INTEGRITY
message to make use of the instance support in the MAVLink schema.gps(integrity): move integrity message to
development.xml
gps(integrity): add jamming mitigated and spoofing critical
Change the enums for jamming and spoofing so jamming includes a state for mitigated interference and spoofing no longer includes a message for critical spoofing.
gps(integrity): add units to
GNSS_INTEGRITY
RAIM fieldsgps(integrity): add qualitative indicators to
GNSS_INTEGRITY
messageAdd qualitative fields for GNSS signal quality, incoming corrections quality and overall system status. GNSS receivers or drivers can compute these based on other data. They can be useful before takeoff and during flight as a reliable overview of important GNSS components.
Add support for drivers that can't or don't want to provide the quality indicator information
Instead of having implicit invalid values, use the
invalid
attributes. Also add invalid values to the RAIM data as it may not always be supplied or available from receivers.code review - invalid value for uint8 is 255
Apply suggestions from code review
Update message_definitions/v1.0/development.xml