uavcan: gnss.quality#26438
Closed
dakejahl wants to merge 5 commits into
Closed
Conversation
|
Contributor
🔎 FLASH Analysispx4_fmu-v5x [Total VM Diff: 1728 byte (0.08 %)]px4_fmu-v6x [Total VM Diff: 1752 byte (0.09 %)]Updated: 2026-02-09T10:14:29 |
Drop fix_quality (u8, 0-100) from SensorGps.msg and route the four abstract quality metrics (corrections, receiver summary, gnss signal, post-processing) through sensor_gnss_status (u8, 0-10, 255 = N/A) — matching MAVLink GNSS_INTEGRITY (id 441). - Bridge publishes sensor_gnss_status on incoming Quality messages. - uavcannode GnssQuality publisher reads the four quality fields from sensor_gnss_status while continuing to trigger on sensor_gps. - Submodule bumps for DSDL and PX4-GPSDrivers.
Contributor
|
Hi @dakejahl, This is test data for CUAV NEO 4SE with DroneCAN gnss.quality. |
Contributor
Author
|
Going to revisit this once I submit the MAVLink RFC for a general GNSS overhaul between MAVLink and DroneCAN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.





Summary
Integrate the new
uavcan.equipment.gnss.QualityDSDL message (dronecan/DSDL#77) into PX4, routing signal quality, interference, and antenna state from DroneCAN GNSS nodes intosensor_gps+sensor_gnss_status, and republishing PX4's internal state outward for PX4-as-GNSS-node use.Changes
sensor_gpsextensions (msg/SensorGps.msg)diff_ageu16 — differential correction age [s]. 0xFFFF = N/A.antenna_statusu8 — UNKNOWN / INIT / OK / SHORT / OPEN.antenna_poweru8 — UNKNOWN / OFF / ON.SYSTEM_ERROR_*enum values extended.Integrity metrics (
corrections_quality,system_status_summary,gnss_signal_quality,post_processing_quality) stay onsensor_gnss_statusto align with MAVLinkGNSS_INTEGRITY(id 441).UAVCAN bridge (
src/drivers/uavcan/sensors/gnss.{cpp,hpp})Subscribes to
uavcan.equipment.gnss.Quality. Fillsnoise_per_ms,automatic_gain_control,jamming_*,spoofing_state,authentication_state,diff_age,antenna_*,system_erroronsensor_gps, and publishes the four 0-10 integrity metrics onsensor_gnss_status(which feeds MAVLinkGNSS_INTEGRITY).UAVCAN node publisher (
src/drivers/uavcannode/Publishers/GnssQuality.hpp)Broadcasts
Qualityon DroneCAN at thesensor_gpsupdate rate. Reads the four 0-10 quality metrics fromsensor_gnss_status; defaults to 255 (N/A) if unavailable.Submodule bumps
src/drivers/uavcan/libdronecan/dsdl→ adds1064.Quality.uavcansrc/drivers/gps/devices→ u-blox driver populates the new fieldsRelated
Qualitymessage: gnss.quality dronecan/DSDL#77