aboutsummaryrefslogtreecommitdiff
path: root/src/modules/att_pos_estimator_ekf
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2014-01-29 16:26:10 +0100
committerAnton Babushkin <anton.babushkin@me.com>2014-01-29 16:26:10 +0100
commitda77ae8ffdb7366ba03995ee8c175968c04ebe45 (patch)
tree193e09cc4517f38ed2d8d3f645925e9dda8a8c2e /src/modules/att_pos_estimator_ekf
parente6f5bc64feea661c232fc116835be0b0202d9192 (diff)
parentb81520cf30b329ad4d52f2197f25bfc5c8f5269f (diff)
downloadpx4-firmware-da77ae8ffdb7366ba03995ee8c175968c04ebe45.tar.gz
px4-firmware-da77ae8ffdb7366ba03995ee8c175968c04ebe45.tar.bz2
px4-firmware-da77ae8ffdb7366ba03995ee8c175968c04ebe45.zip
Merge branch 'beta1' into beta
Diffstat (limited to 'src/modules/att_pos_estimator_ekf')
-rw-r--r--src/modules/att_pos_estimator_ekf/KalmanNav.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/att_pos_estimator_ekf/KalmanNav.cpp b/src/modules/att_pos_estimator_ekf/KalmanNav.cpp
index 83145ac72..668bac5d9 100644
--- a/src/modules/att_pos_estimator_ekf/KalmanNav.cpp
+++ b/src/modules/att_pos_estimator_ekf/KalmanNav.cpp
@@ -314,7 +314,7 @@ void KalmanNav::updatePublications()
// global position publication
_pos.timestamp = _pubTimeStamp;
_pos.time_gps_usec = _gps.timestamp_position;
- _pos.valid = true;
+ _pos.global_valid = true;
_pos.lat = lat * M_RAD_TO_DEG;
_pos.lon = lon * M_RAD_TO_DEG;
_pos.alt = float(alt);