diff options
author | Julian Oes <julian@oes.ch> | 2014-04-26 23:31:15 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-04-26 23:31:15 +0200 |
commit | e882824ee15e0c5fff58c7f223ec7be181c7af8f (patch) | |
tree | 4822b8c3dd2bdd73b993b9c2be4953c6f2af72bb /src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp | |
parent | e8531e8360e4f061f3cd69db90365f64837a7c76 (diff) | |
download | px4-firmware-e882824ee15e0c5fff58c7f223ec7be181c7af8f.tar.gz px4-firmware-e882824ee15e0c5fff58c7f223ec7be181c7af8f.tar.bz2 px4-firmware-e882824ee15e0c5fff58c7f223ec7be181c7af8f.zip |
eph and epv renaming, make this compile again
Diffstat (limited to 'src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp')
-rw-r--r-- | src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp b/src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp index e5435e843..f47531b26 100644 --- a/src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp +++ b/src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp @@ -1247,7 +1247,6 @@ FixedwingEstimator::task_main() /* local pos alt is negative, change sign and add alt offset */ _global_pos.alt = _local_pos.ref_alt + (-_local_pos.z); - _global_pos.rel_alt = (-_local_pos.z); if (_local_pos.v_z_valid) { _global_pos.vel_d = _local_pos.vz; @@ -1255,8 +1254,8 @@ FixedwingEstimator::task_main() _global_pos.yaw = _local_pos.yaw; - _global_pos.eph = _gps.eph_m; - _global_pos.epv = _gps.epv_m; + _global_pos.eph = _gps.eph; + _global_pos.epv = _gps.epv; _global_pos.timestamp = _local_pos.timestamp; |