aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-02-21 13:22:04 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-02-21 13:22:04 +0100
commitc5311b18fef0e215c019a4686ca9697224d1cd31 (patch)
tree84c35f1b7d97b5d9fe76bc550dc425f17a551b92 /src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp
parent87410b5bde3075603a7615904d1c3d41f5b7fce8 (diff)
downloadpx4-firmware-c5311b18fef0e215c019a4686ca9697224d1cd31.tar.gz
px4-firmware-c5311b18fef0e215c019a4686ca9697224d1cd31.tar.bz2
px4-firmware-c5311b18fef0e215c019a4686ca9697224d1cd31.zip
Build fixes
Diffstat (limited to 'src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp')
-rw-r--r--src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp b/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp
index 2b7cdc118..688a44c47 100644
--- a/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp
+++ b/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp
@@ -172,6 +172,7 @@ private:
perf_counter_t _perf_airspeed; ///<local performance counter for airspeed updates
bool _initialized;
+ bool _gps_initialized;
struct {
float throttle_cruise;
@@ -262,7 +263,8 @@ FixedwingEstimator::FixedwingEstimator() :
_perf_airspeed(perf_alloc(PC_COUNT, "fw_ekf_aspd_upd")),
/* states */
- _initialized(false)
+ _initialized(false),
+ _gps_initialized(false)
{
_parameter_handles.throttle_cruise = param_find("NAV_DUMMY");