mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 22:13:33 +08:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user