ekf: use PDOP instead of GDOP as the TDOP (part of GDOP) is usually not available

PDOP is the position dillution of precision and is given by sqrt(VDOP^2+HDOP^2)
This commit is contained in:
bresch
2019-11-25 17:18:40 -05:00
committed by Kabir Mohammed
parent 362a2dfa08
commit 6b5f011bc2
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ class EkfInitializationTest : public ::testing::Test {
_gps_message.vel_ned[2] = 0.0f;
_gps_message.vel_ned_valid = 1;
_gps_message.nsats = 16;
_gps_message.gdop = 0.0f;
_gps_message.pdop = 0.0f;
update_with_const_sensors(_init_duration_us);