vehicle_local_position: delete unused and redundant dist_bottom_rate

This commit is contained in:
Daniel Agar
2020-01-18 12:50:57 -05:00
committed by GitHub
parent 98f0ba33d2
commit c270e75156
3 changed files with 0 additions and 4 deletions
-2
View File
@@ -1327,8 +1327,6 @@ void Ekf2::Run()
_ekf.set_gnd_effect_flag(false);
}
lpos.dist_bottom_rate = -lpos.vz; // Distance to bottom surface (ground) change rate
_ekf.get_ekf_lpos_accuracy(&lpos.eph, &lpos.epv);
_ekf.get_ekf_vel_accuracy(&lpos.evh, &lpos.evv);