mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-02 14:30:59 +08:00
docs(msg): keep implementation details out of the GNSS message comments (#28932)
Message comments describe the message and its fields. These named parameters, a threshold and the logic of the code that fills or reads them, which goes stale when that code changes. Assisted-by: Claude:claude-fable-5-1
This commit is contained in:
1 parent
d251f4dd89
commit
df34662110
5 files changed
+7
-9
No files matched your search
@@ -62,4 +62,4 @@ bool navigator_failure # Navigator failed to execute a mode
|
||||
bool parachute_unhealthy # Parachute system missing or unhealthy
|
||||
bool traffic_avoidance_unhealthy # Traffic avoidance (ADS-B/FLARM) system missing or unhealthy
|
||||
bool remote_id_unhealthy # Remote ID (Open Drone ID) system missing or unhealthy
|
||||
bool gnss_lost # Active GNSS count dropped below SYS_HAS_NUM_GNSS, or two receivers report inconsistent positions
|
||||
bool gnss_lost # Fewer GNSS receivers are healthy than required, or two receivers report inconsistent positions
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
uint64 timestamp # time since system start (microseconds) at PPS capture event
|
||||
uint64 rtc_timestamp # Corrected GPS UTC timestamp at PPS capture event
|
||||
uint8 pps_rate_exceeded_counter # Increments when PPS dt < 50ms
|
||||
uint8 pps_rate_exceeded_counter # Count of PPS pulses that arrived too soon after the previous one
|
||||
+1
-2
@@ -4,8 +4,7 @@
|
||||
#
|
||||
# rtcm_corrections - external fixed-base corrections fed into the vehicle (MAVLink
|
||||
# GPS_RTCM_DATA, UAVCAN RTCMStream, GPS drivers in dump mode). Multiple
|
||||
# sources are allowed, one uORB instance each; consumers select an instance
|
||||
# via their stale-link logic.
|
||||
# sources are allowed, one uORB instance each; consumers select one instance.
|
||||
#
|
||||
# rtcm_moving_baseline - moving-base GPS output (RTCM 4072 or equivalent) intended for a rover.
|
||||
# Single publisher per vehicle (on-board moving base, or a CANnode
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# GNSS spectrum analysis
|
||||
#
|
||||
# Reports a basic RF spectrum analysis for a GNSS receiver, decoded from the u-blox UBX-MON-SPAN
|
||||
# message (enabled via the GPS_UBX_SPECTRUM parameter).
|
||||
# Reports a basic RF spectrum analysis for a GNSS receiver, decoded from the u-blox UBX-MON-SPAN message.
|
||||
# Published by the `gps` driver (UBX protocol only), once per RF block, via the block-specific topics below.
|
||||
# The center frequency of bin i is: f(i) = center_frequency + spectrum_span * (i - 127) / 256
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# GNSS heading from a dual-antenna or moving-baseline receiver, published by the sensors module from sensor_gnss_relative.
|
||||
# Only headings whose reported baseline matches the configured SENS_GNSSn_HDG baseline are published. Consumed by EKF2
|
||||
# independently from position/velocity.
|
||||
# GNSS heading from a dual-antenna or moving-baseline receiver
|
||||
#
|
||||
# Published by the sensors module from sensor_gnss_relative. Consumed by EKF2 independently from position and velocity.
|
||||
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
uint64 timestamp_sample # time since system start (microseconds) - actual measurement time
|
||||
|
||||
Reference in new issue
Block a user