diff --git a/EKF/ekf.h b/EKF/ekf.h index 9f2060f17e..2426b9b4a3 100644 --- a/EKF/ekf.h +++ b/EKF/ekf.h @@ -118,7 +118,7 @@ public: bool get_ekf_origin(uint64_t *origin_time, map_projection_reference_s *origin_pos, float *origin_alt); // get the 1-sigma horizontal and vertical position uncertainty of the ekf WGS-84 position - void get_ekf_accuracy(float *ekf_eph, float *ekf_epv, bool *dead_reckoning); + void get_ekf_gpos_accuracy(float *ekf_eph, float *ekf_epv, bool *dead_reckoning); void get_vel_var(Vector3f &vel_var); diff --git a/EKF/ekf_helper.cpp b/EKF/ekf_helper.cpp index 5e04e2cd22..b454727ab9 100644 --- a/EKF/ekf_helper.cpp +++ b/EKF/ekf_helper.cpp @@ -722,7 +722,7 @@ void Ekf::get_imu_vibe_metrics(float vibe[3]) } // get the 1-sigma horizontal and vertical position uncertainty of the ekf WGS-84 position -void Ekf::get_ekf_accuracy(float *ekf_eph, float *ekf_epv, bool *dead_reckoning) +void Ekf::get_ekf_gpos_accuracy(float *ekf_eph, float *ekf_epv, bool *dead_reckoning) { // report absolute accuracy taking into account the uncertainty in location of the origin // If not aiding, return 0 for horizontal position estimate as no estimate is available diff --git a/EKF/estimator_interface.h b/EKF/estimator_interface.h index 77fe746cc2..8c340e93e8 100644 --- a/EKF/estimator_interface.h +++ b/EKF/estimator_interface.h @@ -130,7 +130,7 @@ public: virtual bool get_ekf_origin(uint64_t *origin_time, map_projection_reference_s *origin_pos, float *origin_alt) = 0; // get the 1-sigma horizontal and vertical position uncertainty of the ekf WGS-84 position - virtual void get_ekf_accuracy(float *ekf_eph, float *ekf_epv, bool *dead_reckoning) = 0; + virtual void get_ekf_gpos_accuracy(float *ekf_eph, float *ekf_epv, bool *dead_reckoning) = 0; // ask estimator for sensor data collection decision and do any preprocessing if required, returns true if not defined virtual bool collect_gps(uint64_t time_usec, struct gps_message *gps) { return true; }