From ef9763fdd7d6ff12dd0eddb191dfaaf43c99d232 Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Thu, 27 Jun 2024 10:39:58 -0300 Subject: [PATCH] AP_GPS: hdop and vdop are unitless --- libraries/AP_GPS/AP_GPS.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_GPS/AP_GPS.h b/libraries/AP_GPS/AP_GPS.h index 25ea5a2f9b..73bf98ab25 100644 --- a/libraries/AP_GPS/AP_GPS.h +++ b/libraries/AP_GPS/AP_GPS.h @@ -201,8 +201,8 @@ public: float gps_yaw; ///< GPS derived yaw information, if available (degrees) uint32_t gps_yaw_time_ms; ///< timestamp of last GPS yaw reading bool gps_yaw_configured; ///< GPS is configured to provide yaw - uint16_t hdop; ///< horizontal dilution of precision in cm - uint16_t vdop; ///< vertical dilution of precision in cm + uint16_t hdop; ///< horizontal dilution of precision, scaled by a factor of 100 (155 means the HDOP value is 1.55) + uint16_t vdop; ///< vertical dilution of precision, scaled by a factor of 100 (155 means the VDOP value is 1.55) uint8_t num_sats; ///< Number of visible satellites Vector3f velocity; ///< 3D velocity in m/s, in NED format float speed_accuracy; ///< 3D velocity RMS accuracy estimate in m/s