From 341f8962d23ac5cd17297dc72952db0d6c284664 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Wed, 14 Mar 2018 16:41:09 -0400 Subject: [PATCH] EKF interface add get_wind_status() (#406) --- EKF/estimator_interface.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/EKF/estimator_interface.h b/EKF/estimator_interface.h index 06c9a7dfd5..eefdee15bb 100644 --- a/EKF/estimator_interface.h +++ b/EKF/estimator_interface.h @@ -208,6 +208,9 @@ public: // get vehicle landed status data bool get_in_air_status() {return _control_status.flags.in_air;} + // get wind estimation status + bool get_wind_status() { return _control_status.flags.wind; } + // set vehicle is fixed wing status void set_is_fixed_wing(bool is_fixed_wing) {_control_status.flags.fixed_wing = is_fixed_wing;}