vehicle_global_position remove redundant evh and evv

- vehicle_status_flags condition_global_velocity_valid is also unnecessary
This commit is contained in:
Daniel Agar
2018-03-05 13:20:28 -05:00
parent 03b8cd78b3
commit 458db2e508
7 changed files with 1 additions and 23 deletions
-2
View File
@@ -1051,8 +1051,6 @@ void Ekf2::run()
global_pos.yaw = lpos.yaw; // Yaw in radians -PI..+PI.
_ekf.get_ekf_gpos_accuracy(&global_pos.eph, &global_pos.epv, &global_pos.dead_reckoning);
global_pos.evh = lpos.evh;
global_pos.evv = lpos.evv;
global_pos.terrain_alt_valid = lpos.dist_bottom_valid;