From 9483885ed9f36e8d249a979bddaf7912a8ccf862 Mon Sep 17 00:00:00 2001 From: Mohammed Kabir Date: Sat, 19 May 2018 14:12:50 -0400 Subject: [PATCH] lpe : update for compatibility with new navigation limits architechture --- .../BlockLocalPositionEstimator.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/local_position_estimator/BlockLocalPositionEstimator.cpp b/src/modules/local_position_estimator/BlockLocalPositionEstimator.cpp index e306ec36ae..e21212fbee 100644 --- a/src/modules/local_position_estimator/BlockLocalPositionEstimator.cpp +++ b/src/modules/local_position_estimator/BlockLocalPositionEstimator.cpp @@ -604,8 +604,11 @@ void BlockLocalPositionEstimator::publishLocalPos() //TODO provide calculated values for these _pub_lpos.get().evh = 0.0f; _pub_lpos.get().evv = 0.0f; - _pub_lpos.get().vxy_max = 0.0f; - _pub_lpos.get().limit_hagl = false; + _pub_lpos.get().vxy_max = INFINITY; + _pub_lpos.get().vz_max = INFINITY; + _pub_lpos.get().hagl_min = INFINITY; + _pub_lpos.get().hagl_max = INFINITY; + } }