From b2d4f31bcd08f5b380ef5f4a2286465d4077cd1d Mon Sep 17 00:00:00 2001 From: PX4BuildBot Date: Wed, 30 Sep 2026 23:26:29 +0000 Subject: [PATCH] docs: auto-sync metadata [skip ci] Co-Authored-By: PX4 BuildBot --- docs/en/msg_docs/VehicleGnss.md | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/docs/en/msg_docs/VehicleGnss.md b/docs/en/msg_docs/VehicleGnss.md index b83d4066a01..28401ba2729 100644 --- a/docs/en/msg_docs/VehicleGnss.md +++ b/docs/en/msg_docs/VehicleGnss.md @@ -6,21 +6,23 @@ pageClass: is-wide-page Selected GNSS solution. -Published by the sensors module for every sample of the selected receiver, usable or not, with the check result for that sample. +Published by the sensors module for every sample of the selected receiver, usable or not, with the selection state and the check result for that sample. Heading is on vehicle_gnss_heading. **TOPICS:** vehicle_gnss ## Fields -| Name | Type | Unit [Frame] | Range/Enum | Description | -| ------------------------------------------------- | ------------ | ------------ | --------------- | ------------------------------------------------------------------------------------------------------------- | -| timestamp | `uint64` | us | | Time since system start | -| timestamp_sample | `uint64` | us | | Measurement time, delay corrected. Use this rather than receiver.timestamp_sample, which holds the same value | -| receiver | `SensorGnss` | | | The selected receiver's sensor_gnss sample with the corrected timestamp_sample | -| antenna_offset | `float32[3]` | m [FRD] | | Antenna position of the selected receiver | -| usable | `bool` | | | Sample may be used: the receiver has passed its checks for long enough | -| failed_checks | `uint16` | | [CHECK](#CHECK) | Bitmask of the enabled checks that failed | +| Name | Type | Unit [Frame] | Range/Enum | Description | +| --------------------------------------------------- | ------------ | ------------ | --------------- | ------------------------------------------------------------------------------------------------------------- | +| timestamp | `uint64` | us | | Time since system start | +| timestamp_sample | `uint64` | us | | Measurement time, delay corrected. Use this rather than receiver.timestamp_sample, which holds the same value | +| receiver | `SensorGnss` | | | The selected receiver's sensor_gnss sample with the corrected timestamp_sample | +| antenna_offset | `float32[3]` | m [FRD] | | Antenna position of the selected receiver | +| selected_instance | `uint8` | | | sensor_gnss instance of the selected receiver | +| selection_count | `uint8` | | | Increments when the selected receiver changes | +| usable | `bool` | | | Sample may be used: the receiver has passed its checks for long enough | +| failed_checks | `uint16` | | [CHECK](#CHECK) | Bitmask of the enabled checks that failed | ## Enums @@ -52,7 +54,7 @@ Used in field(s): [failed_checks](#fld_failed_checks) ```c # Selected GNSS solution # -# Published by the sensors module for every sample of the selected receiver, usable or not, with the check result for that sample. +# Published by the sensors module for every sample of the selected receiver, usable or not, with the selection state and the check result for that sample. # Heading is on vehicle_gnss_heading. uint64 timestamp # [us] Time since system start @@ -62,6 +64,10 @@ SensorGnss receiver # The selected receiver's sensor_gnss sample with the correc float32[3] antenna_offset # [m] [@frame FRD] Antenna position of the selected receiver +# Selection state +uint8 selected_instance # [-] sensor_gnss instance of the selected receiver +uint8 selection_count # [-] Increments when the selected receiver changes + # Check result for this sample bool usable # Sample may be used: the receiver has passed its checks for long enough uint16 failed_checks # [@enum CHECK] Bitmask of the enabled checks that failed