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
@@ -604,7 +604,6 @@ void BlockLocalPositionEstimator::publishLocalPos()
_pub_lpos.get().ref_lon = _map_ref.lon_rad * 180 / M_PI;
_pub_lpos.get().ref_alt = _altOrigin;
_pub_lpos.get().dist_bottom = _aglLowPass.getState();
_pub_lpos.get().dist_bottom_rate = -xLP(X_vz);
// we estimate agl even when we don't have terrain info
// if you are in terrain following mode this is important
// so that if terrain estimation fails there isn't a