diff --git a/EKF/ekf.h b/EKF/ekf.h index 93f3507a7f..853859f086 100644 --- a/EKF/ekf.h +++ b/EKF/ekf.h @@ -194,6 +194,9 @@ public: // get the estimated terrain vertical position relative to the NED origin void get_terrain_vert_pos(float *ret); + // get the terrain variance + float get_terrain_var() const { return _terrain_var; } + // get the accerometer bias in m/s/s void get_accel_bias(float bias[3]);