aboutsummaryrefslogtreecommitdiff
path: root/src/modules/att_pos_estimator_ekf
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2014-01-28 20:40:05 +0100
committerAnton Babushkin <anton.babushkin@me.com>2014-01-28 20:40:05 +0100
commit6a1a29f77ecc9ded341bfbca037c9a6768ed3fb4 (patch)
tree0a011a39651787dd6df2ad105bf619f09e2e3ac6 /src/modules/att_pos_estimator_ekf
parent48f1b7e1c77a66973c6bb847290018531a99503c (diff)
downloadpx4-firmware-6a1a29f77ecc9ded341bfbca037c9a6768ed3fb4.tar.gz
px4-firmware-6a1a29f77ecc9ded341bfbca037c9a6768ed3fb4.tar.bz2
px4-firmware-6a1a29f77ecc9ded341bfbca037c9a6768ed3fb4.zip
global_position topic: added baro_alt, mc_pos_control: SEATBELT mode fixed, use baro/AMSL alt
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 8e88130e1..7f0dd9219 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 = getLatDegE7();
_pos.lon = getLonDegE7();
_pos.alt = float(alt);